Fix RPi preset (#4968)

This commit is contained in:
Nicolas Mowen 2023-01-08 19:58:06 -07:00 committed by GitHub
parent 5b7cd9ce64
commit e79eab711a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,8 @@ PRESETS_HW_ACCEL_DECODE = {
} }
PRESETS_HW_ACCEL_SCALE = { PRESETS_HW_ACCEL_SCALE = {
"preset-rpi-32-h264": ["-f", "rawvideo", "-pix_fmt", "yuv420p"],
"preset-rpi-64-h264": ["-f", "rawvideo", "-pix_fmt", "yuv420p"],
"preset-vaapi": [ "preset-vaapi": [
"-vf", "-vf",
"fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p", "fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p",