dts in wav not auto-detected
(Reported many times, sample is from issue 2663)
dts in avi is not auto-detected, FFmpeg claims it is pcm_s16le
$ ffmpeg -i dts.wav
ffmpeg version N-44552-g4aade44 Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 18 2012 11:05:34 with gcc 4.5.3 (GCC)
configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl --enable-libmp3lame
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 56.100 / 54. 56.100
libavformat 54. 27.101 / 54. 27.101
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 16.104 / 3. 16.104
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[wav @ 0x14f1240] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'dts.wav':
Duration: 00:02:13.28, bitrate: 153 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
At least one output file must be specified
Work-around is to set the audio-codec:
$ ffmpeg -acodec dts -i dts.wav
Additional samples:
http://www.diatonis.com/surround_sound_music.html