[FFmpeg-trac] #4373(ffmpeg:new): ffmpeg trouble reading mp3 with ID3v2.3 tag, metadata missing and incorrect

FFmpeg trac at avcodec.org
Wed Mar 18 06:37:41 CET 2015


#4373: ffmpeg trouble reading mp3 with ID3v2.3 tag, metadata missing and incorrect
-----------------------------------+--------------------------------------
             Reporter:  samsonluk  |                     Type:  defect
               Status:  new        |                 Priority:  important
            Component:  ffmpeg     |                  Version:  git-master
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 Summary of the bug:
 ffmpeg had trouble reading mp3 with ID3v2.3 Metadata.

 title, genre, track, date and Stream #0:1 are missing
 album name can read but it is incorrect

 How to reproduce:
 ffprobe output under ID3v2.3:


 {{{
 ffprobe "ID3v2.3.mp3"
 ffprobe version N-44204-gd24af70-   http://johnvansickle.com/ffmpeg/
 Copyright (c) 2007-2015 the FFmpeg developers
   built with gcc 4.9.2 (Debian 4.9.2-10)
   configuration: --enable-gpl --enable-version3 --disable-shared
 --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
 libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
 libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls
 --enable-libvidstab --cc=gcc-4.9
   libavutil      54. 20.100 / 54. 20.100
   libavcodec     56. 28.100 / 56. 28.100
   libavformat    56. 25.101 / 56. 25.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 12.100 /  5. 12.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, mp3, from '01 - Yisabel - My Eden.mp3':
   Metadata:
     artist          : Yisabel
     album           : 九家之書 OST CD
   Duration: 00:03:39.61, start: 0.025057, bitrate: 328 kb/s
     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
     Metadata:
       encoder         : LAME3.97

 }}}


 ffprobe output under ID3v2.4:


 {{{
 ffprobe "ID3v2.4.mp3"
 ffprobe version N-44204-gd24af70-   http://johnvansickle.com/ffmpeg/
 Copyright (c) 2007-2015 the FFmpeg developers
   built with gcc 4.9.2 (Debian 4.9.2-10)
   configuration: --enable-gpl --enable-version3 --disable-shared
 --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
 libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
 libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls
 --enable-libvidstab --cc=gcc-4.9
   libavutil      54. 20.100 / 54. 20.100
   libavcodec     56. 28.100 / 56. 28.100
   libavformat    56. 25.101 / 56. 25.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 12.100 /  5. 12.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, mp3, from '01 - Yisabel - My Eden.mp3':
   Metadata:
     album           : 九家之書 OST CD1
     artist          : Yisabel
     album_artist    : Various Artists
     genre           : Soundtrack
     title           : My Eden
     track           : 01
     date            : 2013
   Duration: 00:03:39.61, start: 0.025056, bitrate: 328 kb/s
     Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
     Metadata:
       encoder         : LAME3.97
     Stream #0:1: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown),
 600x600, 90k tbr, 90k tbn, 90k tbc
     Metadata:
       title           :
       comment         : Cover (front)

 }}}

 Attached with sample ID3v2.3 and ID3v2.4 of the same .mp3 for your test.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4373>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list