Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 699 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 699 Bytes

qwebm - work in progress

Description

A script that makes ffmpeg two-pass encoding easier. Will only convert to WebM container format.

Usage

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>