setting title/artist in a MOV file

Dear Lazyweb, how do I set the title/artist in a Quicktime file, from the command line? Basically I want id3tag for movies.

I've tried qt_info from qt_tools but it doesn't work: reads tags but can't set them, even after I recompiled it as Intel instead of PPC.

I know how to do this manually in Quicktime Player (the "Properties" window) but I need to do it in batch on a zillion files.

Presumably there's some AppleScript way to do this, but I can't figure it out.

Tags: , , ,

9 Responses:

  1. kehoea says:

    Don't actually have any QuickTime files I care about and have tried it out on, so this comment is the traditional invitation to bannation on your LJ, but Audio::M4P::Quicktime seems at least as relevant as AppleScript.

  2. sc00ter says:

    ripping/encoding dvds, now tagging..

    What crazy plan are you working on!?

    The only thing I could find was this -

    (be sure to get the later version in the thread, it's patched for QT, not just MP4)

    • jwz says:

      I've got a shitload of music videos. iTunes seems like a good place for them to live. I don't want to have to re-tag them all through the iTunes interface one at a time. This is what emacs keyboard macros are for.

  3. If you're dealing with QuickTime MPEG4 files, you can use mp4tags from the MPEG4IP project. I have not personally tested them on music videos, but the metadata is the same from what I've gathered at work.

    Binaries available at

    • jwz says:

      That works on the ".mp4" files written by Handbrake in H.264 mode; but after I've edited those files with Quicktime Pro, they turn into .mov files which mp4tag won't touch. (I don't know what the difference between these two files is, but they are different enough that Quicktime Player cares that the file extensions not be used interchangably; though "file" says they are both "Apple QuickTime movie file (ftyp)".)

  4. ninjarat says:

    Doug's AppleScripts for iTunes has a bunch of "managing track information" scripts. There probably isn't a script that will do exactly what you want but they should be able to get you going in the right direction.