|
|
@@ -72,7 +72,7 @@ class DubbingComposer {
|
|
|
// }
|
|
|
|
|
|
//输出到文件
|
|
|
- if let assetExport = AVAssetExportSession(asset: composition, presetName: AVAssetExportPresetMediumQuality) {
|
|
|
+ if let assetExport = AVAssetExportSession(asset: composition, presetName: AVAssetExportPresetHighestQuality) {
|
|
|
assetExport.outputFileType = AVFileType.mp4
|
|
|
assetExport.outputURL = output
|
|
|
assetExport.shouldOptimizeForNetworkUse = true
|