Iphone 4 - How to record video over video?

Does anyone know how to do this?

Can someone provide an example? I believe that this is now outside the NDA, as was available in version 4.0?

+4
source share
2 answers

If I understand what you are trying to do differently, you created a video similar to the suggestion of Apple in this Q & A: http://developer.apple.com/iphone/library/qa/qa2010/qa1702.html

From there, there should be no problems using the method described in this answer: mix two uiimages based on the alpha / transparency of the top image to mix the preview with the overlay if you first draw it in a UIImage. Upload the resulting images to the clipboard and save them accordingly.

Although, this method will certainly not give you many frames per second.

0
source

Take a look at the structure of AVFoundation, specifically for avcapture avsession avinputdevice, etc. You can find the lists on the dev dev developer forums: search for "avcapture" AVFoundation is the structure you want to use to record, change raw frames, display them, offcourse add some overlay

If you want to make only an overlay, then a UIImagePickerController should be enough.

+1
source

All Articles