¡@

Home 

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

iphone Programming Glossary: captureinput

How to change video orientation for AVCaptureVideoDataOutput

http://stackoverflow.com/questions/3823461/how-to-change-video-orientation-for-avcapturevideodataoutput

isVideoOrientationSupported is always false is it somehow possible to fix it Here is some code AVCaptureDeviceInput captureInput AVCaptureDeviceInput deviceInputWithDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo error nil We setupt.. self.captureSession.sessionPreset AVCaptureSessionPresetLow We add input and output if self.captureSession canAddInput captureInput self.captureSession addInput captureInput if self.captureSession canAddOutput captureOutput self.captureSession addOutput.. We add input and output if self.captureSession canAddInput captureInput self.captureSession addInput captureInput if self.captureSession canAddOutput captureOutput self.captureSession addOutput captureOutput We add the preview layer self.prevLayer..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

^ CMSampleBufferRef imageDataSampleBuffer NSError error NSLog @ inside void initCapture AVCaptureDeviceInput captureInput AVCaptureDeviceInput deviceInputWithDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo error nil AVCaptureVideoDataOutput.. AVCaptureSession alloc init self.captureSession.sessionPreset AVCaptureSessionPresetLow self.captureSession addInput captureInput self.captureSession addOutput captureOutput self.prevLayer AVCaptureVideoPreviewLayer layerWithSession self.captureSession..

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

http://stackoverflow.com/questions/3968879/simultaneous-avcapturevideodataoutput-and-avcapturemoviefileoutput

AVCaptureVideoDataOutput and AVCaptureMovieFileOutput working simultaneously. void initCapture AVCaptureDeviceInput captureInput AVCaptureDeviceInput deviceInputWithDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo error NULL captureDataOutput.. captureDataOutput setVideoSettings videoSettings captureSession AVCaptureSession alloc init captureSession addInput captureInput captureSession addOutput m_captureFileOutput captureSession addOutput captureDataOutput captureSession beginConfiguration..

How can I mute the capture sound in AVFoundation?

http://stackoverflow.com/questions/9557081/how-can-i-mute-the-capture-sound-in-avfoundation

Your Session Like this void initialize_and_Start_Session_without_CaptureSound We setup the input AVCaptureDeviceInput captureInput AVCaptureDeviceInput deviceInputWithDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo error nil We.. And we create a capture session self.session AVCaptureSession alloc init We add input and output self.session addInput captureInput self.session addOutput captureOutput We start the capture self.session startRunning You will get the camera output in the..