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 Code (“CIVideoDemoGL.zip”, 98.4K)



Description

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>.