I looked at this one, > [EMAIL PROTECTED] dvd]# mplex -f 8 -O 0ms test.m2v test.ac3 -O 67ms -o test.mpg > INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 7166793
Unfortunately it appears to be a compiler bug in the implementation of the standard library call 'lround'. E.g. if you specify 40mpts a double value of 1080000.0 is converted to a long (which should be no problem) as a value near -MAX_INT. I replaced the nice clean rounding with a quick-and-dirty static_cast<int>(...) and lo and behold everything works. It could well be mplex compiles fine on some versions gcc. In the meantime I'll check the more compiler-bug-robust code into CVS. cheers, Andrew ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users