[MEncoder-users] mencoder - preserving bitrate of input videos

Thomas Jung thomas.jung at public-files.de
Sat Jun 12 14:46:38 CEST 2010


Hello,

I would like to concatenate some input files and want to preserve
(nearly) the input bitrate _not_ using the "-ovc lavc copy" option similar
like:

mencoder -ffourcc XVID -ofps 25.0 -ovc lavc -lavcopts \
    vcodec=mpeg4:vhq:autoaspect -oac mp3lame \
    -af volnorm=1 -o outfile.avi input1.avi  input2.avi  input3.avi

At the moment I look into the files (mediainfo) and manual set the bitrate:

mencoder -ffourcc XVID -ofps 25.0 -ovc lavc -lavcopts \
    vcodec=mpeg4:vbitrate=2300:vhq:autoaspect -oac mp3lame \
    -af volnorm=1 -o outfile.avi input1.avi  input2.avi  input3.avi

But would be good to automatic determine the appropriate bitrate.
How can I do this?

Thomas



More information about the MEncoder-users mailing list