AVFoundation to overlay two video clips with Alpha in ios5?

I hope to use the IOS5 AV Foundation with or without Open Open to record video from the camera and overlay / merge another video from above using some form of alpha channel layout / foreground layout.

An example of using combined output may be a video of an animated character interacting with a user recorded by a video clip from an iPhone / iPad camera.

Is this possible right now with iOS5 or potentially with Brad Larson's base GPUImage? Is it easy to combine the alpha channels of two video sources?

If anyone has any sample code that they could share or offer any recommendations, I would really appreciate it.

+4
source share
1 answer

Apple's AVEditDemo (+ WWDC 2010 companion video) will be the start. Does not show video overlays with alpha, but if you haven’t worked with AVFoundation before this is a great introduction.

Here's another good video-composition-with-ios walkthrough

+1
source

All Articles