[FFmpeg-user] crf mode in libvpx
Boštjan Strojan
bostjan.strojan at gmail.com
Sat Feb 4 12:53:22 CET 2012
p.s.
This seems to produce valid and hi-quality "quality-based" output,
2-pass cq encode;
$ffmpeg -i input -pix_fmt yuv420p -f yuv4mpegpipe - 2>/dev/null | $vp8
-v --good -p 2 --pass=1 --bias-pct=100 --fpf="$files.log" --threads=8
--target-bitrate=55000 --end-usage=cq --cq-level=20 --kf-min-dist=0
--kf-max-dist=100 --auto-alt-ref=1 --lag-in-frames=16 --drop-frame=0
--min-q=0 --max-q=60 - -o output
$ffmpeg -i input -pix_fmt yuv420p -f yuv4mpegpipe - 2>/dev/null | $vp8
-v --good -p 2 --pass=2 --bias-pct=100 --fpf="$files.log" --threads=8
--target-bitrate=55000 --end-usage=cq --cq-level=20 --kf-min-dist=0
--kf-max-dist=100 --auto-alt-ref=1 --lag-in-frames=16 --drop-frame=0
--min-q=0 --max-q=60 - -o output
(followed by mkvmerge to add separatedly encoded vorbis audio.ogg)
More information about the ffmpeg-user
mailing list