This discussion is locked
Sean Effel

Q: Preserve ID3 tags in MP3/AIF files when importing to FCS

I've got 7000 music files in a carefully groomed iTunes library, each track donated by a local musician for use in our local television productions. I need to move them out of this lame iTunes storage system and into Final Cut Server for use throughout our facility.

When I import files, the ID3 tags are not preserved. I don't want to hand enter 7000 artist/album/track names all over again. That's madness.

Working with AIFF files mostly, a few MP3s. Final Cut Server 1.5.2.

Anyone got any tips?

Final Cut Server 1.5.2, Mac OS X (10.6.4)

Posted on Sep 1, 2010 3:46 PM

Close

Q: Preserve ID3 tags in MP3/AIF files when importing to FCS

  • All replies
  • Helpful answers

  • by Jamie Hodge,

    Jamie Hodge Jamie Hodge Sep 2, 2010 5:50 AM in response to Sean Effel
    Level 1 (15 points)
    Sep 2, 2010 5:50 AM in response to Sean Effel
    There is a solution that involves pruning Spotlight records of the said audio files. The only catch is that it requires Spotlight indexing to be on, which may not be desirable in an Xsan environment. Another approach is to use AtomicParsley (http://atomicparsley.sourceforge.net/) to retrieve the tags. Either way, you will need to generate XML files that Final Cut Server can read. I would recommend using Ruby and Jim Weirich's excellent Builder gem (http://github.com/jimweirich/builder).

    So, make a subscription for new audio assets, run a script that retrieves metadata from the original file and then write a setMd XML file to a Final Cut Server watch folder. There are a few things you will need to solve, such as retrieving the path of the original media. If coding is not your thing, you might consider Transmogrifier (http://transmogrifier.sourceforge.net/), which I've never tried, but does seem to solve many of these issues.

    Good luck.
  • by Sean Effel,

    Sean Effel Sean Effel Sep 2, 2010 9:56 AM in response to Jamie Hodge
    Level 1 (25 points)
    Sep 2, 2010 9:56 AM in response to Jamie Hodge
    This needs a skill set that I don't have. You would think that Apple would keep up their good work of integrating their products.
  • by Sean Effel,

    Sean Effel Sean Effel Sep 2, 2010 1:18 PM in response to Sean Effel
    Level 1 (25 points)
    Sep 2, 2010 1:18 PM in response to Sean Effel
    What about converting ID3 tags into Quicktime annotations. Wouldn't FCS preserve that information upon upload?
  • by Jamie Hodge,

    Jamie Hodge Jamie Hodge Sep 8, 2010 12:54 AM in response to Sean Effel
    Level 1 (15 points)
    Sep 8, 2010 12:54 AM in response to Sean Effel
    Mapping the tags to QuickTime annotations would not be difficult; the problem is (I believe) that it would require .mov wrappers on your files, which would probably not be desirable.

    There is no question that this "feature" should be addressed as soon as possible. I would assume Apple is interested, as HTTP Live Streaming is using ID3 tags for time-based metadata.
  • by A. Richards,

    A. Richards A. Richards Sep 9, 2010 8:11 AM in response to Sean Effel
    Level 3 (625 points)
    Sep 9, 2010 8:11 AM in response to Sean Effel
    Since your files are AIFF, try adding the Audio Metadata metadata group to your music metadata set. Then try uploading one of them. There are built-in mappings for the following fields:

    Number of Beats
    File Type
    Key
    Scale Type
    Time Signature
    Author
    Copyright
    Comments
    Collection
    Theme
    Genre
    Instruments on my UI
    Instruments Subtype
    Sample Rate
    Bit Depth
    Channels
    Descriptors
    Project Reference

    I'm not sure how ID3-style metadata from iTunes is stored on an AIFF, but I'm curious to know if the mappings for Apple Loops added in FCSvr 1.1.1 accommodate iTune metadata on AIFF files.
  • by Jamie Hodge,

    Jamie Hodge Jamie Hodge Sep 10, 2010 3:57 AM in response to A. Richards
    Level 1 (15 points)
    Sep 10, 2010 3:57 AM in response to A. Richards
    The Audio Metadata fields that you mention are the contents of the Apple Loops Plus metadata group. Your post made me curious and I tagged an AIFF file in iTunes to see what would map.

    The answer is not particularly much, but there are two semi-useful mappings:

    Artist -> Author
    Comments -> Comments

    The title and track number are encoded in the filename, which, of course, also gets picked up. I guess some parsing script could map this usefully.

    Anyone succeeded in extending this mapping from within Final Cut Server? I don't entirely understand if the Apple Loops metadata is an extension of the ID3 chunk or its own chunk. If it was the former, it's hard to understand why the other fields are not available.

    Jamie Hodge
  • by John F. Whitehead,

    John F. Whitehead John F. Whitehead Sep 10, 2010 9:06 AM in response to Jamie Hodge
    Level 2 (380 points)
    Sep 10, 2010 9:06 AM in response to Jamie Hodge
    iTunes doesn't write to most of those Apple Loops Plus metadata fields.

    Logic Pro, Soundtrack Pro, GarageBand do (for AIFF, WAV, and CAF files).
  • by A. Richards,

    A. Richards A. Richards Sep 10, 2010 10:49 AM in response to John F. Whitehead
    Level 3 (625 points)
    Sep 10, 2010 10:49 AM in response to John F. Whitehead
    I guess the only way to do this then is to script parsing the iTunes metadata out of the iTunes Music Library.xml file and into FCSvr. Not a task for the novice, I'm afraid...
  • by John F. Whitehead,

    John F. Whitehead John F. Whitehead Sep 10, 2010 8:05 PM in response to A. Richards
    Level 2 (380 points)
    Sep 10, 2010 8:05 PM in response to A. Richards
    A more practical approach to get at iTunes metadata is to use Spotlight via mdls.

    This was demoed at WWDC in 2008, but unfortunately the video and sample code is no longer distributed. It basically passed asset info to a Ruby on Rails program, which did an mdls query on the file and returned the results via Read XML.

    Not that it is a task for a novice either, but it is reasonable to do...
  • by Jamie Hodge,

    Jamie Hodge Jamie Hodge Sep 12, 2010 7:04 AM in response to John F. Whitehead
    Level 1 (15 points)
    Sep 12, 2010 7:04 AM in response to John F. Whitehead
    The mdls demo would only be appropriate in a non-Xsan environment.

    I think we can all agree that these are not ideal solutions. I encourage the original author to write a feature request at radar.apple.com. There is no technical difference between the Audio Loop metadata and the ID3 metadata in an .aif file. It is rather strange that Apple engineers would bother to demo a solution for an evident user story and then not support it when the task presented itself in the form of Apple Loops.
  • by trezero,

    trezero trezero Sep 13, 2010 11:24 PM in response to Sean Effel
    Level 1 (5 points)
    Sep 13, 2010 11:24 PM in response to Sean Effel
    I developed a script recently for a large music licensing company that pulls all mp3 metadata as well as AIFF and any other mdls metadata and adds the metadata to the asset on ingest. I'd be happy to help you set it up. Its a bit more complicated than I can get into on the forums though.

    Jason Perr
    MacHarmony