[MPlayer-users] problems with NTSC

Green, Shaun Shaun.Green at msfc.nasa.gov
Thu Oct 31 21:36:02 CET 2002


I use mencoder and have never have had good a-v sync when using the -noskip
option. It only works for me when I don't use this option, but I do use the
-ofps 23.976 option to get the original film. So here's the very basic 3
step commands I've been using now for several months;

1) Rip it to the HD

mplayer -dvd 1 -nortc -dumpstream



2) Rip the subtitles to vobsub format

mencoder -v -vobsubout The_Adventures_Of_Sherlock_Holmes_1 -oac copy -aid
128 -ovc copy -o /dev/null -ofps 23.976 -vobsuboutindex 0 -sid 0
./stream.dump


3) Encode the video to LAVC (mpeg4), audio AC3 to AC3 (copy)

mencoder -v -o The_Adventures_Of_Sherlock_Holmes_1-200_14_1100ni.avi -oac
copy -aid 128 -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1100:vhq:vqmin=1:vqmax=4:keyint=500 -ofps 23.976 -ni
-vop pp=0,crop=636:480:2:0,scale=640:480 -sws 2 ./stream.dump



This process always creates a file with -200ms uniform desync throughout,
which you have to correct with AVIdemux afterwards (using 200 however in the
time offset menu because it's opposite).

Shaun
                                   ^
                                .     .
                                 Linux
                              /    -    \
                             Choice.of.the
                           .Next.Generation.


-----Original Message-----
From: Dominik Szczerba [mailto:domi at vision.ee.ethz.ch] 
Sent: Thursday, October 31, 2002 3:04 PM
To: mplayer-users at mplayerhq.hu



Subject: [MPlayer-users] problems with NTSC

[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
Hi,

I ma considering switching from Transcode to MPlayer (MEncoder, to be 
strict). I am trying to mencode NTSC vobs:

cat *.vob | nice -n 19 mencoder -oac mp3lame -lameopts cbr:br=128:q=2 
-ovc frameno -o frameno.avi -noskip -ofps 25 -
cat *.vob | nice -n 19 mencoder -oac copy -ovc divx4 -divx4opts br=1600 
-vop scale=640:360,crop=698:476:12:2 -sws 2 -noskip -ofps 25 -pass 1 -o 
movie.avi -
cat *.vob | nice -n 19 mencoder -oac copy -ovc divx4 -divx4opts br=1600 
-vop scale=640:360,crop=698:476:12:2 -sws 2 -noskip -ofps 25 -pass 2 -o 
movie.avi -

I am having the following problems:
1) video file is not in agreement with what I calculate (it's much smaller)
2) audio is not synchronized.

'Mplayer -v' says my vobs are 29.something fps. I tried without -ofps 
option as well. I didnt try without -noskip yet, but I believe that 
leaving out some frames results in slightly shaky video. Or am I wrong?
My version is MPlayer 0.90pre6-2.95.3. I havent found in CHANGELOG 
anything that seemed a good reason for an update. Or am I wrong?

Transcode has the same problems, no matter what options I choose.

I would do more debugging but MPlayer lacks a very usefull option 
-startpos, counterpart of -endpos, which makes it impossible to test 
critical parts of DVD.

I tried browsing mail archives, but my modem connection is too slow to 
browse thru everything, and what I found was not conclusioned.

would you please advice?
thanks
--d;


_______________________________________________
RTFM!!!  http://www.MPlayerHQ.hu/DOCS
Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
http://mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list