david7482 / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 1 forks source link

Access Lyrics set by iTunes #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Either I just can't figure out the MP4GetMetadataFreeForm function, or the
lyrics atom (moov.udta.meta.ilst.\251lyr) just isn't accessible.

The attached patch creates MP4(Set/Get/Delete)MetadataLyrics functions
(literally an adjusted copy of the Artist functions) that works with
lyrics. I have only tested the get function, but the others should work
just as well as Artist.

Original issue reported on code.google.com by james.zapico on 8 Dec 2008 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
MP4GetMetadataFreeForm is used to manipulate atoms which do not have an "atom 
name"; and "----" is used to 
identify them which means to look into the unnamed-atom for further 
meaning/naming.

Going from the iTMF spec, it seems there is no ©lyr metadata item defined. Can 
you shed some light where this 
came from, and which software is using it? Maybe this item (which libmp4v2 does 
not yet support) is more 
appropriate; it is from a group of items which are less likely to be supported 
in various apps:

©aut Lyricist/Author-Name, Writer of the song lyrics.

Original comment by Kona8l...@gmail.com on 8 Dec 2008 at 10:31

GoogleCodeExporter commented 9 years ago
I haven't seen the spec, but I have seen several of my media files. The files 
that I
have seen have been used only by iTunes, from ripping from the cd to setting the
lyrics myself. The atom even exists in iTunes DRMed files from the iTunes store,
non-encrypted.

According to http://atomicparsley.sourceforge.net/mpeg-4files.html ©lyr was 
added in
iTunes 5. I can't speak to the chances of it being supported by other apps.

Maybe a function like MP4GetMetadataFreeForm should be written which will find 
any
arbitrary atom, or at least remove the "----" requirement.

Original comment by james.zapico on 8 Dec 2008 at 1:27

GoogleCodeExporter commented 9 years ago
FreeForm was made for this purpose and just for this purpose.

I already added the MP4GetMetadataLyrics function about a week ago (not knowing 
about this ticket) along with 
several other tags.

I'll add the other 2 a soon as I make up my mind how to add them to mp4tags and 
have verified that they do 
work (suggestions welcome), however they aren't at the top of my list.

Original comment by pentiumforever@gmail.com on 18 Dec 2008 at 8:33

GoogleCodeExporter commented 9 years ago
Write/delete support for lyrics has been added to the new tags convenience API 
in r256. It will not be added to 
the old, deprecated API.

Original comment by pentiumforever@gmail.com on 7 Feb 2009 at 12:10