-
-
Notifications
You must be signed in to change notification settings - Fork 637
fix issue: transparentgif #174
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
base: main
Are you sure you want to change the base?
Conversation
…ns, but options were provided: shortest=1."
Rahul-1100
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deadlock occurs due to one less frame present, hence if total_frame = total_frame -1, will solve the issue
|
Thank you for this submission! I've reviewed your PR and found the following: ✅ Already Fixed: alphamerge=shortest IssueThe ❓ Needs Verification: Framerate DecrementYour second fix adds Questions:
The framerate decrement seems like a workaround rather than addressing the root cause. If this is still an issue, I'd like to understand:
Please test against the current |
nadermx
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! A few observations:
-
The
alphamerge=shortest=1removal is already in main - Looking at the current codebase, this fix was already applied. The current code usesalphamergewithout theshortest=1option. -
Concern about
framerate = framerate - 1- This change seems like a workaround that could cause issues:- It would change the actual framerate of output videos
- A video detected at 30fps would be processed at 29fps
- This could cause A/V sync issues or stuttering
Can you explain what issue the framerate decrement is solving? Is there a specific error message or behavior you're trying to fix?
The -shortest flag on the ffmpeg command should handle any mismatch between the main video and matte durations.
FFMEG frame can cause frame mismatch with that of moviepy due to different frames calculation hence sticking with moviepy frames as later moviepy is used to yield frames
|
also regarding, alpamerge=shortest=1, yes it was working using latest branch |
Removes unnecessary 'shortest=1' option. The filter works correctly without it, which resolves the 'options were provided' error.