¡@

Home 

2014/10/15 ¤U¤È 10:03:30

iphone Programming Glossary: addoutput

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

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 previewLayer..

Turn on torch/flash on iPhone 4

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

alloc init videoOutput setSampleBufferDelegate self queue dispatch_get_current_queue captureSession addOutput videoOutput captureSession startRunning videoCaptureDevice.torchMode AVCaptureTorchModeOn Does anybody know if this would..

How to properly release an AVCaptureSession

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

error session addInput input AVCaptureVideoDataOutput output AVCaptureVideoDataOutput alloc init autorelease session addOutput output dispatch_queue_t queue dispatch_queue_create augm_reality NULL output setSampleBufferDelegate self queue queue dispatch_release..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

AVCaptureSessionPresetLow self.captureSession addInput captureInput self.captureSession addOutput captureOutput self.prevLayer AVCaptureVideoPreviewLayer layerWithSession self.captureSession self.prevLayer setOrientation.. self setStillImageOutput _stillImageOutput if self.captureSession canAddOutput stillImageOutput self.captureSession addOutput stillImageOutput self.captureSession commitConfiguration self.captureSession startRunning iphone camera avfoundation ..

Reading samples via AVAssetReader

http://stackoverflow.com/questions/4049207/reading-samples-via-avassetreader

asset_reader_output AVAssetReaderTrackOutput alloc initWithTrack video_track outputSettings dictionary asset_reader addOutput asset_reader_output Kick off the asset reader asset_reader startReading Read off the samples CMSampleBufferRef buffer while..

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

_capSession AVCaptureSession alloc init _capSession addInput videoInput _capSession addInput audioInput _capSession addOutput _videoOutput _capSession addOutput _audioOutput _capSession.sessionPreset AVCaptureSessionPresetLow Setup the queue dispatch_queue_t.. init _capSession addInput videoInput _capSession addInput audioInput _capSession addOutput _videoOutput _capSession addOutput _audioOutput _capSession.sessionPreset AVCaptureSessionPresetLow Setup the queue dispatch_queue_t queue dispatch_queue_create..

Extract iPod Library raw PCM samples and play with sound effects

http://stackoverflow.com/questions/4796643/extract-ipod-library-raw-pcm-samples-and-play-with-sound-effects

nil retain if assetReader canAddOutput assetReaderOutput NSLog @ Incompatible Asser Reader Output return assetReader addOutput assetReaderOutput assetReader startReading CMSampleBufferRef nextBuffer while nextBuffer assetReaderOutput copyNextSampleBuffer.. 0 AVAssetReaderTrackOutput output AVAssetReaderTrackOutput alloc initWithTrack songTrack outputSettings nil reader addOutput output output release NSMutableData fullSongData NSMutableData alloc init reader startReading while reader.status AVAssetReaderStatusReading..

Drawing waveform with AVAssetReader

http://stackoverflow.com/questions/5032775/drawing-waveform-with-avassetreader

0 AVAssetReaderTrackOutput output AVAssetReaderTrackOutput alloc initWithTrack songTrack outputSettings nil reader addOutput output output release NSMutableData fullSongData NSMutableData alloc init reader startReading while reader.status AVAssetReaderStatusReading.. output AVAssetReaderTrackOutput alloc initWithTrack songTrack outputSettings outputSettingsDict reader addOutput output output release UInt32 sampleRate channelCount NSArray formatDesc songTrack.formatDescriptions for unsigned int i.. output AVAssetReaderTrackOutput alloc initWithTrack songTrack outputSettings outputSettingsDict reader addOutput output output release UInt32 sampleRate channelCount NSArray formatDesc songTrack.formatDescriptions for unsigned int i..

Uploading live streaming video from iPhone [duplicate]

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

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 previewLayer..

Make movie file with picture Array and song file, using AVAsset

http://stackoverflow.com/questions/6061092/make-movie-file-with-picture-array-and-song-file-using-avasset

readerOutput AVAssetReaderTrackOutput assetReaderTrackOutputWithTrack audioTrack outputSettings nil audioReader addOutput readerOutput NSParameterAssert videoWriterInput NSParameterAssert audioWriterInput NSParameterAssert videoWriter canAddInput..

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 captureSession addOutput stillOutput 4 Hook up an AVCaptureVideoDataOutput to the session to be able to capture individual video frames CVImageBuffers.. kCVPixelBufferPixelFormatTypeKey videoOutput setSampleBufferDelegate self queue dispatch_get_main_queue captureSession addOutput videoOutput 5 As video frames are captured the delegate's method is called with each new frame as a CVImageBuffer void captureOutput..

iOS 5.0 crash when reading data from an AVAssetReaderOutput

http://stackoverflow.com/questions/7812394/ios-5-0-crash-when-reading-data-from-an-avassetreaderoutput

ot AVAssetReaderTrackOutput assetReaderTrackOutputWithTrack track outputSettings nil myOutputs addObject ot reader addOutput ot reader startReading NSFileHandle fileHandle NSFileManager fm NSFileManager defaultManager if fm fileExistsAtPath fileURL..

Video Encoding using AVAssetWriter - CRASHES

http://stackoverflow.com/questions/8191840/video-encoding-using-avassetwriter-crashes

asset_reader_output AVAssetReaderTrackOutput alloc initWithTrack videoTrack outputSettings videoOptions reader addOutput asset_reader_output audio setup AVAssetWriterInput audioWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeAudio.. readerOutput AVAssetReaderTrackOutput assetReaderTrackOutputWithTrack audioTrack outputSettings nil audioReader addOutput readerOutput NSParameterAssert audioWriterInput NSParameterAssert videoWriter canAddInput audioWriterInput audioWriterInput.expectsMediaDataInRealTime..