Capture real-time screen video from iPhone and iPad including audio and post to YouTube, Facebook, etc

13,418

Solution 1

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

Solution 2

I found this simple ScreenCaptureView class that might help. It saves the contents of a UIView to a UIImage. The author suggests you can save a video of the app in use by passing the frames through AVCaptureSession.

Solution 3

I know this is an old question, but if someone comes across the same problem.

There are ready-made solutions / services for doing this so if you're not looking to re-invent the wheel, you can try for example Everyplay (https://everyplay.com/about) which does exactly that.

Check out the Cocos2d integration docs here: https://developers.everyplay.com/doc/Everyplay-integration-to-Cocos2d-game

Disclaimer: I work for the company that makes Everyplay. We try to solve the exact problem that the original question poses.

Solution 4

you can try Kamcord, which is a SDK for record your app video.

Share:
13,418

Related videos on Youtube

snibbe
Author by

snibbe

Scott Snibbe, a pioneering interactive artist and augmented reality entrepreneur, is the host of the meditation podcast A Skeptic’s Path to Enlightenment. He has founded several creative technology companies including the social music video startup Eyegroove, acquired by Facebook to integrate its AR effect technology into Instagram, WhatsApp, and Messenger. Snibbe has produced several bestselling mobile apps, including the world's first “app album” Björk: Biophilia. Snibbe began his career as one of the early developers of After Effects (acquired by Adobe), and spent several years as a researcher at Paul Allen’s Interval Research Corporation working on interactive music, automated editing, computer vision, and haptics. Snibbe’s interactive art and augmented reality installations have been incorporated into concert tours, museums, and airports; and he has collaborated with musicians and filmmakers including Björk, Philip Glass, Beck, and James Cameron. His work can be found in the collections of New York MoMA, the Whitney Museum of American Art, and other institutions. Snibbe holds over thirty patents, and has received the Webby and Ars Electronica awards, and grants from the National Science Foundation, the Ford Foundation, the National Endowment for the Arts, and the Rockefeller Foundation. He has served as an advisor to The Institute for the Future and The Sundance Institute; and held teaching and research positions at UC Berkeley, NYU’s Courant Institute of Mathematics, San Francisco Art Institute, and California Institute for the Arts. For the past decade he has volunteered as a meditation instructor.

Updated on June 04, 2022

Comments

  • snibbe
    snibbe almost 2 years

    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/

  • snibbe
    snibbe almost 10 years
    Looks promising and has a built in network for sharing videos with others... kamcord.com
  • nobody
    nobody almost 10 years
    This link no longer works. Microsoft got No-IP shut down due to their use by malware.
  • nobody
    nobody almost 10 years
    The first link no longer works. Microsoft got No-IP shut down due to their use by malware.
  • aroth
    aroth almost 10 years
    @AndrewMedico - Well that's unfortunate, and disruptive. Does Microsoft intend to take down all DDNS services then? And since when did they become the Internet police? Regardless; the updated code from the link is also available on github.

Related