For a high-performance scientific purpose we need to render video and play it at 60fps on the device. I assume the usual frame rate of H.264 video is lower than that.
Is this possible, or is the framerate fixed? If so, what is the maximum frame rate we can get when playing H.264 video in fullscreen on the device?
Technical specifications will vary from iOS device to iOS device, so you’ll need to check for the hardware you’ll actually run this on. For the iPad 2, currently the most powerful of the iOS devices, Apple’s technical specifications for video list the following:
It would appear that fullscreen H.264 playback at 60 FPS is not supported on even the robust hardware of the iPad 2.
However, you can indeed render content to the screen at 60 FPS. I do this all the time in both Core Animation heavy applications and ones that use OpenGL ES. If you can generate your content in-application fast enough to display at this rate, you could render it to the screen at 60 FPS, then encode every other frame to video.
Given that video encoding is a reasonably expensive operation, and it sounds like you want to run some kind of simulation here as well, I’m guessing that you won’t be able to render each frame at 60 FPS for display to the screen on current hardware simply due to the load you’ll put on the system.