I run frigate in an Ubuntu VM on Proxmox (al up-to-date).
since coral is not able to deliver I need to use CPU (for now).
my config:
mqtt:
host: 192.168.1.142
# Optional: port (default: shown below)
port: 1883
# Optional: topic prefix (default: shown below)
# WARNING: must be unique if you are running multiple instances
topic_prefix: frigate200
# Optional: client id (default: shown below)
# WARNING: must be unique if you are running multiple instances
client_id: frigate200
# Optional: user
user: mqtt
# Optional: password
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
# eg. password: '{FRIGATE_MQTT_PASSWORD}'
password: mqtt
# Optional: interval in seconds for publishing stats (default: shown below)
stats_interval: 60
cameras:
front:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/101/
roles:
- detect
- clips
width: 2560
height: 1440
fps: 6
snapshots:
enabled: true
crop: false
objects:
track:
- person
back:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/101/
roles:
- detect
- clips
width: 2048
height: 1536
fps: 4
snapshots:
enabled: true
crop: false
objects:
track:
- person
- car
parking:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/Streaming/Channels/101/
roles:
- detect
width: 3840
height: 2160
fps: 4
snapshots:
enabled: true
crop: false
objects:
track:
- person
- car
motion:
mask: 3840,0,3840,625,3840,786,2769,619,2774,357,2132,230,382,169,377,0
detectors:
cpu1:
type: cpu
cpu2:
type: cpu
clips:
# Optional: Maximum length of time to retain video during long events. (default: shown below)
# NOTE: If an object is being tracked for longer than this amount of time, the cache
# will begin to expire and the resulting clip will be the last x seconds of the event.
max_seconds: 30
# Optional: size of tmpfs mount to create for cache files (default: not set)
# mount -t tmpfs -o size={tmpfs_cache_size} tmpfs /tmp/cache
# NOTICE: Addon users must have Protection mode disabled for the addon when using this setting.
# Also, if you have mounted a tmpfs volume through docker, this value should not be set in your config.
tmpfs_cache_size: 256m
# Optional: Retention settings for clips (default: shown below)
retain:
# Required: Default retention days (default: shown below)
default: 100
# Optional: Per object retention days
objects:
person: 150
This does works for a few seconds/a minute depending on the amount of motion. For camera’s back
and parking
it stops after starting the server (almost immediately) For camera front it keeps working longer. I see the time in the UI stopping for those cams and going further for the working one.
what can be the issue? I have tried a lot in proxmox and frigate to no avail.
What is weird though… the image is not updating and the time in the corner is also stopped and not updating… (for those 2 non working cams) but this is "updating’
For clarification:
a. I am not running frigate in an LXC currently but on an Ubuntu VM with docker on proxmox.
b. I am (in another instance) running the frigate addon in home assistant (hassos) which works well with 2 cams. But since it takes away all resources from my homeassistant VM I prefer not to run it there as an addon. So there is no issue with my cams or streams from them.
Some additional info:
proxmox runs on an intel nuc8i5.
currently configured as: but I think I tried all combinations:
Let me know any question about the setup an I will answer.
I am very eager to get this running!
Thank you!