Some Quick QuickTime and Movie Editing Links


Simon Wolf's Otter Software Blog has posted a couple of interesting examples of working with Quicktime files using QTKit.
QuickTime Chapters discusses working with chapters, and the Rename QuickTime Tracks article discusses how to rename the multiple tracks of a file.
Both of these are useful and contain code.
Another tool that I was just introduced to is called Subler. This open source Mac OS X app is designed to work with files for all Apple devices, including support for subtitles, muxing, and iTunes metadata editing. One of the great aspects of this is that you can edit chapter names and save the files almost instantly. It doesn't write out the entire content, just the necessary metadata. You can also add your own chapters and times if that's what you're looking to do. Update: I attempted to load (which succeeded) and save (which failed) a file that had been modified by Subler using QTKit. This kind of puts me off this particular tool, at least as part of my typical tool chain.
All three are interesting. I definitely would recommend looking at Simon's articles if you're interested ing writing something that works with mp4 files.
Update: In searching for more information I finally had a chance to have a more in depth look at the QTKit API. I was surprised that it had functionality for dealing with most, if not all, of the items that Subler handles, but instead of using a third party library, it is supported Apple API.
QTKit includes API that allows you to add/delete and edit chapter information. It also allows you to rename audio tracks. Using this (basically Simon's tool above slightly modified), and a bit of fiddling with the QuickTime 7 application (optional install on 10.6), I was able to create a file that when displayed on the Apple TV allowed playing normal audio and commentary, and under Languages the commentary track was labeled as English (Commentary). You could choose which you wanted to listen to just like languages. I had been convinced this was not possible. I was wrong and I couldn't be happier.
QTKit is a powerful framework that makes dealing with QuickTime files much easier than it has been in the past. Programmers should definitely explore there capabilities.
Of course, I'm still not sure that my DVD conversion project is going to continue. As good as Handbrake has become BluRay discs are dropping in price. Sony sells a 400 disk BluRay/DVD changer that would allow access to new BluRay content, and my favorite DVDs where I want to access commentary. The rest could be digitized.
The changer is in the $550 range. The only thing holding me back is that I would like to see the user interface the changer presents. It's supposed to display cover art and allow easy selection. But if it can't do that with the unit out of sight (actually 30 feet away), then I'm still hosed for a solution.