v1.0:
- Add header information, including version (with v1.0 as the current starting point)
- Remove `ext-in` as an argument. It now automatically only runs on mkv, m2ts, or files with a `video` mimetype.
- Improve filename grabbing
- Update information on given clip: now includes filename, dimensions, framerate, format, and mimetype (if known)
- Properly make it only look for m2ts *files*
- Sort arguments for consistency purposes
- --check_exists is now False by default, as it is not expected that the user will be running this over a directory that it was run in before
generate_keyframes:
* "check_exists" checks if a keyframe file already exists. Default is "True". You can set it to "False" by setting -C.
* Minor refactoring. Deleting indexing files is now a one-liner (but still works if if-else, basically).
* Remove the "Done." when a keyframe file is done being generated. It will just move on to the next file now. Instead it will now say it's done when all the keyframe files are done being generated.
Thanks to begna for rewriting parts of it!
Changelog:
* Remove unnecessary 'dependencies' from list
* Add a "no-header" mode. Removes header from keyframe file, which is only used by Aegisub.
* Move bitdepth conversion to generate_keyframes function.
* Add total framecount to the progress bar
* Remove out_path in generate_keyframes
* Add -F: allows you to input a file for generating, rather than having loop through the entire directory (and sub-directories)
* Add linebreak after the first print
* Remove extension in final keyframe filename
* Print output name once done generating keyframes
Minor changes
* Update dependency list, since timers should not be expected to have the basic VS filters like ffms2
* Lower iteration from 1000 to 500 frames
* Remove rogue import that already gets imported in the global scope