[FFmpeg-devel] [PATCH] channel layout glue

Benjamin Larsson banan
Sun Nov 16 22:07:04 CET 2008


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.

MvH
Benjamin Larsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: layout.diff
Type: text/x-patch
Size: 1556 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081116/47acaa50/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WAVEFORMATEXTENSIBLE.diff
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081116/47acaa50/attachment-0001.bin>



More information about the ffmpeg-devel mailing list