[HACK] parse m4a metadata
Hello, with attached patch FFmpeg can read the metadata from http://samples.mplayerhq.hu/A-codecs/lossless/luckynight.m4a It is still quite ugly, and I do not want to spend any time on it, so cleaning up is something that someone else must do. There is also a problem that the existing metadata code probably has, too: The strings might contain linebreaks, which are coded mac-style as \r whereas IMO FFmpeg should use \n instead. Greetings, Reimar D?ffinger
Reimar D?ffinger wrote:
Hello, with attached patch FFmpeg can read the metadata from http://samples.mplayerhq.hu/A-codecs/lossless/luckynight.m4a It is still quite ugly, and I do not want to spend any time on it, so cleaning up is something that someone else must do.
Well, I guess it's a start. :) There are so many metadata tags supported by this 0xA9+'xyz' format. In addition to nam, ART, cmt, alb, and trkn, I also know of cpy (copyright date), des (description), gen (genre), too (?), wrt (composer, presumably different from artist), and day (year? perhaps full release date?). I'm pretty sure there are a lot more. I'm just going off of my old xine demuxer which must have been based on things I saw in the wild. -- -Mike Melanson
Hey guys, Mike Melanson wrote:
Reimar D?ffinger wrote:
Hello, with attached patch FFmpeg can read the metadata from http://samples.mplayerhq.hu/A-codecs/lossless/luckynight.m4a It is still quite ugly, and I do not want to spend any time on it, so cleaning up is something that someone else must do.
Well, I guess it's a start. :) There are so many metadata tags supported by this 0xA9+'xyz' format. In addition to nam, ART, cmt, alb, and trkn, I also know of cpy (copyright date), des (description), gen (genre), too (?), wrt (composer, presumably different from artist), and day (year? perhaps full release date?). I'm pretty sure there are a lot more. I'm just going off of my old xine demuxer which must have been based on things I saw in the wild.
I commited some code based on this patch. About the strings, well, I'd say it's up to the user to convert for now. -- Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA checking for life_signs in -lkenny... no
participants (3)
-
baptiste.coudurier@gmail.com -
mike@multimedia.cx -
Reimar.Doeffinger@stud.uni-karlsruhe.de