I want to create video from bunch of images

I want to create video from bunch of images. Let me explain what exactly I want.

I have one static image (.jpg, .png, etc.) and I have bunch of images you can say frames (sequences extract from .gif). Now I want that first put my static image on screen as a background. On that I have put frames and doing animation. No I want to create video from these resources.

I have tried by combining images like :

static image —> frame_0.png
static image —> frame_1.png
static image —> frame_2.png

and so on….Finally I have bunch of images. Now I am creating video.

But I am facing too many memory warning and crashes.

How I can achieve this. Have anyone other solution ? Please help me.

@vimipatel. Thanks very much for your question, and my apologies for the delayed response. Have you considered forming a video using the images you mentioned using some video editor, and simply playing the video inside your app? Minimize the work your app has to do by doing as much of the work yourself. Playing a video in your app is MUCH easier than generating an animation out of your images.

Having said that, we do have some advanced tutorials on Animations in iOS on this site (including a very comprehensive book!), so that might be something for you to consider!

I hope this helps!

All the best!