¡@

Home 

2014/10/15 ¤U¤È 10:12:24

iphone Programming Glossary: outputsettings

How do I export UIImage array as a movie?

http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie

AVVideoHeightKey nil AVAssetWriterInput writerInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain NSParameterAssert writerInput NSParameterAssert videoWriter canAddInput writerInput videoWriter addInput..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

file outputs AVCaptureStillImageOutput _stillImageOutput AVCaptureStillImageOutput alloc init autorelease NSDictionary outputSettings NSDictionary alloc initWithObjectsAndKeys AVVideoCodecJPEG AVVideoCodecKey nil _stillImageOutput setOutputSettings outputSettings.. NSDictionary alloc initWithObjectsAndKeys AVVideoCodecJPEG AVVideoCodecKey nil _stillImageOutput setOutputSettings outputSettings outputSettings release self setStillImageOutput _stillImageOutput if self.captureSession canAddOutput stillImageOutput self.captureSession.. initWithObjectsAndKeys AVVideoCodecJPEG AVVideoCodecKey nil _stillImageOutput setOutputSettings outputSettings outputSettings release self setStillImageOutput _stillImageOutput if self.captureSession canAddOutput stillImageOutput self.captureSession..

ASSETWriterInput for making Video from UIImages on Iphone Issues

http://stackoverflow.com/questions/3983882/assetwriterinput-for-making-video-from-uiimages-on-iphone-issues

nil AVAssetWriterInput writerInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain AVAssetWriterInputPixelBufferAdaptor adaptor AVAssetWriterInputPixelBufferAdaptor assetWriterInputPixelBufferAdaptorWithAssetWriterInput..

Reading samples via AVAssetReader

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

the asset reader AVAssetReaderTrackOutput 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..

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

nil _videoWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain NSParameterAssert _videoWriterInput _videoWriterInput.expectsMediaDataInRealTime YES Add the audio.. acl AVChannelLayoutKey nil _audioWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeAudio outputSettings audioOutputSettings retain _audioWriterInput.expectsMediaDataInRealTime YES add input _videoWriter addInput _videoWriterInput..

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

objectAtIndex 0 AVAssetReaderTrackOutput output AVAssetReaderTrackOutput alloc initWithTrack songTrack outputSettings nil reader addOutput output output release NSMutableData fullSongData NSMutableData alloc init reader startReading while..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

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

a suitable dispatch queue affixed. to prepare for output I'll output 640x480 in H.264 via an asset writer NSDictionary outputSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt 640 AVVideoWidthKey NSNumber numberWithInt 480 AVVideoHeightKey.. nil AVAssetWriterInput assetWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings outputSettings I'm going to push pixel buffers to it so will need a AVAssetWriterPixelBufferAdaptor to expect the same 32BGRA.. assetWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings outputSettings I'm going to push pixel buffers to it so will need a AVAssetWriterPixelBufferAdaptor to expect the same 32BGRA input as..

Drawing waveform with AVAssetReader

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

audioUrl.tracks objectAtIndex 0 AVAssetReaderTrackOutput output AVAssetReaderTrackOutput alloc initWithTrack songTrack outputSettings nil reader addOutput output output release NSMutableData fullSongData NSMutableData alloc init reader startReading while.. alloc initWithAsset songAsset error error AVAssetTrack songTrack songAsset.tracks objectAtIndex 0 NSDictionary outputSettingsDict NSDictionary alloc initWithObjectsAndKeys NSNumber numberWithInt kAudioFormatLinearPCM AVFormatIDKey NSNumber numberWithInt.. nil AVAssetReaderTrackOutput output AVAssetReaderTrackOutput alloc initWithTrack songTrack outputSettings outputSettingsDict reader addOutput output output release UInt32 sampleRate channelCount NSArray formatDesc songTrack.formatDescriptions..

AVFoundation + AssetWriter: Generate Movie With Images and Audio

http://stackoverflow.com/questions/5640657/avfoundation-assetwriter-generate-movie-with-images-and-audio

nil AVAssetWriterInput videoWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain AVAssetWriterInputPixelBufferAdaptor adaptor AVAssetWriterInputPixelBufferAdaptor assetWriterInputPixelBufferAdaptorWithAssetWriterInput..

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

nil AVAssetWriterInput videoWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain AVAssetWriterInput audioWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeAudio.. retain AVAssetWriterInput audioWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeAudio outputSettings audioSettings retain NSURL fileURL NSBundle mainBundle URLForResource @ Big_Voice_1 withExtension @ caf NSLog @ @ fileURL.. objectAtIndex 0 AVAssetReaderOutput readerOutput AVAssetReaderTrackOutput assetReaderTrackOutputWithTrack audioTrack outputSettings nil audioReader addOutput readerOutput NSParameterAssert videoWriterInput NSParameterAssert audioWriterInput NSParameterAssert..