Version: 1.0.2

Posted: 2006-01-03

Build Requirements: Xcode 2.1+ (for Universal Binary), Xcode 1.0 or later.

Runtime Requirements: Mac OS X 10.4.x, Mac OS X 10.3.x with QuickTime 6.4 or later.

View Source Code:

Download Sample (“ThreadsExportMovie.zip”, 120.1K)
Download Sample (“ThreadsExportMovie.dmg”, 180.3K)



Description

ThreadExportMovie is a Cocoa sample which demonstrates exporting Movies using the QuickTime Movie Export Component on separate threads.

Xcode 2.1 Project builds universal binary.

Note: This sample requires Xcode 1.0 or later, Mac OS X 10.3 (Panther) or later with QuickTime 6.4 or later. It will not run on Mac OS X 10.2.x (Jaguar) even with QuickTime 6.4.

QuickTime 6.4 (on MacOS X 10.3 and later) introduces several new features that support execution of background tasks on multiple threads in a preemptive multitasking environment. This makes it possible to offload many tasks from your program's main thread to forestall blocking the user interface.

For more information see "Threaded Programming and QuickTime": http://developer.apple.com/documentation/QuickTime/WhatsNewQT6_4/Chap1/chapter_1_section_7.html

Document Revision History

Date Notes
2006-01-03Removed specific check for progressOpExportMovie in the movie export progress procedure which caused premature export termination with QT 7.0.3+.
2005-08-01Updated to produce a universal binary. No code changes were required.
2004-02-12Demonstrates movie exporting using the QuickTime movie export component on separate threads of a Cocoa application.

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.