Replies: 2 comments 2 replies
-
Like the docs say, HA OS doesn't include the AMD drivers and can't be used |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Nick, thank you for pointing that out I must have missed that part in the docs. I am clearly not the smartest guy here by a long way. could I ask a follow-up question? is it possible for me to add the drivers myself? or is it just better to go to the docker root for Frigate installation? once again thank you for your help |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I have looked all over the place and tried my time to get my amd HD4890 into Frigate.
I have read the section in the doc
"AMD/ATI GPUs (Radeon HD 2000 and newer GPUs) via libva-mesa-driver
VAAPI supports automatic profile selection so it will work automatically with both H.264 and H.265 streams.
Note: You also need to set LIBVA_DRIVER_NAME=radeonsi as an environment variable on the container.
ffmpeg:
hwaccel_args: preset-vaapi"
I am running SYSTEM 0.12.1-367D724 on
Home Assistant 2023.10.5
Supervisor 2023.10.1
Operating System 11.1
Frontend 20231005.0 - latest
If this question has already been answered please could you point me in the right direction
Thank you in advance for any help you may give
the question is where and how do I set the environment variable? is it in the home assistant config file or the frigate config .yaml
is there an example for the YAML that I need
"
mqtt:
host: 192.168.0.xxx
user: xxxxx
password: xxxxxx
birdseye:
Optional: Enable birdseye view (default: shown below)
enabled: false
Optional: Width of the output resolution (default: shown below)
width: 640
# Optional: Height of the output resolution (default: shown below)
height: 480
# Optional: Encoding quality of the mpeg1 feed (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower-quality feeds utilize less CPU resources.
quality: 15
# Optional: Mode of the view. Available options are: objects, motion, and continuous
# objects - cameras are included if they have had a tracked object within the last 30 seconds
# Motion - cameras are included if motion was detected in the last 30 seconds
# continuous - all cameras are included always
mode: motion
detectors:
coral:
type: edgetpu
device: pci:0
go2rtc:
streams:
garden_reolink_camera:
- "ffmpeg:http:https://192.168.0.xxx/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=xxxx&password=xxxx#video=copy#audio=copy#audio=opus"
garden_reolink_camera_sub:
- "ffmpeg:http:https://192.168.0.xxx/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=xxxxxx&password=xxxxx"
door_reolink_camera:
- "ffmpeg:http:https://192.168.0.xxx/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=xxxxx&password=xxxxx#video=copy#audio=copy#audio=opus"
door_reolink_camera_sub:
- "ffmpeg:http:https://192.168.0.xxx/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=xxxxx&password=xxxxx"
lounge_reolink_camera:
- "ffmpeg:http:https://192.168.0.xxx/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=xxxxx&password=xxxxxx#video=copy#audio=copy#audio=opus"
lounge_reolink_camera_sub:
- "ffmpeg:http:https://192.168.0.114/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=xxxxx&password=xxxxxx"
cameras:
garden_reolink:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp:https://127.0.0.1:8554/garden_reolink_camera?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp:https://127.0.0.1:8554/garden_reolink_camera_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
detect:
# Optional: width of the frame for the input with the detect role (default: shown below)
width: 640
# Optional: height of the frame for the input with the detect role (default: shown below)
height: 480
fps: 5
enabled: True
Optional: Number of frames without a detection before Frigate considers an object to be gone. (default: 5x the frame rate)
door_reolink:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp:https://127.0.0.1:8554/door_reolink_camera?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp:https://127.0.0.1:8554/door_reolink_camera_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
detect:
# Optional: width of the frame for the input with the detect role (default: shown below)
width: 640
# Optional: height of the frame for the input with the detect role (default: shown below)
height: 480
fps: 5
enabled: True
Optional: Number of frames without a detection before Frigate considers an object to be gone. (default: 5x the frame rate)
lounge_reolink:
ffmpeg:
hwaccel_args: preset-vaapi
inputs:
- path: rtsp:https://127.0.0.1:8554/lounge_reolink_camera?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp:https://127.0.0.1:8554/lounge_reolink_camera_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
detect:
# Optional: width of the frame for the input with the detect role (default: shown below)
width: 640
# Optional: height of the frame for the input with the detect role (default: shown below)
height: 480
fps: 5
enabled: true
Optional: Number of frames without a detection before Frigate considers an object to be gone. (default: 5x the frame rate)
If there is any other information you need to help please ask
Beta Was this translation helpful? Give feedback.
All reactions