On Mon, 2004-01-05 at 05:56, Andrew Stevens wrote:

> I've now checked in a fix that should remove the internal overflow even for 
> really silly huge offsets...
> 
>       video_delay = static_cast<clockticks>(job.video_offset)*CLOCKS/1000;
>       audio_delay = static_cast<clockticks>(job.audio_offset)*CLOCKS/1000;

Youpee! It works! :-) Thank you!

I patched mjpegtools-1.6.1.92-1.src.rpm with your modification, the
resulting src.rpm (that includes the patch) is here:

ftp://andrei.myip.org/media/mjpegtools/

Essentially, if you rebuild mjpegtools with your change, mplex -O works
without problems on RH9. Here are some examples:

# mplex -r 10000 -f 8 -O 900 tahoe1-017.m2v tahoe1-017.mpa -o
test900.vob
# tcprobe -i test900.vob
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test900.vob, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 23.976 [25.000] frc=1 (*)
                   PTS=1.0792, frame_time=41 ms, bitrate=8500 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000]
(*)
                   PTS=0.1792, bitrate=224 kbps
                   -D 21 --av_fine_ms 24 (frames & ms) [0] [0]

# mplex -r 10000 -f 8 -O -900 tahoe1-017.m2v tahoe1-017.mpa -o
test-900.vob
# tcprobe -i test-900.vob
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test-900.vob, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 23.976 [25.000] frc=1 (*)
                   PTS=0.1792, frame_time=41 ms, bitrate=8500 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000]
(*)
                   PTS=1.0792, bitrate=224 kbps
                   -D -21 --av_fine_ms -24 (frames & ms) [0] [0]

-- 
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to