The Lenovo M715q had to move. A CPU upgrade would be far too expensive and since the was an offer for the MinisForum UM480XT as barebone, I couldn’t resist (although it took one month for the delivery). But now the second Proxmox Server has moved to this hardware together with a Samsung 980Pro 1TB. The maximum power draw was set to 25W via the BIOS (there are also options for 10, 15, 25, 35, 45 and even 54W to be set manually). It totally outpowers the old one even with the lower setting.
The ZoneMinder installation was also replaced with a frigate docker container. There were a few hickups getting it running smoothly. So I tried a few configs until I came up with the following below. Now there is only a Google Coral TPU missing to “speedup” the detection a bit more. Although three CPU cores on the 4800H of the UM480XT are working perfectly for my five cams.
Now just the configureation of frigate:
mqtt: # created for Home Assistant
enabled: True
host: <ha-mqtt-broker-ip>
port: <mqtt-port>
user: <mqtt-user>
password: <mqtt-pass>
topic_prefix: frigate
client_id: frigate
# ReoLink cams!!!
go2rtc:
streams:
camera01:
- "ffmpeg:http://<CAMIP>/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=<CAMUSER>&password=<CAMPASSWORD>#video=copy#audio=copy#audio=opus"
camera01_sub:
- "ffmpeg:http://<CAMIP>/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=<CAMUSER>&password=<CAMPASSWORD>"
cameras:
cam01:
ffmpeg:
hwaccel_args: # use video hardware acceleration with the AMD GPU!!!
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
input_args:
- -avoid_negative_ts
- make_zero
inputs:
- path: rtsp://127.0.0.1:8554/camera01_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
- path: rtsp://127.0.0.1:8554/camera01?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
detect:
enabled: True
width: 640
height: 480
record:
enabled: True
snapshots:
enabled: True
motion: # do not detect inside this area
mask:
- 0,480,491,480,174,292,0,283
detectors:
cpu1:
type: cpu
num_threads: 2
cpu2:
type: cpu
num_threads: 2
cpu3:
type: cpu
num_threads: 2
ffmpeg:
hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-aac
record:
enabled: True
events:
retain:
default: 30
timestamp_style:
format: "%m.%d.%Y %H:%M:%S"
Leave a Reply
You must be logged in to post a comment.