[FFmpeg-user] formula for transcoding to ogv, shrinking an mkv

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 17 09:30:05 CET 2013


James Miller <gajs-f0el <at> dea.spamcon.org> writes:

> ffmpeg -i infile.mkv -acodec libvorbis -ab 48k -ac 2 
> -vcodec libtheora -preset slow -wpredp 0 -crf 22 
> -threads 0 outfile.ogv

If you have a target filesize, don't use a constant 
quantiser, but specify a bit-rate (calculated by you) 
and use 2-pass encoding.

Please note that for all questions on this mailing 
list, you should add complete, uncut console output 
together with your command line.

(And of course: Please do not forget that the 
theora encoding quality is very limited, meaning 
it may not be easy to get the target filesize 
and acceptable quality.)

Carl Eugen



More information about the ffmpeg-user mailing list