On Fri, 22 Apr 2005, Chris Wilkinson wrote: > I'm trying to record video clips, and then encode them as > mpeg but am having difficulty with sound...I use SuSE 9.2 > Pro x86_64 and installed the mjpegtools pacakge from RPM > (not a SuSE rpm, from FC2, to match my glibc version)...
I also have a SuSE 9.2/x86_64 (dual Opteron) system and did run into a few problems with WAV files. The problem was that 'long' was used in a few places in the code which dealt with WAV files. On a IA32 system that's 4 bytes but on a x86_64 system 'long' is 8 bytes and the result was invalid/corrupt wav files. That has since been fixed in the CVS version. > So the WAV file created by streamer actually isn't. Loading > that file into Audacity shows digital noise on the R channel > and nothing on the L. Is there something I can specify on the > command line to get WAV files done correctly? > > I have tested an existing WAV with mp2enc and it works fine. It may (or may not ;)) be your problem but I know there were a few places that needed to have 'long' changed to 'int32_t'. There is a chance that you're seeing the 64bit vs 32bit "sizeof long" problem. If the problem still occurs with the cvs version then there are remaining problems to be fixed but I think the cvs version's in pretty good shape (just can't seem to get a release going ;)). Cheers, Steven Schultz ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users