Skip to content
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

Freezing movie frame on last frame or end #1307

Closed
etherrawr opened this issue Sep 1, 2020 · 0 comments · Fixed by #1461
Closed

Freezing movie frame on last frame or end #1307

etherrawr opened this issue Sep 1, 2020 · 0 comments · Fixed by #1461
Labels
bug Issues that report (apparent) bugs. video Related to VideoClip and related classes, or handling of video in general.

Comments

@etherrawr
Copy link

This code freezes the first frame at the end but it should freeze the last frame at the end?

from moviepy.editor import *

mainclip = (VideoFileClip("C:/Users/Admin/Videos/ukulele.mp4")
            .fx( vfx.freeze, t='end', freeze_duration=2))

final = CompositeVideoClip([mainclip])
final.write_videofile("ukulele.mp4",fps=24,codec='libx264')

Expected Behavior

freeze the last frame at the end

Actual Behavior

freezes the first frame at the end

Steps to Reproduce the Problem

Specifications

  • Python Version: 3.8.5
  • Moviepy Version: 1.0.3
  • Windows10
@etherrawr etherrawr added the bug Issues that report (apparent) bugs. label Sep 1, 2020
@keikoro keikoro added the video Related to VideoClip and related classes, or handling of video in general. label Oct 6, 2020
jkolbly added a commit to jkolbly/moviepy that referenced this issue Oct 7, 2020
jkolbly added a commit to jkolbly/moviepy that referenced this issue Oct 7, 2020
jkolbly added a commit to jkolbly/moviepy that referenced this issue Oct 7, 2020
This reverts commit 22b47aa. It was pushed to the wrong branch.
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. video Related to VideoClip and related classes, or handling of video in general.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants