Commit graph

69 commits

Author SHA1 Message Date
odrling 878753bddf gen_chapters.sh 2020-07-28 05:06:31 +02:00
LightArrowsEXE a45318bb32 encode_audio.py: v1.0.8
Minor updates
2020-07-05 01:01:05 +02:00
LightArrowsEXE cc54a97354 encode_audio.py: v1.0.8
* 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
2020-07-05 00:27:02 +02:00
LightArrowsEXE 1163eaed65 encode_audio.py: v1.0.7
Fix path.splitext calls, revert args help split
2020-06-20 22:17:03 +02:00
LightArrowsEXE b8b3d3643d encode_audio.py: v1.0.7
Make it PEP8 compliant (as per flake8 standards)
2020-06-19 02:55:05 +02:00
LightArrowsEXE c6ab4b134b remove_empty_directories.py: v1.0.2
Make it only print deletions, not retained directories
2020-06-17 03:24:06 +02:00
LightArrowsEXE 352ecfe2b7 indexer.py: v1.1.3
Some formatting fixes
2020-06-17 03:23:26 +02:00
LightArrowsEXE 202d202810 encode_audio.py: v1.0.6
* Removed arg.wav_only
Now automatically encode m2ts' audio to PCM WAV and anything else to FLAC and AAC
* bump version
2020-06-17 03:23:01 +02:00
LightArrowsEXE 07ee1c4cf3 auto-crc.py: v1.1
* Remove m2ts support
2020-06-17 03:13:17 +02:00
LightArrowsEXE a766909e02 remove_empty_directories.py: v1.0 2020-06-16 15:09:12 +02:00
LightArrowsEXE c19f193182 encode_audio.py: v1.0.5
Add argument: ``keep``
2020-06-10 23:32:09 +02:00
LightArrowsEXE e8d146fcb9 indexer.py: v1.1.2
Fixing some strings
2020-06-10 13:10:58 +02:00
LightArrowsEXE 91d1294b9a indexer: v1.1
Now prints clip info, as well as properly shows a "+" when working on a clip.
2020-06-09 21:45:23 +02:00
LightArrowsEXE d43fa249fc indexer.py: v1.0 2020-06-09 15:58:16 +02:00
LightArrowsEXE 972f7ce9a6 v1.2 2020-05-17 04:44:46 +02:00
LightArrowsEXE ae47c726ae v1.1 2020-05-17 04:27:11 +02:00
LightArrowsEXE 8fcd7119c7 v1.0
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
2020-05-05 06:49:13 +02:00
LightArrowsEXE 4c1cdb61f5 v1.0
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
2020-05-05 06:14:30 +02:00
LightArrowsEXE bb3318e4e0 v1.0.4
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.
2020-05-05 05:35:16 +02:00
LightArrowsEXE a94d1fcf59 Update .gitignore 2020-04-29 17:51:46 +02:00
LightArrowsEXE fb327a3fa6 v1.0.3
- Removed --core, since it will almost always just extract the worse-quality track
- Update --track description
2020-04-29 17:51:43 +02:00
LightArrowsEXE 521d92e9c1 v1.0.2
- 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
2020-04-28 01:56:28 +02:00
LightArrowsEXE db3f48407b Make --track optional, encode first audio track by default 2020-04-27 23:20:52 +02:00
LightArrowsEXE d91c0d2bea Update encode_audio.py 2020-04-27 20:16:10 +02:00
LightArrowsEXE c0958de4c9
Create LICENSE 2020-04-27 17:40:17 +02:00
LightArrowsEXE c166491775 Add "check_exists", minor refactoring
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.
2019-11-21 10:37:19 +01:00
LightArrowsEXE da47452b28 Actively make encode_audio worse
Now with 200% additional code to decipher!
2019-11-08 21:58:16 +01:00
LightArrowsEXE 6115e92284 Minor update 2019-11-08 21:57:48 +01:00
LightArrowsEXE a26d77f724 Update --help (--outfile) 2019-10-18 00:05:59 +02:00
LightArrowsEXE a92bd4e8f7 Update --help (--outfile) 2019-10-18 00:05:24 +02:00
LightArrowsEXE 86668c4c74 Fix recursive seeking and error handling for --outfile 2019-10-18 00:03:47 +02:00
LightArrowsEXE 060e87c5b1 QOL updates, removing redundant lines, making more compact 2019-10-17 23:47:31 +02:00
LightArrowsEXE bbaa8f8cc7 Minor update to generate_keyframes
* Change updates per 1000 frames to update per 1 frame. Old line now gets replaced by a new one for every frame checked.
2019-10-17 11:48:08 +02:00
LightArrowsEXE dfa20323ed Add ignoring common indexing filetypes 2019-09-11 14:46:23 +02:00
LightArrowsEXE d6e1e67c9b Update encode_audio.py 2019-09-11 14:44:40 +02:00
LightArrowsEXE 898cfd0eca fix typo 2019-08-20 00:54:42 +02:00
LightArrowsEXE 239a257038 Update error handling
Add additional examples
2019-08-20 00:53:50 +02:00
LightArrowsEXE 4a9462c11b Add error handling for bad trim values 2019-08-20 00:40:56 +02:00
LightArrowsEXE 64eebd532e Update README.md
* Add examples for "generate_keyframes"
2019-08-20 00:37:20 +02:00
LightArrowsEXE a3842f83d5 Update README.md 2019-08-19 23:46:34 +02:00
LightArrowsEXE 38f5f0de35 Merge Imaginary Pull Request: Add trims
Imaginary PR by begna112
2019-08-19 23:42:51 +02:00
LightArrowsEXE 7c55ab466c Update generate_keyframes.py
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
2019-08-16 09:24:41 +02:00
LightArrowsEXE 1353e39815 Update encode_audio.py
* Add --no-delay to QAAC call
2019-08-09 03:31:03 +02:00
LightArrowsEXE cbfc34cd5d Update generate_keyframes.py
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
2019-08-09 03:07:24 +02:00
LightArrowsEXE c807f9ca9e Update generate_keyframes.py
* Remove most dependencies
2019-08-01 11:46:35 +02:00
LightArrowsEXE cd7dd63761 Update encode_audio.py
* Allow ffmpeg to show its progress without outputing all of its junk
* Add a TO-DO. If you know of a reliable way to do this, please send in a PR!
2019-07-24 01:19:23 +02:00
LightArrowsEXE ec41783606 Update README.md 2019-07-16 13:49:56 +02:00
LightArrowsEXE b712c60cbd Update fansub-util repository 2019-07-16 13:41:24 +02:00
LightArrowsEXE dbbe0f9486 Upload generate_keyframes.py 2019-07-14 15:12:16 +02:00
LightArrowsEXE d2a5d265fa Create encode_audio.py 2019-05-15 00:10:29 +02:00