[MPlayer-users] Mencoder TV-to-mpeg2video capture (DVD) 4x timing deflation

Garry Boyer garryb at cc.gatech.edu
Mon Jan 22 04:38:08 CET 2007


I'm capturing from TV, directly to DVD-compliant mpeg2video (via
lavc).  The resulting files have a four-times timing deflation
although playback is entirely correct -- my guess is this is a problem
with the muxer.

To be specific, when I play it in Xine, the timer ticks one seconds
every four seconds of actual time.  Similarly, if I tell "dvdauthor"
to generate a chapter at 10 minutes, it will really occur at 40
minutes.  Here is my command:


sudo nice -n -10 mencoder \
 -of mpeg -oac lavc=1 -ovc lavc=1 -mpegopts format=dvd \
   $INPUT \
   -vf pp=tn:0:100:10000,softskip,harddup -sws 1 \
   -srate 48000 \
   -af lavcresample=48000 \
   -ofps 30000/1001 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
vbitrate=3000:keyint=25:acodec=ac3:abitrate=192:aspect=4/3:vstrict=0:\
me_range=192:ildct:ilme:nr=250:\
intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,\
12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,\
29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79\
:inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,\
28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,\
36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 \
   -o "$OUTFILE"


Thanks, any help is appreciated!



More information about the MPlayer-users mailing list