Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2635 closed defect (fixed)

no id3 or apev2 metadata support for .tta audio files

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

Description

Summary of the bug:
True Audio format supports metadata as being ID3v1, ID3v2 or APEv2. But ffprobe never detects any metadata nor cover art from .tta files while mp3tag v2.55a can write and read them without any issue.

How to reproduce:

% ffprobe.exe music.ape.tta
ffprobe version N-53758-g5711e4f Copyright (c) 2007-2013 the FFmpeg developers
  built on Jun  2 2013 02:33:52 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. 34.100 / 52. 34.100
  libavcodec     55. 13.100 / 55. 13.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 74.101 /  3. 74.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, tta, from 'music.ape.tta':
  Duration: 00:23:57.77, start: 0.000000, bitrate: 1054 kb/s
    Stream #0:0: Audio: tta, 44100 Hz, stereo, s16
% ffprobe.exe music.id3.tta
ffprobe version N-53758-g5711e4f Copyright (c) 2007-2013 the FFmpeg developers
  built on Jun  2 2013 02:33:52 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. 34.100 / 52. 34.100
  libavcodec     55. 13.100 / 55. 13.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 74.101 /  3. 74.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[tta @ 000000000278eec0] Format tta detected only with low score of 24, misdetec
tion possible!
Input #0, tta, from 'music.id3.tta':
  Duration: 00:23:57.77, start: 0.000000, bitrate: 1048 kb/s
    Stream #0:0: Audio: tta, 44100 Hz, stereo, s16

Change History (4)

comment:1 by Elon Musk, 11 years ago

Id3v1 should be already supported.
Ape tags should be supported now.
For id3v2 file is not recognised as tta at all here.

Last edited 11 years ago by Elon Musk (previous) (diff)

comment:2 by cyril, 11 years ago

id3v2 is a bit annoying to handle as its content is append at the beginning of a file, while id3v1 and apev2 are append at the end of a file.
So for ffmpeg to correctly recognize a file type, it should jump over id3v2 content before trying to detect actual file content.
This issue is probably why id3v2 is only really popular with mp3 files...

comment:3 by Elon Musk, 11 years ago

Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

Both id3v1 and id3v2 are appended at beginning of file, later one does not work.
This is unrelated bug, and report it to new ticket with actual file uploaded.

comment:4 by Carl Eugen Hoyos, 11 years ago

Keywords: tta id3 added
Note: See TracTickets for help on using tickets.