hwaccel qsvL use vpp

This commit is contained in:
2026-03-13 11:38:18 +08:00
parent f1634fcecc
commit 4067ab8d0a

View File

@@ -557,7 +557,7 @@ func compressVideoGPU(ctx context.Context, inputFile, outputFile string, height
outputFile, outputFile,
} }
case "qsv": case "qsv":
scaleFilter := fmt.Sprintf("scale_qsv=-2:%d", height) scaleFilter := fmt.Sprintf("vpp_qsv=w=-1:h=%d", height)
ffmpegCmd = []string{ ffmpegCmd = []string{
FfmpegExec, FfmpegExec,
"-hide_banner", "-hide_banner",