[MEncoder-users] Mencoder lame errors, and mpeg to avi batch process
John Brown
johnbrown105 at hotmail.com
Fri Nov 30 17:01:48 CET 2007
Dave M G wrote:
>
> # convert mpg movies into avi's with mencoder
> for i in *.[Mm][Pp][Gg]; do nice -n 10 mencoder $i -ovc lavc -lavcopts
>
>vcodec=mpeg4:vbitrate=$vbitrate:vhq:vqmin=2:vlelim=-4:vcelim=9:lumi_mask=0.05
>:dark_mask=0.01 -vf pp=md -vf scale=720:480, -oac lavc -lavcopts
> acodec=mp3:abitrate=128 -o "`basename "$i"`.avi";echo "Conversion done";done
>
> exit;
Try changing '-oac lavc -lavcopts acodec=mp3:abitrate=128' to
'-oac mp3lame -lameopts br=128'
This is supposed to be the better way to do it, but you could also change
acodec=mp3 to acodec=libmp3lame in your original script.
More information about the MEncoder-users
mailing list