¡@

Home 

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

iphone Programming Glossary: audiooutputsettings

Writing video + generated audio to AVAssetWriterInput, audio stuttering

http://stackoverflow.com/questions/12187124/writing-video-generated-audio-to-avassetwriterinput-audio-stuttering

0 AudioChannelLayout acl bzero acl sizeof acl acl.mChannelLayoutTag kAudioChannelLayoutTag_Stereo NSDictionary audioOutputSettings nil audioOutputSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatMPEG4AAC AVFormatIDKey.. acl bzero acl sizeof acl acl.mChannelLayoutTag kAudioChannelLayoutTag_Stereo NSDictionary audioOutputSettings nil audioOutputSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatMPEG4AAC AVFormatIDKey NSNumber numberWithInt.. nil audioWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeAudio outputSettings audioOutputSettings retain audioWriterInput.expectsMediaDataInRealTime YES audioWriterInput.expectsMediaDataInRealTime NO seems to work slightly..

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

audio input AudioChannelLayout acl bzero acl sizeof acl acl.mChannelLayoutTag kAudioChannelLayoutTag_Mono NSDictionary audioOutputSettings nil Both type of audio inputs causes output video file to be corrupted. if NO should work from iphone 3GS on and from ipod.. inputs causes output video file to be corrupted. if NO should work from iphone 3GS on and from ipod 3rd generation audioOutputSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatMPEG4AAC AVFormatIDKey NSNumber numberWithInt.. NSData dataWithBytes acl length sizeof acl AVChannelLayoutKey nil else should work on any device requires more space audioOutputSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatAppleLossless AVFormatIDKey NSNumber numberWithInt..

AVCaptureSession only got video buffer

http://stackoverflow.com/questions/9257052/avcapturesession-only-got-video-buffer

audio input AudioChannelLayout acl bzero acl sizeof acl acl.mChannelLayoutTag kAudioChannelLayoutTag_Mono NSDictionary audioOutputSettings nil audioOutputSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatAppleLossless AVFormatIDKey.. acl bzero acl sizeof acl acl.mChannelLayoutTag kAudioChannelLayoutTag_Mono NSDictionary audioOutputSettings nil audioOutputSettings NSDictionary dictionaryWithObjectsAndKeys NSNumber numberWithInt kAudioFormatAppleLossless AVFormatIDKey NSNumber numberWithInt.. nil audioWriterInput AVAssetWriterInput assetWriterInputWithMediaType AVMediaTypeAudio outputSettings audioOutputSettings audioWriterInput.expectsMediaDataInRealTime YES NSError error nil NSString betaCompressionDirectory NSHomeDirectory stringByAppendingPathComponent..