[FFmpeg-user] .m4a metadata

Joao Bonina bonina_2001 at yahoo.com
Sat Oct 13 05:03:41 CEST 2012



----- Original Message -----
> From: Joao Bonina <bonina_2001 at yahoo.com>
> To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
> Cc: 
> Sent: Friday, 12 October 2012, 15:11
> Subject: Re: [FFmpeg-user] .m4a metadata
> 
>> ________________________________
>>  From: Joao Bonina <bonina_2001 at yahoo.com>
>> To: FFmpeg user questions <ffmpeg-user at ffmpeg.org> 
>> Sent: Thursday, 11 October 2012, 18:19
>> Subject: Re: [FFmpeg-user] .m4a metadata
>> 
>>> ________________________________
>>>  From: Lou <lou at lrcd.com>
>>> To: ffmpeg-user at ffmpeg.org 
>>> Sent: Thursday, 11 October 2012, 18:10
>>> Subject: Re: [FFmpeg-user] .m4a metadata
>>> 
>>> On Thu, 11 Oct 2012 05:23:28 -0700 (PDT)
>>> Joao Bonina <bonina_2001 at yahoo.com> wrote:
>>> 
>>>>  Hi,
>>>> 
>>>>  I'm using ffmpeg on Linux as a decoder for .m4a files. They 
>>>>  play fine, but metadata doesn't seem to be read. It only reads 
> the 
>>>>  creation_time data.
>>>> 
>>>>  Can anyone help, please?
>>>> 
>>>>  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
>>>>   
>>>>   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]
>>> 
>>> What metadata are you expecting? Did you use ffmpeg to add the
>>> metadata? If yes, also include the actual command(s).
>> 
>> Metadata wasn't added with ffmeg. 
>> 
>> mp4Info shows the following, and was expecting also this from ffmpeg:
>> 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
>> 
> 
> 
> 
> So, am I seeing this right?



So, continueing my monologue.... :)

I inserted metatags with ffmpeg, and now it can access them.

Also, mp4v2 returns this:
mp4info version 2.0.0
out2.m4a:
Track   Type    Info
1       audio   alac, 88.800 secs, 608 kbps, 44100 Hz
 Name: Sonhei que estava em Portugal
 Artist: Cristina Branco
 Encoded with: Lavf54.6.100

So, no more " In atom meta missing child atom hdlr" messages there....

Strange, though. Shouldn't ffmpeg be able to read the tags that were created with jriver and with mp3tag?


More information about the ffmpeg-user mailing list