Can someone explain to me how's mplex -O supposed to work?

I'm using the current (sunday nov 23, in the evening) mjpegtools CVS
tree.

I'm doing this:

mplex -f 8 -S 150 -O 500 ${proj}.m2v ${proj}.ac3 -o 1.vob

mplex -f 8 -S 150 -O -500 ${proj}.m2v ${proj}.ac3 -o 2.vob

Then i compare the sync info on the two VOBs like this:

[EMAIL PROTECTED] stnem]$ tcprobe -H 100 -i 1.vob
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for 1.vob, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 16:9 (*)
       frame rate: -f 23.976 [25.000] frc=1 (*)
                   PTS=0.2008, frame_time=41 ms, bitrate=9800 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000
[0x2000]
                   PTS=0.1780, bitrate=448 kbps
                   -D 0 --av_fine_ms 22 (frames & ms) [0] [0]

[EMAIL PROTECTED] stnem]$ tcprobe -H 100 -i 2.vob
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for 2.vob, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 16:9 (*)
       frame rate: -f 23.976 [25.000] frc=1 (*)
                   PTS=0.1780, frame_time=41 ms, bitrate=9800 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000
[0x2000]
                   PTS=0.2008, bitrate=448 kbps
                   -D 0 --av_fine_ms -22 (frames & ms) [0] [0]

As you can see, the PTS A/V differences on the two VOBs, while
symmetrical, are a lot smaller than the projected 500 ms difference that
i was trying to enforce with mplex -O.
tcprobe suggests a +/- 22 ms difference (-D 0 --av_fine_ms 22) between
audio and video.

Just in case tcprobe does not report correctly, i verified the two VOBs
with xine, and the A/V sync is more like what tcprobe said (the A/V sync
difference is so small it cannot be detected) than what mplex was
supposed to do (half a second difference, which is very big and easily
detectable).

-- 
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to