Skip to content

Slidin and slidout together doesn't work #2385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DIYEmbedded opened this issue Mar 1, 2025 · 2 comments
Open

Slidin and slidout together doesn't work #2385

DIYEmbedded opened this issue Mar 1, 2025 · 2 comments
Labels
bug Issues that report (apparent) bugs.

Comments

@DIYEmbedded
Copy link

DIYEmbedded commented Mar 1, 2025

Expected Behavior

Image should slidin and slideout

Actual Behavior

either slidin or slideout work, both doesn't work together

Specifications

  • Python Version: 3.11.10
  • MoviePy Version:2.1.2
  • Platform Name: Windows 11
  • Platform Version: 24H2
@DIYEmbedded DIYEmbedded added the bug Issues that report (apparent) bugs. label Mar 1, 2025
@DIYEmbedded
Copy link
Author

code is

from moviepy import VideoFileClip, TextClip, ImageClip, CompositeVideoClip, vfx

img_clip = ImageClip("img4.jpg", duration=(5.0))
img_clip = img_clip.with_start(0)
img_clip = img_clip.resized([1280,720])

@alvarofranz
Copy link

I confirm the bug, when applying the SlideIn and SlideOut effect to the same clip, only one works.

Doing:

effects_list.append(vfx.SlideIn(SLIDE_DUR, "left"))
effects_list.append(vfx.SlideOut(SLIDE_DUR, "right"))
clip = (ImageClip(img_file)
                .with_duration(total_scene_duration)
                .with_effects(effects_list)
                .with_start(start_t))

Python Version: 3.13.2
MoviePy Version: 2.1.2
OS: MacOs Sequoia 15.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues that report (apparent) bugs.
Projects
None yet
Development

No branches or pull requests

2 participants