¡@

Home 

2014/10/15 ¤U¤È 10:09:24

iphone Programming Glossary: fromconnections

iPhone AVFoundation camera orientation

http://stackoverflow.com/questions/3662930/iphone-avfoundation-camera-orientation

it. The code from my app is... AVCaptureConnection videoConnection CameraVC connectionWithMediaType AVMediaTypeVideo fromConnections imageCaptureOutput connections if videoConnection isVideoOrientationSupported videoConnection setVideoOrientation UIApplication.. WWDC app is... AVCaptureConnection videoConnection AVCamDemoCaptureManager connectionWithMediaType AVMediaTypeVideo fromConnections self stillImageOutput connections if videoConnection isVideoOrientationSupported videoConnection setVideoOrientation AVCaptureVideoOrientationPortrait.. This goes in as so... AVCaptureConnection videoConnection CameraVC connectionWithMediaType AVMediaTypeVideo fromConnections imageCaptureOutput connections if videoConnection isVideoOrientationSupported videoConnection setVideoOrientation UIDevice..

Video Recording using AVFoundation Framework iPhone?

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

void startRecording AVCaptureConnection videoConnection playVideo connectionWithMediaType AVMediaTypeVideo fromConnections self movieFileOutput connections if videoConnection isVideoOrientationSupported videoConnection setVideoOrientation self.. saved outputPath release return outputURL autorelease AVCaptureConnection connectionWithMediaType NSString mediaType fromConnections NSArray connections for AVCaptureConnection connection in connections for AVCaptureInputPort port in connection inputPorts.. return nil void captureOutput AVCaptureFileOutput captureOutput didStartRecordingToOutputFileAtURL NSURL fileURL fromConnections NSArray connections void captureOutput AVCaptureFileOutput captureOutput didFinishRecordingToOutputFileAtURL NSURL outputFileURL..

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

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

autorelease void captureOutput AVCaptureFileOutput captureOutput didStartRecordingToOutputFileAtURL NSURL fileURL fromConnections NSArray connections NSLog @ start record video void captureOutput AVCaptureFileOutput captureOutput didFinishRecordingToOutputFileAtURL.. video void captureOutput AVCaptureFileOutput captureOutput didFinishRecordingToOutputFileAtURL NSURL outputFileURL fromConnections NSArray connections error NSError error NSLog @ end record void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer.. from void captureOutput AVCaptureFileOutput captureOutput didFinishRecordingToOutputFileAtURL NSURL outputFileURL fromConnections NSArray connections error NSError error Cheers iphone ios camera video capture record share improve this question I..