开发者

Record iPhone app video (without simulator)

How can I record a vid开发者_StackOverflow中文版eo of an iPhone app? I can't use the Simulator because the application is very OpenGL-heavy and uses an accelerometer/gyroscope.


You can have the iphone output video and capture on another device: How can I use MPTVOutWindow iPhone undocumented class?

one of the links in that answer says it doesn't work in iOS4+, but on a project I worked on less than one month ago, we used that feature from an iPhone4 to present, so I would challenge that (unless the developer that handled that portion used another approach)


I'm not sure there is a "native" solution here, short of building video capture into your actual app.

The cleanest way of handling this, assuming your game/app has a cleanly designed input pipeline, is probably to mock the input:

  • Put in (debug-only code) that lets you "record" all the raw input events.
  • Using the device, play out the demo session to create a "recording".
  • Run the app in the simulator, and feed it the input "recording" you made on the device.

The simulator will run GL stuff just fine, and probably at a higher framerate than your device will.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜