Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to record video of screen like Talking Tom Cat on iPhone?

I want to know if there is any public API in AVFoundation or any other framework which can be used to record screen like Talking Tom Cat does. I looked into AVFoundation and CoreVideo frameworks but could not find anything from the header files.

If anyone knows how to record screen video prgramatically using iPhone SDK, let me know.

like image 415
Chintan Patel Avatar asked Jan 17 '11 14:01

Chintan Patel


1 Answers

you can do it in the following steps:

  1. capture screen
  2. take that frame in a queue
  3. write it with avassertwriter
  4. and export the video

there is a sample application for understanding these things in the wwdc2010 sample code.

hope this helps.(sample app name : aveditdemo)

like image 112
harshalb Avatar answered Nov 09 '22 22:11

harshalb