A script that makes ffmpeg two-pass encoding easier. Will only convert to WebM container format.
Simple usage with default options:
python qwebm.py <input_video_file>
To target a specific size (default is 6 MB):
python qwebm.py -s 2560 KB <input_video_file>
To resize video to specific dimension:
python qwebm.py --dim 480p <input_video_file>
To encode using VP9 codec (default is VP8):
python qwebm.py --cv vp9 <input_video_file>
To print ffmpeg execution arguments qwebm
would have used but not actually execute ffmpeg:
python qwebm.py --print-args --nx <input_video_file>