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

Video Remixer: optimize resequencing of files #343

Merged
merged 4 commits into from
Oct 12, 2024
Merged

Conversation

jhogsett
Copy link
Owner

@jhogsett jhogsett commented Oct 10, 2024

Background: FFmpeg has specific requirements for using an image sequence as input, for example, the filenames must have a common root, they must have sequential zero-filled integer indexes, and the first one must be 0 or 1.

Video Remixer often resequences frame files to ensure FFmpeg can read them, for instance, to create thumbnails. Often this is not needed due to the files already being in the proper sequence.

This adds a check to ResequenceFiles to test if the files already met FFmpeg requirements. If so, the resequencing is skipped.

@jhogsett jhogsett changed the title skip a resequence rename if the files are properly indexed Video Remixer: optimize resequencing of files Oct 12, 2024
@jhogsett jhogsett marked this pull request as ready for review October 12, 2024 15:21
@jhogsett jhogsett merged commit a4f5113 into main Oct 12, 2024
2 checks passed
@jhogsett jhogsett deleted the skip-resequence branch October 12, 2024 15:22
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