Reputation: 2141
There seem to be lots of iOS developers who want to create a movie from a set of images, but I would like to include a transition between the images -- just a quick opacity ramp from one image to the next.
I've been googling and studying the docs, and can't see how this can be done with AVAssetWriter. It looks like I need to use AVMutableComposition to get the transitions.
Question: Is this correct? Or am I missing something with AVAssetWriter?
TIA: John
Upvotes: 1
Views: 1024
Reputation: 1846
I've never tried, but how about Core Animation to do the transition (or any kind of animation)? You setup the animation, move the timeline, grab a "screenshot" of the animation and write it on the movie. Repeat it until the animation is completed.
Upvotes: 1