[MPlayer-users] Audio sync off in NTSC DVD

Wm. Josiah Erikson josiah at insanetechnology.com
Sun May 25 04:13:57 CEST 2003


Hello all,
	(Please cc: me in replies, as I'm not on the list)
	I'm trying to rip an NTSC DVD to DivX5 with libavcodec, and the 
audio sync is slightly off. I'm using mplayer-0.90 compiled on debian 
woody. This is what I'm doing that doesn't work:

mencoder -dvd 1 -alang en -oac mp3lame -ovc lavc -lavcopts 
vcodec=mpeg4:vbitrate=1600 -lameopts vbr=3:preset=160 -ofps 23.976 -o 
test.avi

I normally do 3pass encoding, but I've been doing 1-pass for debugging 
while I'm trying to figure this out. 3-pass gives the same problem, of 
course.

I have had this problem with several different DVD's, but not all. This 
particular DVD I'm working with at the moment is particularly odd in that 
if I start at Chapter 3 or later, the audio sync is fine. Chapters 1 and 2 
are off by about a quarter second, however.

I get these while encoding, but I think this is normal:

Pos:   0.2s      4f ( 0%)   0fps Trem:   1min   3mb  A-V:0.010 [0:0]
Skipping frame!
Pos:   0.3s      9f ( 0%)   0fps Trem:   1min   3mb  A-V:0.027 [0:0]
Skipping frame!
Pos:   0.5s     14f ( 0%)   0fps Trem:   1min   3mb  A-V:0.043 [0:0]
Skipping frame!
Pos:   0.7s     19f ( 0%)   0fps Trem:   1min   3mb  A-V:0.060 [0:32]
Skipping frame!
Pos:   0.8s     24f ( 0%)   0fps Trem:   1min   3mb  A-V:0.077 [0:31]
Skipping frame!
Pos:   0.9s     27f ( 0%)   0fps Trem:   1min   3mb  A-V:0.087 [0:32]
Skipping frame!
Pos:   1.0s     29f ( 0%)   0fps Trem:   1min   3mb  A-V:0.052 [0:32]
Skipping frame!
Pos:   1.1s     34f ( 0%)   0fps Trem:   1min   3mb  A-V:0.068 [0:31]
Skipping frame!
Pos:   1.3s     39f ( 0%)   0fps Trem:   1min   3mb  A-V:0.085 [0:32]
Skipping frame!
Pos:   1.3s     40f ( 0%)   0fps Trem:   1min   3mb  A-V:0.088 [0:31]
Skipping frame!
Pos:   1.4s     44f ( 0%)   0fps Trem:   1min   2mb  A-V:0.060 [0:32]
Skipping frame!
Pos:   1.6s     49f ( 0%)   0fps Trem:   1min   2mb  A-V:0.077 [0:31]
Skipping frame!
Pos:   1.8s     54f ( 0%)   0fps Trem:   1min   3mb  A-V:0.073 [0:43]
Skipping frame!
Pos:   1.9s     59f ( 0%)   0fps Trem:   1min   3mb  A-V:0.067 [0:52]
Skipping frame!
Pos:   2.6s     76f ( 0%)   0fps Trem:   1min   3mb  A-V:0.067 [0:74]
Skipping frame!
Pos:   2.6s     78f ( 0%)   0fps Trem:   1min   3mb  A-V:0.063 [0:75]
demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS 
changed to 23.976!  
Pos:   3.8s    105f ( 1%)  86fps Trem:   1min   3mb  A-V:0.086 [0:96]
Skipping frame!
Pos:  15.8s    394f ( 7%)  67fps Trem:   1min   3mb  A-V:0.086 [0:134]
Skipping frame!
Pos:  16.1s    404f ( 7%)  68fps Trem:   1min   3mb  A-V:0.086 [0:132]
Skipping frame!
Pos:  16.5s    414f ( 7%)  69fps Trem:   1min   3mb  A-V:0.086 [0:129]
Skipping frame!
Pos:  16.9s    425f ( 7%)  71fps Trem:   1min   3mb  A-V:0.085 [0:127]
Skipping frame!
Pos:  27.8s    686f (10%)  85fps Trem:   1min   3mb  A-V:-0.086 [0:97]
1 duplicate frame(s)!
a52: CRC check failed!  )  66fps Trem:   0min   4mb  A-V:-0.075 [0:155]
a52: error at resampling
Pos: 231.7s   5575f (100%)  66fps Trem:   0min   4mb  A-V:-0.085 [0:155]
1 duplicate frame(s)!
Pos: 231.9s   5579f (100%)  66fps Trem:   0min   4mb  A-V:-0.060 [0:155]

Any clues? Please cc me as I'm not on the list. Thanks!
	-Josiah



More information about the MPlayer-users mailing list