[MEncoder-users] Cannot encode to mepg2

Nico Sabbi nsabbi at tiscali.it
Fri Mar 25 22:29:08 CET 2005


Nico Sabbi wrote:

> Stefan Frings wrote:
>
>>>> You need a LOT more options to make valid DVD video. Min/max bitrate,
>>>> vbv buffer size, B frames, ...
>>>>     
>>>
>>
>> Do you know the correct values? Then please tell me.
>>
>> I am now able to create the DVD image with dvdauthor. This was my 
>> main prblem. Now I surely like to tune all options so that the DVD 
>> will be as compatble as possible.
>>  
>>
>
> Rich is right. This is a possible command line configuration (the one 
> I use):
>
> mencoder "$INPUT"  -of mpeg -mpegopts format=dvd:vbitrate=$BITRATE -o 
> "$OUTPUT" -vc ffmpeg12, -ovc lavc -lavcopts 
> qprd:keyint=25:vcodec=mpeg2video:mbd=2:vbitrate=$BITRATE:vpass=1:lmin=1:mbqmin=1:vqmin=1:dia=-4:predia=-4:preme=2:vmax_b_frames=0:dc=8:sc_threshold=-1500:vrc_buf_size=1835:vrc_maxrate=9000:vrc_minrate=600:cmp=256:precmp=256:subcmp=256:mbcmp=256:vqcomp=0.75:turbo:aspect=16/9 
> -sws 2 -oac toolame -toolameopts br=128 -af volnorm $EXTRA
>

I forgot to tell you about bitrate and resizing: although it's really  
counter-intuitive, resizing _always_ destroyed my encodings,
although it raised the average amount of bits per macroblock (whatever 
-sws I used); I advise you to avoid it if you can.
About the bitrate I observed that 1600 kb/s for a PAL encode  (with my 
settings, so with longer gops) look
already incredibly good on TV, although it's considered extremely low by 
other people; lavc really make miracles at low bitrate.
Obviously the more bits you give it the better :)

    Nico




More information about the MEncoder-users mailing list