[FFmpeg-devel] [PATCH] channel layout glue

Michael Niedermayer michaelni
Sun Nov 16 22:20:35 CET 2008


On Sun, Nov 16, 2008 at 10:07:04PM +0100, Benjamin Larsson wrote:
> Without this patch the layout wont look like this:
> 
> Input #0, matroska, from 'Edward.Scissorhands.x264.DTS-4.0-48_24.mkv':
>     Stream #0.1: Audio: dca, 48000 Hz, 4 channels (FL|FR|FC|BC), s16,
> Output #0, wav, to 'out2.wav':
>     Stream #0.0: Audio: pcm_s16le, 48000 Hz, 4 channels (FL|FR|FC|BC),
> 
> The wav writer needs to be changed so it writes the WAVEFORMATEXTENSIBLE
> header when the channel count is > 2 and channel_layout is something
> else then 0. Attached is a non working try to add it. The first patch is
> meant to be included.

the ffmpeg patch looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081116/0ee6746a/attachment.pgp>



More information about the ffmpeg-devel mailing list