Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building a movie from RGB images and exporting




On Oct 20, 2005, at 12:09 PM, Juan P. Pertierra wrote:

Our application receives RGB images from an external interface. The images are actually video frames and they come in at 30fps. We need to write an engine that allows users to export Quicktime clips of this 30fps video using the codecs that are installed in the system.

A while back ago I looked into this and it seemed like it could be done with either QTKit or the Quicktime API, but I received mixed responses about whether the QTKit was mature enough to support doing this without having to use the Quicktime API anyway. Is this still the case?

QTKit should be able to handle this task quite easily. My guess is that you would first want to assemble all the images into a QTMovie (using -[QTMovie addImage:forDuration:withAttributes:]) and then export the QTMovie using the desired codec settings (using -[QTMovie writeToFile:withAttributes:]).


It's not clear to me whether the codec settings are known in advance (and perhaps never change from session to session) or are dynamically selected by the user. If the latter, then you probably would need to dip down into raw QuickTime to create the atom container that is passed as the QTMovieExportSettings.

Having to use the QuickTime API for some tasks should not IMHO dissuade you from using QTKit for most other operations.


Tim Monroe QuickTime Engineering _______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.