ios 录像 转换MP4问题 Invalid output file type
使用的例子是? http://code4app.com/ios/iOSMp4Camera/50cb35ef6803fafc1c000000
?
输出类型是AVFileTypeMPEG4
exportSession.outputFileType =?
? ? ? ? exportSession.outputFileType = AVFileTypeMPEG4;;
?
打印只有com.apple.quicktime-movie
NSArray?*supportedTypeArray=exportSession.supportedFileTypes;
? ? ? ??for?(NSString?*str?in?supportedTypeArray)
? ? ? ? ? ??NSLog(@"%@",str);
修改输出类型
? ? ? ??exportSession.outputFileType = AVFileTypeQuickTimeMovie;
?
即可