[FFmpeg-trac] #703(undetermined:new): mp3 in wav - wrong duration
FFmpeg
trac at avcodec.org
Sun Dec 4 00:04:05 CET 2011
#703: mp3 in wav - wrong duration
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
File uploaded to incoming.
I think the problem is that ffmpeg reports bitrate 27 kb/s instead of 56
kb/s
(which is correct - winamp reports it), so as a result the reported
duration
is two times longer than it should be.
{{{
C:\>ffmpeg -i WAVE_MPEG_Layer-3.wav
ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg
developers
built on Nov 30 2011 00:52:52 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-
libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-
libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-
libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-
amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-
libxvid --enable-zlib
libavutil 51. 29. 1 / 51. 29. 1
libavcodec 53. 39. 1 / 53. 39. 1
libavformat 53. 22. 0 / 53. 22. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 50. 0 / 2. 50. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[wav @ 020B2320] max_analyze_duration 5000000 reached at 5015510
Input #0, wav, from 'WAVE_MPEG_Layer-3.wav':
Duration: 00:05:47.79, bitrate: 27 kb/s
Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, stereo, s16,
56 kb/
s
At least one output file must be specified
}}}
--
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/703>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list