Search code examples
videococos2d-iphonempeg

How can you save Cocos2D window output as Video?


I am considering using the excellent looking Cocos2d for a motion graphics project. However, Cocos2d is intended for games, rather than producing an MPEG stream.

Is it possible to save the output from a Cocos2d script to a MOV or MPG file? Ideally this needs to be done in a direct manner, not using a screen capture as this would not meet the requirements of the project.

Hopefully there are some cocos2d gurus out there :D Thanks!


Solution

  • In the end I found a different library which is more "export" friendly. Not exactly the same as Cocos2D. Node Box is a Python based motion graphics library. Admittedly it's useless for games, but good for drawing and motion graphics (which is what I wanted to use Cocos2d for anyway!)

    http://nodebox.net/code/index.php/Home