Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.2

Posted: 2007-08-14

Build Requirements: Mac OS X 10.4, or Mac OS X 10.3.9 and QuickTime 7

Runtime Requirements: Mac OS X 10.4, or Mac OS X 10.3.9 and QuickTime 7, and a camera with a vdig (eg, an iSight or other IIDC camera, or a DV camera)

View Source Code:

Download Sample Code (“CaptureAndCompressIPBMovie.zip”, 50.6K)



Description

Shows how to capture video, draw on top of it, recompress it on the fly with H.264 and store the output in a movie file, using QuickTime 7's Compression Session APIs. Also captures audio (with or without applying AAC compression) using the SGAudioMediaType which is new in QuickTime 7.

Document Revision History

Date Notes
2007-08-14Added sample code demonstrating how to request AAC compression from the SGAudioChannel, and how to correctly write it to the resulting QuickTime movie.
Did this document help you? Yes It's good, but... Not helpful...