ios - Record video with AVCaptureVideoDataOutput -


I'm not sure what should I put in the method

  - (zero) Capture Output: (AVCaptureOutput *) Capture was output output Sample buffer: (CMSampleBufferRef) connection to sampleBuffer: (AVCaptureConnection *) connection;   

Can anyone share the body of their code for this method with me to write the frame in the video, where the results are recording the frame in the movie?

I thought that my asset water and video input is correctly, but what I'm getting is correct, a 1 frame film is used repeatedly.

See Apple's sample code. This is a very good example of what you are looking for.

Comments