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,
|
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",
|
||||||
|
|||||||
Reference in New Issue
Block a user