PDA

View Full Version : Core Animation Layer -> QuickTime




Chirone
Mar 23, 2009, 10:03 PM
can I convert what i drew in Core Animation Layers to QuickTime?

the only documentation about quicktime exports are the ones that explain how to do it from external hardware like cameras....

the only one that captures off screen is a screen capture thing, but that only reads from an OpenGL context and it buggers up the capture whenever you tell it to record from a particular NSView or derivative of NSView

surely someone out there knows... its not like exporting quicktime clips is new...



kainjow
Mar 24, 2009, 11:25 AM
This might be of some help:
http://www.cimgf.com/2009/02/03/record-your-core-animation-animation/

This is more of doing the opposite, but may give you some pointers:
http://www.cimgf.com/2008/09/10/core-animation-tutorial-rendering-quicktime-movies-in-a-caopengllayer/

Chirone
Mar 24, 2009, 03:29 PM
thanks for the links
i'm not sure why i never found them before...

i'll take a good look at these, they both sound promising

Chirone
Mar 24, 2009, 04:54 PM
it seems quite challenging to get the recording to output a smooth 5 second clip...
the QTMakeTime(long long) is quite hard to predict.... :confused:

ok,
it's not that it's hard to predict... it's that the method that Matthew Long fellow just drops a lot of frames or something... the 10 second animation only records as 2.66 seconds...

i'm going to guess it's a fault with the NSTimer because i don't see any reason for it to not capture the frame each 1/25 of a second