#3777 closed defect (fixed)
Wrong duration for mp3 file
Reported by: | Carl Eugen Hoyos | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | mp3 duration |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/52966
A user provided a mp3 sample that shows an incorrect too short duration (while the sample in ticket #2931 shows a too long duration). MPlayer and vlc show the correct duration if libavformat is not used.
$ ffmpeg -i 114.mp3 -f null - ffmpeg version N-64722-ge5cb779 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 17 2014 15:02:55 with gcc 4.7 (SUSE Linux) configuration: --enable-gpl libavutil 52. 92.101 / 52. 92.101 libavcodec 55. 69.100 / 55. 69.100 libavformat 55. 48.101 / 55. 48.101 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 11.102 / 4. 11.102 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100 Input #0, mp3, from '114.mp3': Duration: 00:00:06.79, start: 0.025057, bitrate: 1017 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s Metadata: encoder : LAME3.96r Output #0, null, to 'pipe:': Metadata: encoder : Lavf55.48.101 Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s Metadata: encoder : Lavc55.69.100 pcm_s16le Stream mapping: Stream #0:0 -> #0:0 (mp3 (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help size=N/A time=00:00:53.94 bitrate=N/A video:0kB audio:9293kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Possibly related to #2697.