¡@

Home 

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

iphone Programming Glossary: avcapturevideodataoutput

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

inputDevice AVCaptureDeviceInput deviceInputWithDevice cameraDevice error deviceError make output device AVCaptureVideoDataOutput outputDevice AVCaptureVideoDataOutput alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue.. deviceInputWithDevice cameraDevice error deviceError make output device AVCaptureVideoDataOutput outputDevice AVCaptureVideoDataOutput alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession..

Turn on torch/flash on iPhone 4

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

deviceInputWithDevice videoCaptureDevice error error if videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue.. videoCaptureDevice error error if videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue captureSession addOutput videoOutput..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

AVCaptureDeviceInput deviceInputWithDevice AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo error nil AVCaptureVideoDataOutput captureOutput AVCaptureVideoDataOutput alloc init captureOutput.alwaysDiscardsLateVideoFrames YES dispatch_queue_t queue.. AVCaptureDevice defaultDeviceWithMediaType AVMediaTypeVideo error nil AVCaptureVideoDataOutput captureOutput AVCaptureVideoDataOutput alloc init captureOutput.alwaysDiscardsLateVideoFrames YES dispatch_queue_t queue queue dispatch_queue_create cameraQueue.. had this problem when 4.0 was still in beta. I tried a fair bunch of things. Here goes AVCaptureStillImageOutput and AVCaptureVideoDataOutput do not appear to play nicely with each other. If the video output is running the image output never seems to complete until..

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

very well. When I add audio the output file is corrupted and cannot be reproduced. Here is part of my code Setting up AVCaptureVideoDataOutput and AVCaptureAudioDataOutput NSError error nil Setup the video input AVCaptureDevice videoDevice AVCaptureDevice defaultDeviceWithMediaType.. videoInput AVCaptureDeviceInput deviceInputWithDevice videoDevice error error Setup the video output _videoOutput AVCaptureVideoDataOutput alloc init _videoOutput.alwaysDiscardsLateVideoFrames NO _videoOutput.videoSettings NSDictionary dictionaryWithObject NSNumber..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

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

use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time I want to record video and grab frames at the same time with my code. I am.. at the same time I want to record video and grab frames at the same time with my code. I am using AVCaptureVideoDataOutput for grab frames and AVCaptureMovieFileOutput for video recording. But can't work and get the error code 12780 while working.. put but I've been successfully recording video and grabbing frames at the same time using AVCaptureSession and AVCaptureVideoDataOutput to route frames into my own code AVAssetWriter AVAssetWriterInput and AVAssetWriterInputPixelBufferAdaptor to write frames..

Uploading live streaming video from iPhone [duplicate]

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

inputDevice AVCaptureDeviceInput deviceInputWithDevice cameraDevice error deviceError make output device AVCaptureVideoDataOutput outputDevice AVCaptureVideoDataOutput alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue.. deviceInputWithDevice cameraDevice error deviceError make output device AVCaptureVideoDataOutput outputDevice AVCaptureVideoDataOutput alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

kCVPixelFormatType_32BGRA forKey id kCVPixelBufferPixelFormatTypeKey captureSession addOutput stillOutput 4 Hook up an AVCaptureVideoDataOutput to the session to be able to capture individual video frames CVImageBuffers at a lower resolution videoOutput AVCaptureVideoDataOutput.. 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 kCVPixelFormatType_32BGRA..

iPhone Watermark on recorded Video.

http://stackoverflow.com/questions/7205820/iphone-watermark-on-recorded-video

watermark video watermarking share improve this question Use AVFoundation . I would suggest grabbing frames with AVCaptureVideoDataOutput then overlaying the captured frame with the watermark image and finally writing captured and processed frames to a file.. and direct access to the camera this is a really great tutorial that among other topics details exactly how to use AVCaptureVideoDataOutput . iPhone AVCaptureSession capture output crashing AVCaptureVideoDataOutput this post might be helpful just by nature of.. other topics details exactly how to use AVCaptureVideoDataOutput . iPhone AVCaptureSession capture output crashing AVCaptureVideoDataOutput this post might be helpful just by nature of containing less non relevant code. But the examples there won't work on their..

Having trouble creating UIImage from CIImage in iOS5

http://stackoverflow.com/questions/7788438/having-trouble-creating-uiimage-from-ciimage-in-ios5

AVMediaTypeVideo self.videoInput AVCaptureDeviceInput deviceInputWithDevice videoDevice error nil self.frameOutput AVCaptureVideoDataOutput alloc init self.frameOutput.videoSettings NSDictionary dictionaryWithObject NSNumber numberWithInt kCVPixelFormatType_32BGRA..