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",