Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
CaptureAndCompressIPBMovie
Last Revision: | Version 1.2, 2007-08-14 Added sample code demonstrating how to request AAC compression from the SGAudioChannel, and how to correctly write it to the resulting QuickTime movie. (Full Revision History) |
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) |
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.
Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-08-14