Re: Getting AAC tag information
Re: Getting AAC tag information
- Subject: Re: Getting AAC tag information
- From: Jens Alfke <email@hidden>
- Date: Tue, 13 Oct 2009 08:26:51 -0700
On Oct 13, 2009, at 2:12 AM, Sven wrote:
I've found documentation on getting ID3 tag data from MP3s via
QuickTime, but I'm having a hard time finding information on
retrieving this data from AAC files.
You can get at AAC tags via QuickTime's movie-metadata API —
QTCopyMovieMetaData etc. There isn't any documentation on what the
tags are, but you can figure it out fairly easily by looking at
existing AAC files. I've pasted in some notes I took a while ago, below.
I'd expect there to be some form of support to handle reading and
writing of tagging data for both AAC and MP3 files.
There's no API for generating AAC tags, that I know of. (And there's
no API for encoding MP3 audio at all, for licensing reasons. You have
to use 3rd party code like LAME for that.)
—Jens
metadata: 'itsk' "©nam" = "Blur" (type=1)
metadata: 'itsk' "©ART" = "Aphex Twin" (type=1)
metadata: 'itsk' "©alb" = "Selected Ambient Works, Vol 2" (type=1)
metadata: 'itsk' "gnre" = 001B (type=0)
metadata: 'itsk' "trkn" = 00000007000B0000 (type=0) // '7' is
track #, 'B' is total tracks
metadata: 'itsk' "disk" = 000000010002 (type=0) // disc 1
of 2
metadata: 'itsk' "©day" = "1994" (type=1)
metadata: 'itsk' "cpil" = 00 (type=21) // is-
compilation
metadata: 'itsk' "tmpo" = 0000 (type=21)
metadata: 'itsk' "©too" = "iTunes v4.0.1, QuickTime 6.2" (type=1)
metadata: 'itlk' "com.apple.iTunes" = " 00000062 00000062 0000102F
00000EF2 005261D8 005261D8 00004842 00004867 0053F818 00546960" (type=1)
metadata: 'itlk' "com.apple.iTunes" =
"11+F3680FC5AADE015A4E54ED52BD842300+862874" (type=1)
metadata: 'itsk' "covr" = 148586 bytes (type=14) // Cover
art!
metadata: 'udta' "meta" = 151321 bytes (type=0)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden