Skip to content

Commit

Permalink
Fix vaapi color mapping (blakeblackshear#8604)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Nov 14, 2023
1 parent 563fdec commit 8a010fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/ffmpeg_presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_selected_gpu(self) -> str:

PRESETS_HW_ACCEL_SCALE = {
"preset-rpi-64-h264": "-r {0} -vf fps={0},scale={1}:{2}",
"preset-vaapi": "-r {0} -vf fps={0},scale_vaapi=w={1}:h={2},hwdownload,format=yuv420p",
"preset-vaapi": "-r {0} -vf fps={0},scale_vaapi=w={1}:h={2}:format=nv12,hwdownload,format=nv12,format=yuv420p",
"preset-intel-qsv-h264": "-r {0} -vf vpp_qsv=framerate={0}:w={1}:h={2}:format=nv12,hwdownload,format=nv12,format=yuv420p",
"preset-intel-qsv-h265": "-r {0} -vf vpp_qsv=framerate={0}:w={1}:h={2}:format=nv12,hwdownload,format=nv12,format=yuv420p",
"preset-nvidia-h264": "-r {0} -vf fps={0},scale_cuda=w={1}:h={2}:format=nv12,hwdownload,format=nv12,format=yuv420p",
Expand Down

0 comments on commit 8a010fc

Please sign in to comment.