You've already forked VptPassiveAdapter
hwaccel qsvL use vpp
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user