문제

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

도움이 되었습니까?

해결책 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 ;)

다른 팁

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

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top