¡@

Home 

2014/10/15 ¤U¤È 10:15:46

iphone Programming Glossary: videosettings

How do I export UIImage array as a movie?

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

fileURLWithPath somePath fileType AVFileTypeQuickTimeMovie error error NSParameterAssert videoWriter NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber numberWithInt 640 AVVideoWidthKey NSNumber.. nil AVAssetWriterInput writerInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain NSParameterAssert writerInput NSParameterAssert videoWriter canAddInput writerInput videoWriter addInput writerInput..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

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

kCVPixelBufferPixelFormatTypeKey NSNumber value NSNumber numberWithUnsignedInt kCVPixelFormatType_32BGRA NSDictionary videoSettings NSDictionary dictionaryWithObject value forKey key captureOutput setVideoSettings videoSettings self.captureSession AVCaptureSession.. NSDictionary videoSettings NSDictionary dictionaryWithObject value forKey key captureOutput setVideoSettings videoSettings self.captureSession AVCaptureSession alloc init self.captureSession.sessionPreset AVCaptureSessionPresetLow self.captureSession..

Simultaneous AVCaptureVideoDataOutput and AVCaptureMovieFileOutput

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

kCVPixelBufferPixelFormatTypeKey NSNumber value NSNumber numberWithUnsignedInt kCVPixelFormatType_32BGRA NSDictionary videoSettings NSDictionary dictionaryWithObject value forKey key captureDataOutput setVideoSettings videoSettings captureSession AVCaptureSession.. NSDictionary videoSettings NSDictionary dictionaryWithObject value forKey key captureDataOutput setVideoSettings videoSettings captureSession AVCaptureSession alloc init captureSession addInput captureInput captureSession addOutput m_captureFileOutput..

ASSETWriterInput for making Video from UIImages on Iphone Issues

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

NSURL fileURLWithPath path fileType AVFileTypeQuickTimeMovie error error NSParameterAssert videoWriter NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber numberWithInt size.width AVVideoWidthKey.. AVAssetWriterInput writerInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain AVAssetWriterInputPixelBufferAdaptor adaptor AVAssetWriterInputPixelBufferAdaptor assetWriterInputPixelBufferAdaptorWithAssetWriterInput..

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

output _videoOutput AVCaptureVideoDataOutput alloc init _videoOutput.alwaysDiscardsLateVideoFrames NO _videoOutput.videoSettings NSDictionary dictionaryWithObject NSNumber numberWithInt kCVPixelFormatType_32BGRA forKey id kCVPixelBufferPixelFormatTypeKey.. dictionaryWithObjectsAndKeys NSNumber numberWithDouble 128.0 1024.0 AVVideoAverageBitRateKey nil NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber numberWithInt 192 AVVideoWidthKey.. nil _videoWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain NSParameterAssert _videoWriterInput _videoWriterInput.expectsMediaDataInRealTime YES Add the audio input AudioChannelLayout..

AVFoundation + AssetWriter: Generate Movie With Images and Audio

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

NSURL fileURLWithPath path fileType AVFileTypeQuickTimeMovie error error NSParameterAssert videoWriter NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber numberWithInt size.width AVVideoWidthKey.. 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

NSURL fileURLWithPath path fileType AVFileTypeMPEG4 error error NSParameterAssert videoWriter NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber numberWithInt size.width AVVideoWidthKey.. videoWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain AVAssetWriterInput audioWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeAudio outputSettings.. NSURL fileURLWithPath path fileType AVFileTypeMPEG4 error error NSParameterAssert videoWriter NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber numberWithInt size.width AVVideoWidthKey..

Video Encoding using AVAssetWriter - CRASHES

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

NSParameterAssert videoWriter AVAsset avAsset AVURLAsset alloc initWithURL path options nil autorelease NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber numberWithInt 1280 AVVideoWidthKey.. videoWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeVideo outputSettings videoSettings retain NSParameterAssert videoWriterInput NSParameterAssert videoWriter canAddInput videoWriterInput videoWriterInput.expectsMediaDataInRealTime..

How can I mute the capture sound in AVFoundation?

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

kCVPixelBufferPixelFormatTypeKey NSNumber value NSNumber numberWithUnsignedInt kCVPixelFormatType_32BGRA NSDictionary videoSettings NSDictionary dictionaryWithObject value forKey key captureOutput setVideoSettings videoSettings And we create a capture.. NSDictionary videoSettings NSDictionary dictionaryWithObject value forKey key captureOutput setVideoSettings videoSettings And we create a capture session self.session AVCaptureSession alloc init We add input and output self.session addInput captureInput..