¡@

Home 

2014/10/15 ¤U¤È 10:15:46

iphone Programming Glossary: videooutput

Turn on torch/flash on iPhone 4

http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4

videoCaptureDevice error error if videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue captureSession.. videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue captureSession addOutput videoOutput captureSession startRunning.. alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue captureSession addOutput videoOutput captureSession startRunning videoCaptureDevice.torchMode AVCaptureTorchModeOn Does anybody know if this would work or am..

How to get the Y component from CMSampleBuffer resulted from the AVCaptureSession?

http://stackoverflow.com/questions/4085474/how-to-get-the-y-component-from-cmsamplebuffer-resulted-from-the-avcapturesessio

that returns the raw camera frames you can set the format of the frames using code like the following videoOutput setVideoSettings NSDictionary dictionaryWithObject NSNumber numberWithInt kCVPixelFormatType_32BGRA forKey id kCVPixelBufferPixelFormatTypeKey..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

to the session to be able to capture individual video frames CVImageBuffers at a lower resolution videoOutput AVCaptureVideoDataOutput alloc init videoOutput setVideoSettings NSDictionary dictionaryWithObject NSNumber numberWithInt.. capture individual video frames CVImageBuffers at a lower resolution videoOutput AVCaptureVideoDataOutput alloc init videoOutput setVideoSettings NSDictionary dictionaryWithObject NSNumber numberWithInt kCVPixelFormatType_32BGRA forKey id kCVPixelBufferPixelFormatTypeKey.. dictionaryWithObject NSNumber numberWithInt kCVPixelFormatType_32BGRA forKey id kCVPixelBufferPixelFormatTypeKey videoOutput setSampleBufferDelegate self queue dispatch_get_main_queue captureSession addOutput videoOutput 5 As video frames are captured..

AVCaptureSession only got video buffer

http://stackoverflow.com/questions/9257052/avcapturesession-only-got-video-buffer

videoInput AVCaptureDeviceInput deviceInputWithDevice videoDevice error error Setup the video output videoOutput AVCaptureVideoDataOutput alloc init videoOutput.alwaysDiscardsLateVideoFrames NO videoOutput.minFrameDuration CMTimeMake.. deviceInputWithDevice videoDevice error error Setup the video output videoOutput AVCaptureVideoDataOutput alloc init videoOutput.alwaysDiscardsLateVideoFrames NO videoOutput.minFrameDuration CMTimeMake 20 600 videoOutput.videoSettings NSDictionary dictionaryWithObject.. Setup the video output videoOutput AVCaptureVideoDataOutput alloc init videoOutput.alwaysDiscardsLateVideoFrames NO videoOutput.minFrameDuration CMTimeMake 20 600 videoOutput.videoSettings NSDictionary dictionaryWithObject NSNumber numberWithInt kCVPixelFormatType_32BGRA..