-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Inconsistent duration for composite output #2148
Labels
bug
Issues that report (apparent) bugs.
Comments
It is due to incorrect reporting of audio length by ffmpeg. This causes moviepy to read frame outside of the audio which results in artifact being added towards the end of the audio. I fixed this issue by taking subclip of the audio file by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The generated audio appears to be padded with the last few points of the source audio, even if no operations are performed on it.
Expected Behavior
CompositeAudioClip
orCompositeVideoClip
should generate output with consistent duration if no operation related to duration editting is made.Actual Behavior
The duration of
CompositeAudioClip
generate a longer duration than input file.Steps to Reproduce the Problem
random.mp4
Generated duration are longer than source audio.
Specifications
The text was updated successfully, but these errors were encountered: