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 (“CaptureAndCompressIPBMovie.zip”, 50.6K)
Download Sample (“CaptureAndCompressIPBMovie.dmg”, 102.0K)



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.
2005-09-01Updated to produce a universal binary, no code changes were required.
2005-07-15Audio capture was added using the SGAudioMediaType SG channel.
2005-07-06Captures video & recompresses it using H.264 also captures audio saving the output in a movie file.

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.