From 4067ab8d0a3e79261c639290b18edf1bb11d68ca Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Fri, 13 Mar 2026 11:38:18 +0800 Subject: [PATCH] hwaccel qsvL use vpp --- util/ffmpeg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/ffmpeg.go b/util/ffmpeg.go index c1854af..fefe3ae 100644 --- a/util/ffmpeg.go +++ b/util/ffmpeg.go @@ -557,7 +557,7 @@ func compressVideoGPU(ctx context.Context, inputFile, outputFile string, height outputFile, } case "qsv": - scaleFilter := fmt.Sprintf("scale_qsv=-2:%d", height) + scaleFilter := fmt.Sprintf("vpp_qsv=w=-1:h=%d", height) ffmpegCmd = []string{ FfmpegExec, "-hide_banner",