mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Remove duplicated vaapi presets
This commit is contained in:
parent
ceab294840
commit
de57e883d5
@ -12,7 +12,7 @@ _user_agent_args = [
|
|||||||
PRESETS_HW_ACCEL_DECODE = {
|
PRESETS_HW_ACCEL_DECODE = {
|
||||||
"preset-rpi-32-h264": ["-c:v", "h264_v4l2m2m"],
|
"preset-rpi-32-h264": ["-c:v", "h264_v4l2m2m"],
|
||||||
"preset-rpi-64-h264": ["-c:v", "h264_v4l2m2m"],
|
"preset-rpi-64-h264": ["-c:v", "h264_v4l2m2m"],
|
||||||
"preset-intel-vaapi": [
|
"preset-vaapi": [
|
||||||
"-hwaccel_flags",
|
"-hwaccel_flags",
|
||||||
"allow_profile_mismatch",
|
"allow_profile_mismatch",
|
||||||
"-hwaccel",
|
"-hwaccel",
|
||||||
@ -42,16 +42,6 @@ PRESETS_HW_ACCEL_DECODE = {
|
|||||||
"-c:v",
|
"-c:v",
|
||||||
"hevc_qsv",
|
"hevc_qsv",
|
||||||
],
|
],
|
||||||
"preset-amd-vaapi": [
|
|
||||||
"-hwaccel_flags",
|
|
||||||
"allow_profile_mismatch",
|
|
||||||
"-hwaccel",
|
|
||||||
"vaapi",
|
|
||||||
"-hwaccel_device",
|
|
||||||
"/dev/dri/renderD128",
|
|
||||||
"-hwaccel_output_format",
|
|
||||||
"vaapi",
|
|
||||||
],
|
|
||||||
"preset-nvidia-h264": [
|
"preset-nvidia-h264": [
|
||||||
"-hwaccel",
|
"-hwaccel",
|
||||||
"cuda",
|
"cuda",
|
||||||
@ -85,7 +75,7 @@ PRESETS_HW_ACCEL_DECODE = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PRESETS_HW_ACCEL_SCALE = {
|
PRESETS_HW_ACCEL_SCALE = {
|
||||||
"preset-intel-vaapi": [
|
"preset-vaapi": [
|
||||||
"-vf",
|
"-vf",
|
||||||
"fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p",
|
"fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p",
|
||||||
"-f",
|
"-f",
|
||||||
@ -103,12 +93,6 @@ PRESETS_HW_ACCEL_SCALE = {
|
|||||||
"-f",
|
"-f",
|
||||||
"rawvideo",
|
"rawvideo",
|
||||||
],
|
],
|
||||||
"preset-amd-vaapi": [
|
|
||||||
"-vf",
|
|
||||||
"fps={},scale_vaapi=w={}:h={},hwdownload,format=yuv420p",
|
|
||||||
"-f",
|
|
||||||
"rawvideo",
|
|
||||||
],
|
|
||||||
"preset-nvidia-h264": [
|
"preset-nvidia-h264": [
|
||||||
"-vf",
|
"-vf",
|
||||||
"fps={},scale_cuda=w={}:h={}:format=nv12,hwdownload,format=nv12,format=yuv420p",
|
"fps={},scale_cuda=w={}:h={}:format=nv12,hwdownload,format=nv12,format=yuv420p",
|
||||||
@ -130,7 +114,7 @@ PRESETS_HW_ACCEL_SCALE = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PRESETS_HW_ACCEL_ENCODE = {
|
PRESETS_HW_ACCEL_ENCODE = {
|
||||||
"preset-intel-vaapi": [
|
"preset-vaapi": [
|
||||||
"-c:v",
|
"-c:v",
|
||||||
"h264_vaapi",
|
"h264_vaapi",
|
||||||
"-g",
|
"-g",
|
||||||
@ -172,20 +156,6 @@ PRESETS_HW_ACCEL_ENCODE = {
|
|||||||
"-async_depth:v",
|
"-async_depth:v",
|
||||||
"1",
|
"1",
|
||||||
],
|
],
|
||||||
"preset-amd-vaapi": [
|
|
||||||
"-c:v",
|
|
||||||
"h264_vaapi",
|
|
||||||
"-g",
|
|
||||||
"50",
|
|
||||||
"-bf",
|
|
||||||
"0",
|
|
||||||
"-profile:v",
|
|
||||||
"high",
|
|
||||||
"-level:v",
|
|
||||||
"4.1",
|
|
||||||
"-sei:v",
|
|
||||||
"0",
|
|
||||||
],
|
|
||||||
"preset-nvidia-h264": [
|
"preset-nvidia-h264": [
|
||||||
"-c:v",
|
"-c:v",
|
||||||
"h264_nvenc",
|
"h264_nvenc",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user