new arguments

This commit is contained in:
Klemek
2024-03-04 11:31:43 +01:00
parent 31a3f6a18e
commit 3b31144405
2 changed files with 358 additions and 299 deletions
+9 -3
View File
@@ -1,4 +1,6 @@
usage: video-randomizer.py [-h] [-o OUTPUT] [-d DURATION] [-s SAMPLE] [-p HEIGHT] [-w WIDTH] [-f FRAMERATE] [-i IGNORE] [--dry] [-q] [-qf] [--crf CRF] [-r SEED] [--ffmpeg FFMPEG] file [file ...]
usage: video-randomizer.py [-h] [-o OUTPUT] [-d DURATION] [-s SAMPLE] [-p HEIGHT] [-w WIDTH] [-f FRAMERATE] [-i IGNORE] [--dry] [-q] [-qf] [--crf CRF] [-r SEED]
[--ffmpeg FFMPEG] [-nc] [-na] [-ab AUDIO_BITRATE]
file [file ...]
randomize videos by taking small random samples and merging them together
@@ -14,11 +16,11 @@ optional arguments:
-s SAMPLE, --sample SAMPLE
floating samples duration in seconds (default: 1s)
-p HEIGHT, --height HEIGHT
output video height (default: 1080p)
output video height (default: 1080p if multiple videos)
-w WIDTH, --width WIDTH
output video height (default: auto for 16:9)
-f FRAMERATE, --framerate FRAMERATE
output video framerate (default: 30fps)
output video framerate (default: 30fps if multiple videos)
-i IGNORE, --ignore IGNORE
video input content start/end ignore in % (default: 10)
--dry dry mode, do not output video
@@ -27,3 +29,7 @@ optional arguments:
--crf CRF libx264 Constant Rate Factor (default: 23)
-r SEED, --seed SEED random seed
--ffmpeg FFMPEG ffmpeg binary path (default is found on PATH)
-nc, --no-convert don't convert videos (default for one video, might fail on multiple)
-na, --no-audio only keep video track
-ab AUDIO_BITRATE, --audio-bitrate AUDIO_BITRATE
audio bitrate in Kbps (default: 128)