Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- guard let assetExport = AVAssetExportSession(asset: mixComposition, presetName: AVAssetExportPresetHighestQuality) else { return nil }
- assetExport.outputFileType = AVFileType.mov
- assetExport.outputURL = mergedAudioVideoUrl!
- assetExport.videoComposition = mainComposition//
- assetExport.exportAsynchronously { () -> Void in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement