I wanted to convert a file so I can play it my DVD player which only works with divx/xvid. I tried :
ffmpeg.exe -y -i "in.mp4" -t 480.00 -vf scale=720:301,pad=720:576:0:137 -map 0:v:0 -map 0:1 -b:v 2500K -vcodec libxvid -aspect 1.25 -b:a:0 128K -ac:a:0 2 -ar:a:0 48000 -codec:a:0 libmp3lame "out.avi"
I wanted to know what options I should use for the resulting file to also have these characteristics (as close as possible to the "Divx Home Theater" profile):
Macroblocks: 40500 bps
VBV Buffer: 384kB
VBV Bitrate: 4854 kbps
B-Frame: 1
My ffmpeg build info is:
ffmpeg version 2.2.git built on Sep 28 2014 08:33:32 with gcc 4.6.2 (GCC)
Also my OS is Windows 7 x64