¡@

Home 

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

iphone Programming Glossary: capturesession

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

outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview.. initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed.. session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer..

Turn on torch/flash on iPhone 4

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

video camera on. I'm not too sure of the code though. Here is what I am trying IBAction turnTorchOn AVCaptureSession captureSession AVCaptureSession alloc init AVCaptureDevice videoCaptureDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo.. videoInput AVCaptureDeviceInput deviceInputWithDevice videoCaptureDevice error error if videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate.. AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue captureSession addOutput videoOutput captureSession startRunning videoCaptureDevice.torchMode AVCaptureTorchModeOn Does anybody know if..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

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

problems with skimmed over and ignoring issues of scope to ensure I'm given incoming CMSampleBuffers AVCaptureSession captureSession alloc and init set your preferred preset etc AVCaptureDevice captureDevice default for video probably AVCaptureDeviceInput.. YES ... eventually ... assetWriter startWriting assetWriter startSessionAtSourceTime kCMTimeZero captureSession startRunning ... elsewhere ... void captureOutput AVCaptureOutput captureOutput didOutputSampleBuffer CMSampleBufferRef..

Uploading live streaming video from iPhone [duplicate]

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

outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview.. initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed.. session AVCaptureSession captureSession AVCaptureSession alloc init autorelease captureSession addInput inputDevice captureSession addOutput outputDevice make preview layer and add so that camera's view is displayed on screen AVCaptureVideoPreviewLayer..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

photo that is saved in their iPhone library. To do this the app follows this procedure 1 Create an AVCaptureSession captureSession AVCaptureSession alloc init captureSession setSessionPreset AVCaptureSessionPreset640x480 2 Hook up an AVCaptureDeviceInput.. To do this the app follows this procedure 1 Create an AVCaptureSession captureSession AVCaptureSession alloc init captureSession setSessionPreset AVCaptureSessionPreset640x480 2 Hook up an AVCaptureDeviceInput using the back facing camera. videoInput.. the back facing camera. 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...