Version: 1.0.3

Posted: 2007-10-03

Build Requirements: Xcode 2.1 or greater.

Runtime Requirements: Mac OS X 10.4.2 or greater.

View Source Code:

Download Sample (“”, 98.4K)
Download Sample (“CIVideoDemoGL.dmg”, 151.9K)


CIVideoDemoGL demonstrates using Core Image with QuickTime through Core Video. It also shows how to save out a rendered frame as a still image and export the movie with added effects into a QuickTime movie.

It can also perform export to iPod via a two stage procedures export using a custom export settings atom pre-configured to use the Apple Intermediate Codec. Additionally, it shows how to use color profiles with the QuickTime Visual Context as discussed in Q&A 1550.

Document Revision History

Date Notes
2007-10-03Added the ability to use a custom 'trick' profile with the kQTVisualContextOutputColorSpaceKey key.
2007-05-22Now creates a CIContext and QTOpenGL Texture Context with the current display color space. Removed the use of kCVPixelBufferWidthKey and kCVPixelBufferHeightKey which would cause scaling with multi-track movies having different image dimensions in each track resulting in different visuals when compared with QuickTime Player. Added support for iPod export. Fixed <r.4751589>.
2005-10-14Updated to produce a universal binary, a minor code change in VideoView.m was required work around <Radar #4295828> on Developer Transition Kit .
2005-06-01CIVideoDemoGL demonstrates using Core Image with QuickTime and Core Video

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.