Re: [MEncoder-users] Converting an avi file to mpeg2 for legacy players (losing sound and lots of error messages).

Nico Sabbi nsabbi at fastwebnet.it
Fri Jun 17 18:20:29 CEST 2005


>
>I should have mentioned I am working on a windows pc with the pre0.7
>release of mplayer (I don't have sufficient privledges to install
>wingm etc...)
>
>I tried your suggestion and got:
>D:\mplayer>mencoder -of mpeg -ovc lavc -lavcopts mbd=2:keyint=25:vrc_maxrate=900
>0:vrc_minrate=600:vbitrate=2000:vrc_max_size=1835 -oac lavc -vop rotate=1
>in.avi
> -o test.mpg

>Option lavcopts: Unknown suboption vrc_max_size

the right option is vrc_maxrate (like vrc_minrate)


>Opening audio decoder: [pcm] Uncompressed PCM audio decoder
>AUDIO: 16000 Hz, 1 ch, u8, 128.0 kbit/100.00% (ratio: 16000->16000)
>Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
>[mp2 @ 00A268B8]bitrate 224 is not allowed in mp2
>Couldn't open codec mp2, br=224


at 16 khz the max allowed bitrate should be 128, but in order
to obtain dvd compatibility you should resample to 48 khz with -lavcresample=48000
(keeping the default 224 kbps bitrate)

>
>Anymore suggestions?
>John
>

yes: man mplayer about -lavcopts (aka RTFM)





More information about the MEncoder-users mailing list