Skip to content

Commit 80f691c

Browse files
committed
Switch preset to support 8k
1 parent 4948092 commit 80f691c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MetalFXUpscale.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import MetalFX
3535
let instruction = try await Compositor.Instruction(timeRange: videoTrack.load(.timeRange))
3636
videoComposition.instructions = [instruction]
3737

38-
let exportSession = AVAssetExportSession(asset: composition, presetName: AVAssetExportPresetHEVCHighestQualityWithAlpha)!
38+
let exportSession = AVAssetExportSession(asset: composition, presetName: AVAssetExportPresetHEVC7680x4320)!
3939
exportSession.videoComposition = videoComposition
4040
let naturalSize = try await videoTrack.load(.naturalSize)
4141
(exportSession.customVideoCompositor as! Compositor).inputWidth = Int(naturalSize.width)

0 commit comments

Comments
 (0)