[MEncoder-users] Problems encoding DVD from Canon HD Video

Ross Clement rossclement at gmail.com
Sun Aug 12 19:06:11 CEST 2012


Dear all,

I'm having problems encoding video from a Canon D600 Digital SLR into
mpeg2 format for DVDs. The original video is 1920x1080p.

I've created DVDs from this using the default settings of DVDStyler
(apart from maxing out the bitrate) and also by a two pass encode
using mencoder. I also used ffmpeg using -target pal-dvd, but other
options default except for two-pass encoding. The bitrate by default
was up over 6500kbits/s.

All of these had horrible glitching. Even in still bits of the image
there was the wavery underwater type effect where there would be
changes to the image happening about every half second or so.

The original HD footage looks to be of good quality.

Could anyone send me a "no-apologies" bash script (or similar) for PAL
DVD MPEG2 that I could try to see if it fixes the problem?


[here's my script which I admit is slower than it needs to be as I
haven't removed stuff from the first pass]

#/bin/bash

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
    -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
    -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-1:predia=-10:cbp:mv0:vqmin=1:lmin=1:dc=10:vstrict=0:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9:vpass=1
-ofps 25 \
       $1             -o /dev/null


mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
    -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
    -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-1:predia=-10:cbp:mv0:vqmin=1:lmin=1:dc=10:vstrict=0:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9:vpass=2
-ofps 25 \
       $1             -o $2




Thanks.


More information about the MEncoder-users mailing list