[MPlayer-users] DVD constant a/v mismatch (was DXR3 audio/video sync issues)

Arpi arpi at thot.banki.hu
Sun Jul 21 00:32:01 CEST 2002


Hi,

> > > http://www.maven.de/code/index.html#vstrip

> > Would be fine if mplayer can use some of that code. I put  a jpg 
> > (vStrip-Screenshot-recognized-delay.jpg) on incoming there 
> interesting. could you show the delays for teh first (video) streams?

ok i did it, for the dvd with ~300ms delay:

root at arpi:/usr/src/vStrip/vstrip# ./vstrip /9/VOB/stream.dump
vStrip - version 0.8f, by [maven] (maven at maven.de).

Scanning for stream id's, press control-c to quit...
Found 0xE0 = Video 0 [PTS 0:00:00.367 @LBA 0]
  Width = 720
  Height = 576
  Aspect-ratio = [2] 4:3 display
  Frame-rate = [3] 25 fps
Found 0xBE = Padding [@LBA 116]
Found 0xBD = Private 1, sub 0x80 [PTS 0:00:00.287 @LBA 117]
Found 0xBD = Private 1, sub 0x20 [PTS 0:00:01.287 @LBA 310]

Summary:
MPEG Packs = 35342
Private 1 packets = 1853, total bytes = 3739521
  Sub 0x20 packets = 4, total bytes = 5600 (delay 0:00:00.920)
  Sub 0x80 packets = 1849, total bytes = 3733921 (delay -0:00:00.080)
Padding packets = 244, total bytes = 235900
Video 0 packets = 33489, total bytes = 67578951

so, it reports 80ms delay.
could you please check and compare this delay value for discs with and discs
without a-v delay? i've the feeling that it reports 80ms for every discs...

anyway, the delay value this app prints simply comes from PTS difference of
first audio and video stream. I do the same in mplayer for .AVI files
(-nobps mode), but i don't think it's needed for mpeg. Anyway, you can
simulate this in mplayer with -mc 0 (it disables a-v correction so this pts
delay won't be "corrected" so you'll see if it helps - tell me the results.
ah, and do not seek, this -mc 0 trick works only before you try to seek or
-ss, if it helps i'll fix it)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list