Video stats
February 15th, 2010Original file:
size: 5,031,300
Theora Video:
ffmpeg2theora test.AVI \ -o output.ogv \ --optimize \ --videobitrate 512
(I tried to set –audiobitrate 128 to match the h264 file but I kept getting this error:
The Vorbis encoder could not set up a mode according to
the requested quality or bitrate.)
size: 3231055
size: 1,121,736
H264 Video:
ffmpeg -i test.AVI \ -pass 1 \ -vcodec libx264 \ -vpre fastfirstpass \ -b 512k \ -bt 512k \ -threads 0 \ -f rawvideo \ -an \ -y /dev/null && \ ffmpeg -i test.AVI \ -pass 2 \ -acodec libfaac \ -ab 128k \ -ac 2 \ -vcodec libx264 \ -vpre hq \ -b 512k \ -bt 512k \ -threads 0 \ output.mp4
size: 997,489