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.
我想知道AVFoundation中是否有任何公共API或任何其他可用于记录屏幕的框架,如Talking Tom Cat。我查看了AVFoundation和CoreVideo框架,但无法从头文件中找到任何内容。
If anyone knows how to record screen video prgramatically using iPhone SDK, let me know.
如果有人知道如何使用iPhone SDK以电视方式录制屏幕视频,请告诉我。
1 个解决方案
#1
7
you can do it in the following steps:
您可以通过以下步骤执行此操作:
- capture screen
- 捕获屏幕
- take that frame in a queue
- 将该帧放在队列中
- write it with avassertwriter
- 用avassertwriter写它
- and export the video
- 并导出视频
there is a sample application for understanding these things in the wwdc2010 sample code.
在wwdc2010示例代码中有一个用于理解这些内容的示例应用程序。
hope this helps.(sample app name : aveditdemo)
希望这有帮助。(示例应用程序名称:aveditdemo)
#1
7
you can do it in the following steps:
您可以通过以下步骤执行此操作:
- capture screen
- 捕获屏幕
- take that frame in a queue
- 将该帧放在队列中
- write it with avassertwriter
- 用avassertwriter写它
- and export the video
- 并导出视频
there is a sample application for understanding these things in the wwdc2010 sample code.
在wwdc2010示例代码中有一个用于理解这些内容的示例应用程序。
hope this helps.(sample app name : aveditdemo)
希望这有帮助。(示例应用程序名称:aveditdemo)