[FFmpeg-trac] #4003(undetermined:new): Defect in mp3 demuxer when extracting images from id3 tags.
FFmpeg
trac at avcodec.org
Sat Oct 4 19:00:02 CEST 2014
#4003: Defect in mp3 demuxer when extracting images from id3 tags.
-------------------------------------+-------------------------------------
Reporter: c-14 | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
When extracting the image from certain mp3s the EOI isn't found correctly
and only a part of the image is extracted:
How to reproduce:
{{{
C:\Users\Phoenix>C:\ffmpeg-20140916-git-
b76d613-win64-static\bin\ffmpeg.exe -i E:\Music\vk\fcb1507af7cb.mp3 -c:v
copy C:\test\output.jpeg
ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg
developers
built on Sep 15 2014 22:11:04 with gcc 4.8.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-
libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-
decklink --enable-zlib
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mjpeg @ 00000000042b89c0] overread 8
[mjpeg @ 00000000042b89c0] EOI missing, emulating
[mp3 @ 00000000042b7aa0] Estimating duration from bitrate, this may be
inaccurate
Input #0, mp3, from 'E:\Music\vk\fcb1507af7cb.mp3':
Metadata:
TLEN : 212000
Duration: 00:03:32.83, start: 0.000000, bitrate: 129 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg), 200x200 [SAR 100:100
DAR 1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
title :
comment : Other
Output #0, image2, to 'C:\test\output.jpeg':
Metadata:
TLEN : 212000
encoder : Lavf56.4.101
Stream #0:0: Video: mjpeg, yuvj444p, 200x200 [SAR 100:100 DAR 1:1],
q=2-31,
90k tbn, 90k tbc
Metadata:
title :
comment : Other
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=-1.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:14kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg
developers
built on Sep 15 2014 22:11:04 with gcc 4.8.3 (GCC)
}}}
This output doesn't come directly from me, but from a user for whom I'm
submitting this bug report. I do have the sample as well and can confirm
his findings with that file as far as FFmpeg is concerned. He told me that
he was able to correctly extract the image using a different program, so I
believe it is a deficiency in FFmpeg and not a problem with the source.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4003>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list