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

When --overwrite is enabled, the final movie can contain unrequested frames #1

Open
Sbozzolo opened this issue Apr 6, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Sbozzolo
Copy link
Owner

Sbozzolo commented Apr 6, 2021

At the moment, ffmpeg uses a glob pattern to file which frames to include. This can lead to glitches when the --overwrite flag is enable and files that match that glob pattern were already present in the directory (but not overwritten).

Consider the case the output directory has files 0.png, 1.png, 2.png, and, with our choice, we only produce and overwrite only 1.png (e.g., by setting --frames-every). The final movie will contains frames it shouldn't.

A possible bug fix is to avoid using glob patterns but provide the list of the input files explicitly.

@Sbozzolo Sbozzolo added the bug Something isn't working label Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant