[FFmpeg-trac] #2065(undetermined:new): ADPCM_MS audio duration is incorrect
FFmpeg
trac at avcodec.org
Wed Dec 26 04:31:13 CET 2012
#2065: ADPCM_MS audio duration is incorrect
-------------------------------------+-------------------------------------
Reporter: DJX | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
The duration of an ADPCM_MS file is incorrectly reported. FFmpeg reports a
duration of 24:51:18.49 for this file when it should be 2:00 (2 minutes).
How to reproduce:
{{{
ffmpeg -i radio-header.wav
ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg
developers
built on Dec 21 2012 09:13:20 with gcc 4.7.2 (GCC)
configuration: --enable-static --arch=x86_64 --target-os=mingw32
--cross-prefi
x=/home/rdp/dev/ffmpeg-windows-build-
helpers/sandbox/mingw-w64-x86_64/bin/x86_64
-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264
--enable-avi
synth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib
--ena
ble-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex
--enable-lib
openjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-
fontconfi
g --enable-libass --enable-libutvideo --enable-libopus --disable-
w32threads --en
able-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib
--enable
-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb
--enable-l
ibopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger
--enable-libbl
uray --enable-libvpx --enable-runtime-cpudetect
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 81.100 / 54. 81.100
libavformat 54. 49.102 / 54. 49.102
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 29.100 / 3. 29.100
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[wav @ 000000000225dfe0] max_analyze_duration 5000000 reached at 5002667
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from 'radio-header.wav':
Duration: 24:51:18.49, bitrate: 0 kb/s
Stream #0:0: Audio: adpcm_ms ([2][0][0][0] / 0x0002), 48000 Hz,
stereo, s16,
384 kb/s
At least one output file must be specified
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2065>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list