Opened 4 years ago

Last modified 4 years ago

#1810 open defect

ffprobe: some .m4a files' metatags are not read by ffprobe

Reported by: movie_fan Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mov metadata
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% ffprobe Portugal.m4a
ffprobe version 0.11.2 Copyright (c) 2007-2012 the FFmpeg developers
  built on Oct 10 2012 18:26:07 with gcc 4.7.1

Running ffprobe on alac encoded files (.m4a), only returns the creation_date metadata. Album, artist, title, etc. are not returned.

The mp4v2 tool returns those correctly. Also, AtomicParsley? and Mp3tag read the metadata correctly.

Here are the outputs of ffprobe and mp4v2:

configuration: --enable-libmp3lame --enable-libtheora --enable-libx264
--disable-libgsm --enable-postproc --disable-libxvid --enable-libfaac
--enable-pthreads --enable-libvorbis --enable-gpl --disable-x11grab
--enable-nonfree

libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Portugal.m4a':

Metadata:

major_brand : M4A
minor_version : 0
compatible_brands: mp42isomM4A
creation_time : 2012-09-29 15:28:41

Duration: 00:01:28.80, start: 0.000000, bitrate: 608 kb/s

Stream #0:0(und): Audio: alac (alac / 0x63616C61), 44100 Hz, 2 channels, s16, 608 kb/s
Metadata:

creation_time : 2012-09-29 15:28:41

[FORMAT]
filename=Portugal.m4a
nb_streams=1
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime?/MPEG-4/Motion JPEG 2000 format
start_time=0.000000
duration=88.800000
size=6756165
bit_rate=608663
TAG:major_brand=M4A
TAG:minor_version=0
TAG:compatible_brands=mp42isomM4A
TAG:creation_time=2012-09-29 15:28:41
FORMAT

mp4info version 2.0.0
Portugal.m4a:
ReadChildAtoms?: "Portugal.m4a": In atom meta missing child atom hdlr
Track Type Info
1 audio alac, 88.800 secs, 608 kbps, 44100 Hz
ReadChildAtoms?: "Portugal.m4a": In atom meta missing child atom hdlr

Name: Sonhei que estava em Portugal
Artist: Cristina Branco
Album: Ulisses
Track: 1 of 0
Genre: Fado

Change History (5)

comment:1 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords mov added; .m4a alac removed

Please test current git head and please provide the input sample.

comment:3 Changed 4 years ago by movie_fan

Output from git head, it still doesn't read tags correctly:

ffprobe version N-45459-g2a56e65 Copyright (c) 2007-2012 the FFmpeg developers

built on Oct 13 2012 18:11:36 with gcc 4.7 (Debian 4.7.2-4)
configuration: --enable-libmp3lame --enable-libtheora --enable-libx264 --disab le-libgsm --enable-postproc --disable-libxvid --enable-libfaac --enable-pthreads --enable-libvorbis --enable-gpl --disable-x11grab --enable-nonfree
libavutil 51. 76.100 / 51. 76.100
libavcodec 54. 65.100 / 54. 65.100
libavformat 54. 32.100 / 54. 32.100
libavdevice 54. 3.100 / 54. 3.100
libavfilter 3. 19.102 / 3. 19.102
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 16.100 / 0. 16.100
libpostproc 52. 1.100 / 52. 1.100

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '01 Sonhei que estava em Portugal.m4a':

Metadata:

major_brand : M4A
minor_version : 0
compatible_brands: mp42isomM4A
creation_time : 1942-08-25 09:00:25

Duration: 00:01:28.80, start: 0.000000, bitrate: 608 kb/s

Stream #0:0(und): Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16, 60 8 kb/s
Metadata:

creation_time : 1942-08-25 09:00:25

Version 0, edited 4 years ago by movie_fan (next)

comment:4 Changed 4 years ago by cehoyos

  • Keywords metadata added
  • Version changed from 0.11.2 to git-master

comment:5 Changed 4 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open
Note: See TracTickets for help on using tickets.