Does anyone out there know if there is a way to pull raw, still-compressed audio and video samples out of a Quicktime .mov file using an Apple API / Framework targeting the Mac that can be compiled natively in 64-bit (IE: QTKit)? I know this functionality is available in Apple's QuickTime Framework that targets the Mac, but this Framework can only be compiled under 32-bit.
If anyone is familiar with such a Framework and any related sample code, some insight would be much appreciated.
Thanks, Josh
The AVFoundation framework released with OSX 10.7 (Lion) can extract raw compressed frames from a movie. This is an ObjC framework with 64-bit support.
See the documentation for the AVAssetReader class.
Have you looked at the Handbrake source yet? It may give you some hints.
It is not an Apple API specifically but the codebase is open source and does compile on OS/X Lion and Tiger. We've been tweaking it to run on native 64-bit windows and OS/X boxes and it does perfectly well reading the .mov files we've thrown at it.
http://handbrake.fr/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With