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
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 😉