Version: 1.0

Posted: 2005-10-04

Build Requirements: XCode 2.1 or greater w/MacOSX10.4u.sdk installed. (See the Xcode installation notes for more details about installing Cross-Development SDKs).

Runtime Requirements: Mac OS 10.4 with QuickTime 7.0.2+ or Mac OS 10.3.9 with QuickTime 7.0.2+. iSight or DV camera for Live Video display.

View Source Code:

Download Sample (“”, 193.1K)
Download Sample (“QTQuartzPlayer.dmg”, 256.9K)


QTQuartzPlayer is a cocoa application demonstrating how to render QuickTime Movies and live video captured using a camera such as the iSight with OpenGL and CoreVideo.

QTQuartzPlayer also allows for some level of frame manipulation using the keyboard and mouse. You can for example, move the video frame and change its orientation. You can also have the application "buffer" frames and display them in a stacked or spiral orientation.

Keyboard functions:

Up Arrow - Zoom In

Down Arrow - Zoom Out

Period Key - Increase displayed frames

Comma Key - Decrease displayed frames

Space Bar - Play/Stop Movie

Escape Key - Animate camera back to normal position

Click and drag the mouse to move the video frame in the window, hold down the control key to change the frame orientation.

This sample builds a Universal Binary and therefore requires the MacOSX10.4u.sdk.

Document Revision History

Date Notes
2005-10-04QTQuartzPlayer demonstrates how to render QuickTime Movies and live video with OpenGL and CoreVideo.

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.