Remove vaapi interlace which caused fps to be higher than specified (#4843)

This commit is contained in:
Nicolas Mowen
2023-01-01 12:41:27 -07:00
committed by GitHub
parent 9c6193b9b5
commit cee52e9cfd

View File

@@ -87,7 +87,7 @@ PRESETS_HW_ACCEL_DECODE = {
PRESETS_HW_ACCEL_SCALE = {
"preset-intel-vaapi": [
"-vf",
"fps={},deinterlace_vaapi=rate=field:auto=1,scale_vaapi=w={}:h={},hwdownload,format=yuv420p",
"fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p",
"-f",
"rawvideo",
],
@@ -105,7 +105,7 @@ PRESETS_HW_ACCEL_SCALE = {
],
"preset-amd-vaapi": [
"-vf",
"fps={},deinterlace_vaapi=rate=field:auto=1,scale_vaapi=w={}:h={},hwdownload,format=yuv420p",
"fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p",
"-f",
"rawvideo",
],