[mythtv-users] DVD audio/video offset?

Bruce Smith brucesmith at chartermi.net
Tue Mar 16 15:26:33 EST 2004


> >>mpeg2desc -m < $1
> >>gives you the offset, say 7000 for example.
> >>
> >>mplex -O 7000mpt
> > 
> > Thanks for the advice, but something is still not working right.
> > 
> > mpeg2desc -m < 1045_20040313150000_20040313160000.nuv
> > gives me "6012", so I add the option "-O 6012mpt" to mplex, and
> > now the sound is WAY OFF, like many seconds or even minutes.
> > It's like it's taking it as 6012 seconds, or 601.2 seconds, or ... ?
> > I also tried "-O 66ms" and the offset is still WAY OFF.
> 
> Strange. Just a few days ago, I tested this. mpeg2desc gave me 7199 and 
> I used "-O 7199mpt" for mplex and the result was perfect. Maybe you 
> don't have the latest dvdauthor (mpeg2desc) or mplex (mjpegtools)?

I checked and I have the latest version of everything.

There appears to be an overflow somewhere.  Look at these numbers:

mplex -f 8 -V -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 22028

mplex -f 8 -V -O 1000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 14019 Audio delay = 22028

mplex -f 8 -V -O 2000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 15019 Audio delay = 22028

mplex -f 8 -V -O 3000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 16019 Audio delay = 22028

mplex -f 8 -V -O 4000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 7176307

mplex -f 8 -V -O 5000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 7175307

mplex -f 8 -V -O 6000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 7174307

mplex -f 8 -V -O 7000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 20019 Audio delay = 22028

mplex -f 8 -V -O 8000mpt -o bsmpg bsaud bsvid
 INFO: [mplex] Run-in Sectors = 89 Video delay = 21019 Audio delay = 22028


Notice the big jump in the Audio delay in the middle of the results?  
Does that look like a bug to you?

I think yours works fine because you are 7199mpt, and that seems to
produce reasonable numbers for the delay, but my 6010mpt doesn't.

 - BS




More information about the mythtv-users mailing list