Top "Cmsamplebufferref" questions

iOS - Scale and crop CMSampleBufferRef/CVImageBufferRef

I am using AVFoundation and getting the sample buffer from AVCaptureVideoDataOutput, I can write it directly to videoWriter by using: …

iphone objective-c ios avfoundation cmsamplebufferref
How to convert CMSampleBufferRef to NSData

How do you convert CMSampleBufferRef to NSData? I've managed to get the data for an MPMediaItem by following Erik Aigner's …

objective-c ios nsdata cmsamplebufferref
How to set timestamp of CMSampleBuffer for AVWriter writing

I'm working with AVFoundation for capturing and recording audio. There are some issues I don't quite understand. Basically I want …

ios avfoundation audio-recording cmsamplebufferref core-media
Getting desired data from a CVPixelBuffer Reference

I have a program that views a camera input in real-time and gets the color value of the middle pixel. …

iphone ios avcapturesession cmsamplebufferref cmsamplebuffer
How to create instance of Sample Buffer (CMSampleBufferRef)?

I try to write ios camera, and I took some part of code from apple: - (void)captureOutput:(AVCaptureOutput *)captureOutput …

ios objective-c camera cmsamplebufferref