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.
No the bytes are not swapped. The "-x" option swaps the bytes only if it
is nessasary. So you get the same NAME.lpcm file without the "-x". I
started my test with just cutting of the wav header with dd and the 
NAME.lpcm was even then the same.

Yesterday I wrote a script to get the hex data after "00 00 01 BD". 
Is the information on http://dvd.sourceforge.net/dvdinfo/lpcm.html
correct? Do I need only the first 6 Bytes after "00 00 01 BD" to see the
differences or are there any other header information for LPCM?
I also need a fast hexeditor to play a little with the header
information. Any good sugestions?

Maybe I can post the results of the test above even today.

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 sounds exactly the same as if you burn a audio cd with audio bytes
swapped. 
I can put a sample 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