Opened 11 years ago

Closed 11 years ago

#2729 closed defect (duplicate)

FFprobe doesn't detect cover art in vorbis metadata the same way as for id3 or ape metadata

Reported by: cyril Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: ogg
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
While parsing audio files, FFprobe doesn't detect cover art in vorbis metadata the same way as for id3 or ape metadata:

  • id3/ape shows cover art as a 2nd video stream
  • vorbis comments shows cover art as a "METADATA_BLOCK_PICTURE"

It would be good that cover art for vorbis comments also get processed as in id3/ape tags.

Tested with those files:
http://towerofbabel.free.fr/test/music.ogg
http://towerofbabel.free.fr/test/music.opus
http://towerofbabel.free.fr/test/music.mp3

How to reproduce:

% ffprobe.exe music.ogg
ffprobe version N-54082-g96b33dd Copyright (c) 2007-2013 the FFmpeg developers
  built on Jun 17 2013 02:10:21 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  8.103 / 55.  8.103
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[ogg @ 000000000271eb40] 2048 bytes of comment header remain
Input #0, ogg, from 'music.ogg':
  Duration: 00:06:45.05, start: 0.000000, bitrate: 115 kb/s
    Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      ALBUM           : Favorite Things
      ARTIST          : Bad Loop
      COMMENT         : http://www.kahvi.org
      TITLE           : Lumme - Badloop
      DATE            : 2002
      track           : 4
      METADATA_BLOCK_PICTURE: AAAAAwAAAAppbWFnZS9qcGVnAAAAAAAAAAAAAAAAAAAAAAAAAA
AAABLz/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBhQSERQUExQVFRUUFxQWFBQUFRQVFRQVFBUVFB
QVFBQXHCYeFxkjGRQUHy8gJCcpLCwsFR4xNTAqNSYrLCkBCQoKDgwOFQ8PGikcHBwpKSkpKSkpKSkpKS
kpKSkpKSwsKSkpKSkpKSkpKSkpLCwpKSkpKSkpKSkpKSk
% ffprobe.exe music.mp3
ffprobe version N-54082-g96b33dd Copyright (c) 2007-2013 the FFmpeg developers
  built on Jun 17 2013 02:10:21 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  8.103 / 55.  8.103
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mp3 @ 000000000252eb40] max_analyze_duration 5000000 reached at 5015510 microse
conds
[mp3 @ 000000000252eb40] Estimating duration from bitrate, this may be inaccurat
e
Input #0, mp3, from 'music.mp3':
  Metadata:
    artist          : Queen
    album           : Queen The Best
    genre           : Rock
    date            : 1997
  Duration: 00:03:04.17, start: 0.000000, bitrate: 127 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
    Stream #0:1: Video: mjpeg, yuvj420p, 420x420, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : ÿØÿà
      comment         : Other

Change History (1)

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: FFprobeavformat
Keywords: ogg added
Resolution: duplicate
Status: newclosed

I suspect this is a duplicate of ticket #2655, please reopen this ticket if this turns out to be wrong.

Note: See TracTickets for help on using tickets.