Releases: mmguero/cleanvid
Releases · mmguero/cleanvid
v1.7.0
Address #36 by adding options for --audio-stream-list
and --audio-stream-index
index. For example:
- list the audio streams
$ cleanvid -i Princess.Mononoke.mkv --audio-stream-list
1: aac, 48000 Hz, stereo, jpn
2: aac, 48000 Hz, stereo, eng
- clean the selected audio stream
$ cleanvid -i Princess.Mononoke.mkv --audio-stream-index 2
- attempting to clean a multi-audio-stream file without selecting which one you want raises an exception:
$cleanvid -i Princess.Mononoke.mkv
Traceback (most recent call last):
File "cleanvid", line 8, in <module>
sys.exit(RunCleanvid())
^^^^^^^^^^^^^
File "cleanvid.py", line 834, in RunCleanvid
cleaner.MultiplexCleanVideo()
File "cleanvid.py", line 565, in MultiplexCleanVideo
raise ValueError(
ValueError: Multiple audio streams, specify audio stream index with --audio-stream-index
The other, non-selected audio streams should go straight into the output video file as-is, completely untouched. The selected audio stream should be the only audio stream that's affected by the filter.
v1.6.0
v1.5.7
A few minor changes:
- Added
--re-encode-audio
boolean option, see #31 - Added
--threads <int>
,--threads-input <int>
and--threads-encoding <int>
options to pass through to ffmpeg's -threads arguments (see #30);--threads-input
and--threads-encoding
take priority, but--threads
will be used for either one of the others that isn't specified - minor tweak to swears.txt