1

I need to display a sequence procedurally generated images as video sequence preferably with built-in controls (controls would be nice to have, but no requirement) and I'm just looking for a bit of guidance of which API to use. There seem to be a number of options but I'm not sure which one is the best suited to my needs. GPUImage, Core Video, Core Animation, OpenGL ES or something else?

Targetting just iOS 6 and up would be no problem if that helps.

Update: I'd prefer something that would allow me to display the video frames directly rather than writing them to a temporary movie.

Oliver Weichhold
  • 10,259
  • 5
  • 45
  • 87

1 Answers1

0

Checkout the animationImages property of UIImageView. This may do what you are looking for. Basically you would store all of your images into this array so it can handle the animation for you. UIImageView Reference

Mark McCorkle
  • 9,349
  • 2
  • 32
  • 42
  • The issue you may come across is cache size (running out of avail mem) since I believe animationImages holds all the images in memory for quick access. It's a very convenient method but without knowing your exact file size requirements it's very hard to offer a suggestion other than manually looping through and changing the UIImageView's image property at the rate you wish. Best of luck! – Mark McCorkle Apr 23 '13 at 12:34