¡@

Home 

2014/10/15 ¤U¤È 10:04:54

iphone Programming Glossary: captureoutput

Upload live streaming video from iPhone like Ustream or Qik

http://stackoverflow.com/questions/1960782/upload-live-streaming-video-from-iphone-like-ustream-or-qik

go captureSession startRunning Then the output device's delegate here self has to implement the callback void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection.. Then the output device's delegate here self has to implement the callback void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection CVImageBufferRef imageBuffer..

how to convert a CVImageBufferRef to UIImage

http://stackoverflow.com/questions/3152259/how-to-convert-a-cvimagebufferref-to-uiimage

to convert a CVImageBufferRef to UIImage I amy trying to capture video from a camera. i have gotten the captureOutput didOutputSampleBuffer callback to trigger and it gives me a sample buffer that i then convert to a CVImageBufferRef. i then.. convert to a CVImageBufferRef. i then attempt to convert that image to a UIImage that i can then view in my app. void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection.. i then attempt to convert that image to a UIImage that i can then view in my app. void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection CVImageBufferRef imageBuffer..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec

deviceInputWithDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo error nil AVCaptureVideoDataOutput captureOutput AVCaptureVideoDataOutput alloc init captureOutput.alwaysDiscardsLateVideoFrames YES dispatch_queue_t queue queue dispatch_queue_create.. AVMediaTypeVideo error nil AVCaptureVideoDataOutput captureOutput AVCaptureVideoDataOutput alloc init captureOutput.alwaysDiscardsLateVideoFrames YES dispatch_queue_t queue queue dispatch_queue_create cameraQueue NULL captureOutput setSampleBufferDelegate.. captureOutput.alwaysDiscardsLateVideoFrames YES dispatch_queue_t queue queue dispatch_queue_create cameraQueue NULL captureOutput setSampleBufferDelegate self queue queue dispatch_release queue NSString key NSString kCVPixelBufferPixelFormatTypeKey NSNumber..

This code to write video+audio through AVAssetWriter and AVAssetWriterInputs is not working. Why?

http://stackoverflow.com/questions/4149963/this-code-to-write-videoaudio-through-avassetwriter-and-avassetwriterinputs-is

lastSampleTime _videoWriter finishWriting NSLog @ video recording stopped And finally the CaptureOutput code void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection.. finishWriting NSLog @ video recording stopped And finally the CaptureOutput code void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection if CMSampleBufferDataIsReady.. AVAssetWriterStatusWriting _videoWriter startWriting _videoWriter startSessionAtSourceTime lastSampleTime if captureOutput _videoOutput self newVideoSample sampleBuffer If I add audio to the video then the output file gets corrupted and it..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

http://stackoverflow.com/questions/4944083/can-use-avcapturevideodataoutput-and-avcapturemoviefileoutput-at-the-same-time

startWriting assetWriter startSessionAtSourceTime kCMTimeZero captureSession startRunning ... elsewhere ... void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection.. startSessionAtSourceTime kCMTimeZero captureSession startRunning ... elsewhere ... void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection CVImageBufferRef imageBuffer..

Uploading live streaming video from iPhone [duplicate]

http://stackoverflow.com/questions/5062266/uploading-live-streaming-video-from-iphone

go captureSession startRunning Then the output device's delegate here self has to implement the callback void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection.. Then the output device's delegate here self has to implement the callback void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection CVImageBufferRef imageBuffer..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio

videoOutput 5 As video frames are captured the delegate's method is called with each new frame as a CVImageBuffer void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection.. are captured the delegate's method is called with each new frame as a CVImageBuffer void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection CVImageBufferRef pixelBuffer..

Having trouble creating UIImage from CIImage in iOS5

http://stackoverflow.com/questions/7788438/having-trouble-creating-uiimage-from-ciimage-in-ios5

CIImage in iOS5 I'm using the AVFoundation framework. In my sample buffer delegate I have the following code void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection.. the AVFoundation framework. In my sample buffer delegate I have the following code void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef sampleBuffer fromConnection AVCaptureConnection connection CVPixelBufferRef pb CMSampleBufferGetImageBuffer..