iphone Programming Glossary: betacompressiondirectory
Creating 16:9 Video Rather than 4:3 - AVAsset Writer - iPhone http://stackoverflow.com/questions/10358086/creating-169-video-rather-than-43-avasset-writer-iphone Set the size according to the device type iPhone or iPad . CGSize size CGSizeMake screenWidth screenHeight NSString betaCompressionDirectory NSHomeDirectory stringByAppendingPathComponent @ Documents IntroVideo.mov NSError error nil unlink betaCompressionDirectory.. NSHomeDirectory stringByAppendingPathComponent @ Documents IntroVideo.mov NSError error nil unlink betaCompressionDirectory UTF8String initialize compression engine AVAssetWriter videoWriter AVAssetWriter alloc initWithURL NSURL fileURLWithPath.. initialize compression engine AVAssetWriter videoWriter AVAssetWriter alloc initWithURL NSURL fileURLWithPath betaCompressionDirectory fileType AVFileTypeQuickTimeMovie error error NSParameterAssert videoWriter if error NSLog @ error @ error localizedDescription..
AVCaptureSession only got video buffer http://stackoverflow.com/questions/9257052/avcapturesession-only-got-video-buffer outputSettings audioOutputSettings audioWriterInput.expectsMediaDataInRealTime YES NSError error nil NSString betaCompressionDirectory NSHomeDirectory stringByAppendingPathComponent videoURL unlink betaCompressionDirectory UTF8String videoWriter AVAssetWriter.. YES NSError error nil NSString betaCompressionDirectory NSHomeDirectory stringByAppendingPathComponent videoURL unlink betaCompressionDirectory UTF8String videoWriter AVAssetWriter alloc initWithURL NSURL fileURLWithPath betaCompressionDirectory fileType AVFileTypeQuickTimeMovie.. videoURL unlink betaCompressionDirectory UTF8String videoWriter AVAssetWriter alloc initWithURL NSURL fileURLWithPath betaCompressionDirectory fileType AVFileTypeQuickTimeMovie error error if error NSLog @ error @ error localizedDescription add input videoWriter..
|