[FFmpeg-trac] #1747(avformat:open): dts in wav not auto-detected
FFmpeg
trac at avcodec.org
Tue Sep 18 13:11:28 CEST 2012
#1747: dts in wav not auto-detected
------------------------------------+------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: wav dts | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => open
Old description:
> (Reported many times, sample is from issue 2663)
>
> dts in avi is not auto-detected, FFmpeg claims it is pcm_s16le
> {{{
> $ ffmpeg -i Cuted_pcm_s16le.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 'Cuted_pcm_s16le.wav':
> Duration: 00:02:13.28, bitrate: 614 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 Cuted_pcm_s16le.wav
New description:
(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 Cuted_pcm_s16le.wav
--
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1747#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list