Question

I was wondering if anyone anywhere had an example of an AVCapture session using AVCaptureVideoDataOutput working -- I am using the default CMSampleBuffer from the AVFoundation data output callback method - but when I save it to camera roll it is all black except the last 5 frames which I have to manually scrub to :S

any help in regards to my issue would be greatly appreciated.

Cheers,

Michael

Was it helpful?

Solution 2

I re-wrote the entire thing to use a AVAssetWriterPixelBufferAdaptor and a series of image editing/drawing functions I wrote to achieve my overlaying goals. I will post a tutorial as soon as I get a spare weekend ;)

OTHER TIPS

Download WWDC Session videos, http://tuvix.apple.com/videos/wwdc/2010/

Session 409 - Using Camera with AV Foundation contains great introduction to use AVCapture.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top