¡@

Home 

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

iphone Programming Glossary: avfiletypempeg4

Writing video + generated audio to AVAssetWriterInput, audio stuttering

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

object. videoWriter AVAssetWriter alloc initWithURL self getVideoFileURLAndRemoveExisting recordingPath fileType AVFileTypeMPEG4 error error if error NSLog @ Start recording error @ error Configure video compression settings. NSDictionary videoCompressionProps..

Can use AVCaptureVideoDataOutput and AVCaptureMovieFileOutput at the same time?

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

the normal MPEG4 container AVAssetWriter assetWriter AVAssetWriter alloc initWithURL URLFromSomwhere fileType AVFileTypeMPEG4 error you need to check error conditions this example is too lazy assetWriter addInput assetWriterInput we need to warn..

AVAssetWritter does not work with audio

http://stackoverflow.com/questions/5200077/avassetwritter-does-not-work-with-audio

error NULL file_manager release video_writer AVAssetWriter alloc initWithURL NSURL fileURLWithPath temp_url fileType AVFileTypeMPEG4 error error NSDictionary video_settings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264 AVVideoCodecKey NSNumber..

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

NSError error nil AVAssetWriter videoWriter AVAssetWriter alloc initWithURL NSURL fileURLWithPath path fileType AVFileTypeMPEG4 error error NSParameterAssert videoWriter NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264.. NSError error nil AVAssetWriter videoWriter AVAssetWriter alloc initWithURL NSURL fileURLWithPath path fileType AVFileTypeMPEG4 error error NSParameterAssert videoWriter NSDictionary videoSettings NSDictionary dictionaryWithObjectsAndKeys AVVideoCodecH264..

MOV to Mp4 video conversion iPhone Programmatically

http://stackoverflow.com/questions/8474517/mov-to-mp4-video-conversion-iphone-programmatically

AVAssetExportPresetLowQuality exportSession.outputURL NSURL fileURLWithPath videoPath exportSession.outputFileType AVFileTypeMPEG4 CMTime start CMTimeMakeWithSeconds 1.0 600 CMTime duration CMTimeMakeWithSeconds 3.0 600 CMTimeRange range CMTimeRangeMake.. NSLog @ Export canceled break default break exportSession release If I set AVFileTypeMPEG4 here then it crashes saying Invalid file type . So I have to set it to AVFileTypeQuickTimeMovie and it gives MOV file. Is..