On Wed, 29 Jun 2005, Dave Chapman wrote:

> [EMAIL PROTECTED] wrote:
> > Hallo,
> > 
> > I think there has to be a bug in the mplex tool with lpcm. That is what I 
> > have
> > done:
> > 
> > 1. sox NAME.wav -t raw -x -s -w -c2 -r48000 NAME.lpcm
> > 2. mplex -S 0 -f 8 -V -o NAME.mpg NAME.lpcm NAME.m2v
> >    It make no different if I also use "-L 48000:2:16"
> > 3. Try to play this file with mplayer and xine. Video is OK, but Sound
> >    make just a noise.
> 
> If you compare the bytes in NAME.wav and NAME.lpcm, are they
> byte-swapped?  (They should be).  If not, then you should remove the -x
> option to sox.
The "-x" option of sox only swaps bytes if nessasary. I started my
first test with just cutting of the wav header with dd. The resulting
NAME.lpcm was the same. It is also the same if I don't use the "-x"
option.

Yesterday I started to look closer on the NAME.mpg. 
I wrote a script that prints out the bytes after "00 00 01 BD" in hex.
How many bytes after "00 00 01 BD" are important? 
Is the information on http://dvd.sourceforge.net/dvdinfo/lpcm.html
correct?
To make more test I need a fast command line hexeditor to change hex
bytes. (p.e. from 0a0a0a to 020202) Does anybody know a fast one?

I will post my results soon.

Am I the only one with this problem?

> What exactly is the noise you are hearing?  Is it constant noise, or
> does it fade in and out?
It's sounds exactly the same as if you burn a audio cd with swapped bytes.
I can put a sample of it on a webserver if this helps.

Greatings

Oliver


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to