4

Does anyone know how to do this?

Is anyone able to provide an example? I believe this is out of NDA now as was available in version 4.0 ?

Lance
  • 1,161
  • 3
  • 12
  • 26

2 Answers2

1

Take a look to AVFoundation framework , specially to avcapture avsession avinputdevice, etc. You can find some listings in the iPhone dev center forums: search "avcapture" AVFoundation is the framework you want to use to record, modify raw frames, show them, an offcourse add some overlay

If you want to do only overlay then, UIImagePickerController should b enough.

nacho4d
  • 43,720
  • 45
  • 157
  • 240
  • Thanks for the direction. I'm able to capture video with the picker so hopefully some further research into this framework will help. Links to resources appreciated if anyone has any! – Lance Aug 01 '10 at 09:54
  • If someone is able to help out with a working example, sample code or resource that works, bounty is all yours! – Lance Aug 06 '10 at 08:46
0

If i understand, what you are trying to do corectly, you have set up video capture someting like suggested by Apple in this Q&A:http://developer.apple.com/iphone/library/qa/qa2010/qa1702.html

From there it shouldn't be much of a Problem to use the method described in this answer:blend two uiimages based on alpha/transparency of top image to blend the preview with your overlay, provided you draw it in a UIImage first. Feed the resulting images to a buffer and save it accordingly.

Though, this method most certainly wouldn't give you a lot of frames per second.

Community
  • 1
  • 1
Gauloises
  • 2,046
  • 1
  • 13
  • 8