* Bump version
* Add opus support
* Add new params
- --codec: Pick lossy codec to encode with (default: opus) {aac, opus}
- --bitrate: Bitrate for opus encoding (default: 192000)
* Renamed --noaac to --nolossy, -N
v1.0:
- Add header information, including version (with v1.0 as the current starting point)
- Remove docstring, since its very self-evident and just extra noise
- Add new argument; "--strip". Strips all CRCs from a file, whether correct or not
- Remove dumb ext variable
- Update printed messages to be slightly more informative
- Now checks files based on mimetypes and whether they end with .mkv or .m2ts
- Sort arguments for consistency purposes
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
Update to v1.0.4:
- Split AAC and FLAC encoding lines into functions, in case I decide to add additional functionality later down the line.
- Change FLAC encoder to eac3to, as this keeps the accurate bit depth
- Move tempfile creation to the AAC encoding, since they are unnecessary for FLAC. Blame qaac.
- Automatically pick first audio track; can override with --track
- Create a temp encode file when encoding lossy/FLAC
- --noflac and --noaac parameters added to disable one, the other, or both encodes (but why would you do that?)
New dependencies: ffmpeg
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