iphone Programming Glossary: addinput
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 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 on screen..
Turn on torch/flash on iPhone 4 http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4 videoInput AVCaptureDeviceInput deviceInputWithDevice videoCaptureDevice error error if videoInput captureSession addInput videoInput AVCaptureVideoDataOutput videoOutput AVCaptureVideoDataOutput alloc init videoOutput setSampleBufferDelegate..
How to properly release an AVCaptureSession http://stackoverflow.com/questions/3741121/how-to-properly-release-an-avcapturesession alloc init AVCaptureDeviceInput input AVCaptureDeviceInput deviceInputWithDevice camera error error session addInput input AVCaptureVideoDataOutput output AVCaptureVideoDataOutput alloc init autorelease session addOutput output dispatch_queue_t..
How do I export UIImage array as a movie? http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie videoSettings retain NSParameterAssert writerInput NSParameterAssert videoWriter canAddInput writerInput videoWriter addInput writerInput 2 Start a session videoWriter startWriting videoWriter startSessionAtSourceTime ¦] 3 Write some samples Or you..
iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly? http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec AVCaptureSession alloc init self.captureSession.sessionPreset AVCaptureSessionPresetLow self.captureSession addInput captureInput self.captureSession addOutput captureOutput self.prevLayer AVCaptureVideoPreviewLayer layerWithSession self.captureSession..
Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput http://stackoverflow.com/questions/3968879/simultaneous-avcapturevideodataoutput-and-avcapturemoviefileoutput forKey key captureDataOutput setVideoSettings videoSettings captureSession AVCaptureSession alloc init captureSession addInput captureInput captureSession addOutput m_captureFileOutput captureSession addOutput captureDataOutput captureSession beginConfiguration..
ASSETWriterInput for making Video from UIImages on Iphone Issues http://stackoverflow.com/questions/3983882/assetwriterinput-for-making-video-from-uiimages-on-iphone-issues nil NSParameterAssert writerInput NSParameterAssert videoWriter canAddInput writerInput videoWriter addInput writerInput Start a session videoWriter startWriting videoWriter startSessionAtSourceTime kCMTimeZero Write samples CVPixelBufferRef..
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 AVCaptureAudioDataOutput alloc init Create the session _capSession AVCaptureSession alloc init _capSession addInput videoInput _capSession addInput audioInput _capSession addOutput _videoOutput _capSession addOutput _audioOutput _capSession.sessionPreset.. alloc init Create the session _capSession AVCaptureSession alloc init _capSession addInput videoInput _capSession addInput audioInput _capSession addOutput _videoOutput _capSession addOutput _audioOutput _capSession.sessionPreset AVCaptureSessionPresetLow.. outputSettings audioOutputSettings retain _audioWriterInput.expectsMediaDataInRealTime YES add input _videoWriter addInput _videoWriterInput _videoWriter addInput _audioWriterInput return YES here are functions to start stop video recording void..
Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time? http://stackoverflow.com/questions/4944083/can-use-avcapturevideodataoutput-and-avcapturemoviefileoutput-at-the-same-time fileType AVFileTypeMPEG4 error you need to check error conditions this example is too lazy assetWriter addInput assetWriterInput we need to warn the input to expect real time data incoming so that it tries to avoid being unavailable..
Uploading live streaming video from iPhone [duplicate] http://stackoverflow.com/questions/5062266/uploading-live-streaming-video-from-iphone 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 on screen..
AVFoundation + AssetWriter: Generate Movie With Images and Audio http://stackoverflow.com/questions/5640657/avfoundation-assetwriter-generate-movie-with-images-and-audio NSParameterAssert videoWriter canAddInput videoWriterInput videoWriterInput.expectsMediaDataInRealTime YES videoWriter addInput videoWriterInput Start a session videoWriter startWriting videoWriter startSessionAtSourceTime kCMTimeZero CVPixelBufferRef..
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 audioWriterInput.expectsMediaDataInRealTime NO videoWriterInput.expectsMediaDataInRealTime YES videoWriter addInput audioWriterInput videoWriter addInput videoWriterInput Start a session videoWriter startWriting videoWriter startSessionAtSourceTime.. NO videoWriterInput.expectsMediaDataInRealTime YES videoWriter addInput audioWriterInput videoWriter addInput videoWriterInput Start a session videoWriter startWriting videoWriter startSessionAtSourceTime kCMTimeZero Video encoding.. NSParameterAssert videoWriter canAddInput videoWriterInput videoWriterInput.expectsMediaDataInRealTime YES videoWriter addInput videoWriterInput Start a session videoWriter startWriting videoWriter startSessionAtSourceTime kCMTimeZero Video encoding..
iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio 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...
Video Encoding using AVAssetWriter - CRASHES http://stackoverflow.com/questions/8191840/video-encoding-using-avassetwriter-crashes NSParameterAssert videoWriter canAddInput videoWriterInput videoWriterInput.expectsMediaDataInRealTime YES videoWriter addInput videoWriterInput NSError aerror nil AVAssetReader reader AVAssetReader alloc initWithAsset avAsset error aerror AVAssetTrack.. NSParameterAssert videoWriter canAddInput audioWriterInput audioWriterInput.expectsMediaDataInRealTime NO videoWriter addInput audioWriterInput videoWriter startWriting videoWriter startSessionAtSourceTime kCMTimeZero reader startReading dispatch_queue_t..
|