[Mjpeg-users] More info on mplex + lpcm problem
Folks: I'm still having trouble multiplexing a LPCM file with an MPEG-2 video stream with mplex I'm using the command line mplex -f 8 -L 48000:2:16 -o output.mpg video.m2v audio.pcm The audio.pcm file is 48K , stereo, 16 bits, Motorola byte order When loaded into Adobe audition, it plays fine. After the multiplex, the audio has problems. You can hear what I'm hearing here: http://www.themeparkphoto.com/PCM/PCMclicks.mp3 I made an mp3 file of the way the audio sounds when I play the multiplexed MPEG stream output.mpg . Notice the burst of noise twice a second. Now look at the screenshot from Adobe audition: http://www.themeparkphoto.com/PCM/PCMclicks.jpg Here's my guess as to what's happening: mplex is allocating a buffer to read the data into, and isn't clearing out the whole thing! There's unitialized garbage at the end of each buffer segment that's causing that burst of noise. Does this problem ring a bell with anyone? Thanks! -- Robert Swirsky http://www.themeparkphoto.com/ raswirsky (at) theme park photo (dot) com --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Re: More info on mplex + lpcm problem
Also, what are you using to play back the multiplexed file? Are you sure that it is not a bug in that application? Have you tried burning it to DVD and playing in a hardware player? Well, what do you know!? The Multiplexed mpeg (I haven't authored a DVD with it yet...) plays *fine* in PowerDVD! And if I load it into Adobe Premiere, it loads and plays the audio fine It's WMP 10 (on some of the desktops in the lab) that screws it up. I need to find few more players to see. Windows IIRC doesn't ship with an MPEG video decoder so it's a matter of what filters WMP picked up when it tried to play these files. I'm on 1.6.3rc1. I just got the latest from CVS but I'm having build issues (starting from autoconf / automake / configure, etc, there are a few dependencies I don't have...but I'll figure those out and won't bother the list with them!) I'm going to use the newer version, because I want to make sure there isn't anything slightly off in the generated output. Thanks for your quick responses! -- Robert Swirsky Theme Park Photo, LLC http://www.themeparkphoto.com/ raswirsky (at) theme park photo (dot) com --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Re: More info on mplex + lpcm problem
I'm going to use the newer version, because I want to make sure there isn't anything slightly off in the generated output. Now it's COMPLETELY solved I got the latest from cvs to build under CYGWIN, (that was a task that took most of my morning...) and now my stream with PCM audio plays in everything I can find, including the WMP-10 that threw up on it before. Thanks everyone! -- Robert Swirsky Theme Park Photo, LLC http://www.themeparkphoto.com/ raswirsky (at) theme park photo (dot) com --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] Mplex and lpcm problems
Folks: I've never been able to get mplex to work with pcm audio! My source PCM sounds fine and my video looks fine pre-multiplex. When I multiplex them together. If I load the audio into Adobe audition, telling it it's 48000, 16 bits, Motorola byte order, it sounds fine. Then if I multiplex it $ mplex.exe -f 8 -L 48000:2:16 -v 1 -o output.mpeg video.mpg audio.lpcm The audio sounds fine, except for the fact that there's a loud click (more like a short duration burst of noise) about twice a second! I'm trying this with 1.6.3, but previous versions are doing the same thing. Any ideas? I want to make a DVD with a PCM audio track, instead of MPEG-2 audio, for maximum compatiblity in US NTSC markets. -- Robert http://www.themeparkphoto.com/ raswirsky (AT) theme park photo (dot) com --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile Plan-Driven Development * Managing Projects Teams * Testing QA Security * Process Improvement Measurement * http://www.sqe.com/bsce5sf ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users