[Ffmpeg-devel] [PATCH] Fix DTS in WAV file playback.

Benjamin Zores ben
Sat Feb 18 18:11:27 CET 2006


Hi,

The following patch allow playback of WAV files with broken DTS format ID.
Currently, DTS codec is supposed to be referenced as 0x2001 but I've never seen a sample
with such an ID. Most of DTS samples in WAV are using 0x01 (which is PCM reserved) which
is of course a broken behavior, but so is life.

So the patch checks for begining of bytestream to match some DTS known-bytestream.

Here are some samples of DTS in WAV.
Maybe they could be added to multimedia.cx, Mike ?
(all are free to use).

- http://www.sr.se/laddahem/MultiKanal/Dts/SURROUNDTEST_011212.zip (test sample)
from http://www.sr.se/multikanal/english/e_index.stm

- http://www.kellyindustries.com/downloads/dts-44k_diatonis-soal.zip (test sample 2)
from http://www.kellyindustries.com/sounds.html#dts_downloads

More DTS samples available from http://www.dts-phile.com/downloads/download-main.html
(french page sorry but pointing to english websites).

Ben

-- 
"My life, and by extension everyone else's is meaningless."
Bender, Futurama
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-ffmpeg-dts_in_wav.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060218/bfd84008/attachment.asc>



More information about the ffmpeg-devel mailing list