This article is from the Mac Programming FAQ, by Jon Watte firstname.lastname@example.org with numerous contributions by others.
Although the structure of QuickTime movies is well documented in
Inside Mac: QuickTime, the inner workings of the Apple compression
modules is a trade secret that Apple will only license to you at great
cost. Perhaps it's time for a freeware, cross-platform QuickTime codec?