¡@

Home 

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

iphone Programming Glossary: videoinput

Turn on torch/flash on iPhone 4

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

videoCaptureDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo NSError error nil AVCaptureDeviceInput videoInput AVCaptureDeviceInput deviceInputWithDevice videoCaptureDevice error error if videoInput captureSession addInput videoInput.. error nil AVCaptureDeviceInput videoInput AVCaptureDeviceInput deviceInputWithDevice videoCaptureDevice error error if videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput.. AVCaptureDeviceInput deviceInputWithDevice videoCaptureDevice error error if videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate self queue..

Video Recording using AVFoundation Framework iPhone?

http://stackoverflow.com/questions/3932614/video-recording-using-avfoundation-framework-iphone

on AVCaptureDevice videoCaptureDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo AVCaptureDeviceInput videoInput AVCaptureDeviceInput alloc initWithDevice videoCaptureDevice error nil AVCaptureMovieFileOutput movieFileOutput AVCaptureMovieFileOutput.. alloc init movieFileOutput release AVCaptureSession session AVCaptureSession alloc init session addInput videoInput session addOutput movieFileOutput self setSession session crashes if session isRunning self performSelector @selector startRecording..

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

AVMediaTypeVideo Create a device input with the device and add it to the session. AVCaptureDeviceInput videoInput AVCaptureDeviceInput deviceInputWithDevice videoDevice error error Setup the video output _videoOutput AVCaptureVideoDataOutput.. AVCaptureAudioDataOutput alloc init Create the session _capSession AVCaptureSession alloc init _capSession addInput videoInput _capSession addInput audioInput _capSession addOutput _videoOutput _capSession addOutput _audioOutput _capSession.sessionPreset..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

setSessionPreset AVCaptureSessionPreset640x480 2 Hook up an AVCaptureDeviceInput using the back facing camera. videoInput AVCaptureDeviceInput alloc initWithDevice backFacingCamera error error autorelease captureSession addInput videoInput 3.. videoInput AVCaptureDeviceInput alloc initWithDevice backFacingCamera error error autorelease captureSession addInput videoInput 3 Hook up an AVCaptureStillImageOutput to the session to be able to capture still frames at Photo resolution. stillOutput..

AVCaptureSession only got video buffer

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

AVMediaTypeVideo Create a device input with the device and add it to the session. AVCaptureDeviceInput videoInput AVCaptureDeviceInput deviceInputWithDevice videoDevice error error Setup the video output videoOutput AVCaptureVideoDataOutput.. alloc init Create the session captureSession AVCaptureSession alloc init captureSession addInput videoInput captureSession addInput audioInput captureSession addOutput videoOutput captureSession addOutput audioOutput captureSession.sessionPreset..