[FFmpeg-user] CBR with libvpx using latest ffmpeg
Manas Bhatnagar
b.manas.88 at gmail.com
Thu Feb 27 22:44:41 CET 2014
Hello,
Just updating this in case anyone else tries to do something similar.
I have been working on this, trying to produce media files with predictable
filesizes/bitrates using ffmpeg/libvpx. I am able to get good results using
a 2-pass approach.
*************************************************
ffmpeg -i video.mkv -pass 1 -s 640x357 -c:v libvpx -b:v 450k -minrate:v
450k -maxrate:v 450k -bufsize 128k -threads 4 -f rawvideo -an -y /dev/null
ffmpeg -i video.mkv -pass 2 -s 640x357 -c:v libvpx -b:v 450k -minrate:v
450k -maxrate:v 450k -bufsize 128k -q:a -1 -threads 4 video.webm
*************************************************
This is what works to my satisfaction.
Thanks,
Manas
More information about the ffmpeg-user
mailing list