¡@

Home 

2014/10/15 ¤U¤È 10:13:59

iphone Programming Glossary: setsamplebufferdelegate

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

deviceError make output device AVCaptureVideoDataOutput outputDevice AVCaptureVideoDataOutput alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init..

Turn on torch/flash on iPhone 4

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

addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue captureSession addOutput videoOutput captureSession startRunning videoCaptureDevice.torchMode..

iPhone: AVCaptureSession capture output crashing (AVCaptureVideoDataOutput)

http://stackoverflow.com/questions/3331644/iphone-avcapturesession-capture-output-crashing-avcapturevideodataoutput

for manual preview dispatch_queue_t my_queue dispatch_queue_create com.example.subsystem.taskXYZ NULL videoOut setSampleBufferDelegate self queue my_queue if self.captureSession canAddOutput videoOut self.captureSession addOutput videoOut else NSLog @ Couldn't..

How to properly release an AVCaptureSession

http://stackoverflow.com/questions/3741121/how-to-properly-release-an-avcapturesession

alloc init autorelease session addOutput output dispatch_queue_t queue dispatch_queue_create augm_reality NULL output setSampleBufferDelegate self queue queue dispatch_release queue previewLayer AVCaptureVideoPreviewLayer layerWithSession session retain previewLayer.frame.. augm_reality NULL dispatch_set_context queue self dispatch_set_finalizer_f queue capture_cleanup output setSampleBufferDelegate self queue queue dispatch_release queue self retain ... Unfortunately I now have to explicitly stop capturing. Otherwise..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

YES dispatch_queue_t queue queue dispatch_queue_create cameraQueue NULL captureOutput setSampleBufferDelegate self queue queue dispatch_release queue NSString key NSString kCVPixelBufferPixelFormatTypeKey NSNumber value NSNumber numberWithUnsignedInt..

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

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

AVMediaTypeVideo error NULL captureDataOutput AVCaptureVideoDataOutput alloc init captureDataOutput setSampleBufferDelegate self queue dispatch_get_main_queue m_captureFileOutput AVCaptureMovieFileOutput alloc init NSString key NSString kCVPixelBufferPixelFormatTypeKey..

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

AVCaptureSessionPresetLow Setup the queue dispatch_queue_t queue dispatch_queue_create MyQueue NULL _videoOutput setSampleBufferDelegate self queue queue _audioOutput setSampleBufferDelegate self queue queue dispatch_release queue Setting up AVAssetWriter and.. queue dispatch_queue_create MyQueue NULL _videoOutput setSampleBufferDelegate self queue queue _audioOutput setSampleBufferDelegate self queue queue dispatch_release queue Setting up AVAssetWriter and associating both audio and video AVAssetWriterInputs..

Applying Effect to iPhone Camera Preview “Video”

http://stackoverflow.com/questions/4893620/applying-effect-to-iphone-camera-preview-video

change FROM Configure your output. dispatch_queue_t queue dispatch_queue_create myQueue NULL output setSampleBufferDelegate self queue queue dispatch_release queue TO we want our dispatch to be on the main thread output setSampleBufferDelegate..

Uploading live streaming video from iPhone [duplicate]

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

deviceError make output device AVCaptureVideoDataOutput outputDevice AVCaptureVideoDataOutput alloc init outputDevice setSampleBufferDelegate self queue dispatch_get_main_queue initialize capture session AVCaptureSession captureSession AVCaptureSession alloc init..

AVAssetWritter does not work with audio

http://stackoverflow.com/questions/5200077/avassetwritter-does-not-work-with-audio

output output.minFrameDuration CMTimeMake 1 30 dispatch_queue_t queue dispatch_queue_create MY QUEUE NULL output setSampleBufferDelegate self queue queue dispatch_release queue audio_output AVCaptureAudioDataOutput alloc init retain queue dispatch_queue_create.. alloc init autorelease special_delegate normal_delegate self special_delegate retain audio_output setSampleBufferDelegate special_delegate queue queue dispatch_release queue session startRunning Here is the beginning and end of recording if recording..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

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

NSNumber numberWithInt kCVPixelFormatType_32BGRA forKey id kCVPixelBufferPixelFormatTypeKey videoOutput setSampleBufferDelegate self queue dispatch_get_main_queue captureSession addOutput videoOutput 5 As video frames are captured the delegate's method..

iPhone AVCaptureDeviceInput How to Set Quality of Audio Capture?

http://stackoverflow.com/questions/7796263/iphone-avcapturedeviceinput-how-to-set-quality-of-audio-capture

error error captureSession addInput audioInput audioOutput AVCaptureAudioDataOutput alloc init audioOutput setSampleBufferDelegate self queue dispatch_get_main_queue captureSession addOutput audioOutput iphone audio recording audio capture share improve..

iPhone take augmented reality screenshot with AVCaptureVideoPreviewLayer

http://stackoverflow.com/questions/8980847/iphone-take-augmented-reality-screenshot-with-avcapturevideopreviewlayer

captureOutput AVCaptureVideoDataOutput alloc init captureOutput setAlwaysDiscardsLateVideoFrames YES captureOutput setSampleBufferDelegate self queue queue captureOutput setVideoSettings videoSettings dispatch_release queue else handle failure previewLayer AVCaptureVideoPreviewLayer.. captureOutput AVCaptureVideoDataOutput alloc init captureOutput setAlwaysDiscardsLateVideoFrames YES captureOutput setSampleBufferDelegate self queue queue captureOutput setVideoSettings videoSettings dispatch_release queue ......configure audio feed add inputs..

AVCaptureSession specify resolution and quality of captured images obj-c iphone app

http://stackoverflow.com/questions/9312832/avcapturesession-specify-resolution-and-quality-of-captured-images-obj-c-iphone

@ output.connections Configure your output. dispatch_queue_t queue dispatch_queue_create myQueue NULL output setSampleBufferDelegate self queue queue dispatch_release queue Specify the pixel format output.videoSettings NSDictionary dictionaryWithObject..

How can I mute the capture sound in AVFoundation?

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

handle the processing of our frames dispatch_queue_t queue queue dispatch_queue_create cameraQueue NULL captureOutput setSampleBufferDelegate self queue queue dispatch_release queue Set the video output to store frame in BGRA It is supposed to be faster NSString..