Does anyone have pointers to some working code or techniques for capturing the full-screen real-time OpenGL graphics on the iPhone and iPad, combine it with the audio coming out of the device, and compile it into a video to post online?
For example, apps such as "Talking Tomcat" do this. I'm using Cocos2D, but a solution from any framework is welcome, ideally using up-to-date APIs. It seems like this should be a solved problem given how useful and pervasive such a function is. However, all the postings I have found on this topic are out of date or incomplete.
One of the better sources of information I've found so far is here: http://www.subfurther.com/blog/2011/04/12/voices-that-matter-iphone-spring-2011/
The YouTube content is protected by US copyright law, and it indicates that any form of recording or conversion of this copyrighted content is illegal.
There's an updated version of the above-mentioned ScreenCaptureView class available that has video-recording support built-in (see link). It hasn't been tested with an OpenGL subview, but assuming that it works you might be able to modify it slightly to include audio and then you'd be set.
Edit - Working link here: https://github.com/adam-roth/screen-cap-view
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