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

BugFix: Fix the alignment of audio duration and video duration after concatenate_videoflips #2201

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zyw241
Copy link

@zyw241 zyw241 commented Jul 10, 2024

When I use concatenate_videoclips to concatenate my video clips, I find that the concatenated clip's duration property does not align with its audio's duration property when the last video clip to be concatenated has no audio. This will cause much error when using the concatenated clip after, such as clip.subclip will report an ValueError. So I modify the code in concatenate_videoclips to set the audio's duration align with video's duration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant