On Mon, 17 Jan 2005 14:28:41 -0400 Giacomo Comes <comes@naic.edu> wrote:
On Mon, Jan 17, 2005 at 07:15:07PM +0100, Moritz Bunkus wrote:
Hey,
--- libmpdemux/ms_hdr.h.ori 2005-01-17 11:49:41.000000000 -0400 +++ libmpdemux/ms_hdr.h 2005-01-17 11:50:37.000000000 -0400 @@ -4,7 +4,7 @@ #ifndef _WAVEFORMATEX_ #define _WAVEFORMATEX_ typedef struct __attribute__((__packed__)) _WAVEFORMATEX { - unsigned short wFormatTag; + unsigned int wFormatTag; unsigned short nChannels; unsigned int nSamplesPerSec; unsigned int nAvgBytesPerSec;
rofl. This will make those files unplayable with anything else than mplayer/mencoder. The WAVEFORMATEX structure has a fixed format that you cannot change.
Hey, I'm not an MPlayer developer. I wrote to the list to receive comments.
Do you have more contructive suggestions about the problem with LPCM audio?
maybe it is not possible to put lpcm into avi? -oac copy -of mpeg work? dvds sometimes have other audio streams, e.g. ac3. or maybe -ao pcm? does lpcm > avi work with ffmpeg? could be like putting vorbis into avi. just my two cents.