https://github.com/klemek/video-randomizer
randomize videos by taking small random samples and merging them together
https://github.com/klemek/video-randomizer
Last synced: 2 months ago
JSON representation
randomize videos by taking small random samples and merging them together
- Host: GitHub
- URL: https://github.com/klemek/video-randomizer
- Owner: Klemek
- Created: 2024-02-09T12:00:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-04T10:31:46.000Z (about 1 year ago)
- Last Synced: 2025-01-31T23:44:26.241Z (4 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
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
positional arguments:
file input filesoptional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
output video path (default: random_[time].mp4)
-d DURATION, --duration DURATION
floating duration of output video in seconds (default: 60s)
-s SAMPLE, --sample SAMPLE
floating samples duration in seconds (default: 1s)
-p HEIGHT, --height HEIGHT
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 if multiple videos)
-i IGNORE, --ignore IGNORE
video input content start/end ignore in % (default: 10)
--dry dry mode, do not output video
-q, --quiet silent mode
-qf, --quiet-ffmpeg do not output ffmpeg stdout
--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)