[Ffmpeg-devel] [PATCH] DTS multichannel

Justin Ruggles justinruggles
Wed Apr 25 22:25:18 CEST 2007


Hi,

Here is a patch to add multichannel support to the native DTS decoder.
It also utilizes the downmixing coeffients, which is not done currently.
 The default coefficients are based on the comments at the bottom of
dtsdata.h.

downmix 5.1 to stereo:
ffmpeg -f dts -i stream.dts -acodec pcm_s16le -ac 2 stream-stereo.wav

copy 5.1 direct to wav:
ffmpeg -f dts -i stream.dts -acodec pcm_s16le -ac 6 stream-5p1.wav

Note that channel reordering is not done yet, so the multichannel output
would be in MPEG-2/4 channel order (C,L,R,LS,RS,LFE).

-Justin

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dca_multichannel.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070425/b276e83d/attachment.asc>



More information about the ffmpeg-devel mailing list