We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4948092 commit 80f691cCopy full SHA for 80f691c
Sources/MetalFXUpscale.swift
@@ -35,7 +35,7 @@ import MetalFX
35
let instruction = try await Compositor.Instruction(timeRange: videoTrack.load(.timeRange))
36
videoComposition.instructions = [instruction]
37
38
- let exportSession = AVAssetExportSession(asset: composition, presetName: AVAssetExportPresetHEVCHighestQualityWithAlpha)!
+ let exportSession = AVAssetExportSession(asset: composition, presetName: AVAssetExportPresetHEVC7680x4320)!
39
exportSession.videoComposition = videoComposition
40
let naturalSize = try await videoTrack.load(.naturalSize)
41
(exportSession.customVideoCompositor as! Compositor).inputWidth = Int(naturalSize.width)
0 commit comments