Re: [Mjpeg-users] More info on mplex + lpcm problem

2005-08-06 Thread Dave Chapman
Skip Intro wrote:
> 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.

Firstly, are you using the latest (CVS) version of mplex?  There is a
known bug in 1.6.3rc1 which is fixed in CVS.

If that doesn't fix the problem, can you post the output of the mplex
command?

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?

I don't think very many people use LPCM audio with mplex - but I do, and
it works fine.  But only if you are using the latest CVS - 1.6.3rc1 and
earlier versions are broken.

Dave.


---
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] More info on mplex + lpcm problem

2005-08-06 Thread Skip Intro
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