Re: How to add filter to capture video from the camera?

2011-12-29 Thread douglas welton
Hi, Step A: In your delegate for AVCaptureVideoDataOutput, you can use the method - (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection to grab CMSampleBufferRef representing each frame.

Re: How to add filter to capture video from the camera?

2011-12-28 Thread Nick Zitzmann
On Dec 27, 2011, at 11:16 PM, 吴明 wrote: HI All: I wont capture view from the camera. and add an image to every frame.then save the video to my app. How do this. Use QTCaptureView and implement the delegate method -view:willDisplayImage:. In that method, do what you want to do to the

Re: How to add filter to capture video from the camera?

2011-12-28 Thread 吴明
you know that i want to use this function to my ios app. I know use AVCaptureVideoDataOutputSampleBufferDelegate can get every frame data from capture, but i dont know how to change this data with CVImageBufferRef datatype. 在 2011-12-29 01:32:41,Nick Zitzmann n...@chronosnet.com 写道:

Re: How to add filter to capture video from the camera?

2011-12-28 Thread 吴明
you know that i want to use this function to my ios app. I know use AVCaptureVideoDataOutputSampleBufferDelegate can get every frame data from capture, but i dont know how to change this data with CVImageBufferRef datatype. 在 2011-12-29 01:32:41,Nick Zitzmann n...@chronosnet.com 写道:

How to add filter to capture video from the camera?

2011-12-27 Thread 吴明
HI All: I wont capture view from the camera. and add an image to every frame.then save the video to my app. How do this. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list.