Question about Frigate config yml

Hello everyone, new to Frigtate and casaos. I have 5 of my camera working on the Reolink NVR with username and password, but want to try Frigtate to get more use of my cameras. I installed Frigate, i was looking at the config.ymal located at AppData/frigate/config. So i just changed a few things and can’t get the camera to show up. on the camera tab it shows no frames have been received, check error log. i am using Reolink Trackmix camera. i tried the stream with VLC media player and it show up.

thank you for you help

This is how the conig.yml look right now.

mqtt:
enabled: False

cameras:
grass: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://user:password@@192.168.1.131/h265Preview_01_main <----- The stream you want to use for detection
roles:
- detect
detect:
enabled: False # <---- disable detection until you have a working camera feed
width: 3840 # <---- update for your camera resolution
height: 2160 # <---- update for your camera resolution

and some of the log

2024-03-17 13:48:21.402725858 [INFO] Starting Frigate…
2024-03-17 13:48:22.079478983 [2024-03-17 13:48:22] frigate.app INFO : Starting Frigate (0.12.1-367d724)
2024-03-17 13:48:22.084685261 [2024-03-17 13:48:22] frigate.app INFO : Creating directory: /tmp/cache
2024-03-17 13:48:22.086405341 [2024-03-17 13:48:22] peewee_migrate INFO : Starting migrations
2024-03-17 13:48:22.089143991 [2024-03-17 13:48:22] peewee_migrate INFO : There is nothing to migrate
2024-03-17 13:48:22.100043374 [2024-03-17 13:48:22] frigate.app INFO : Output process started: 682
2024-03-17 13:48:22.103558917 [2024-03-17 13:48:22] frigate.app INFO : Camera processor started for grass: 684
2024-03-17 13:48:22.106809430 [2024-03-17 13:48:22] frigate.app INFO : Capture process started for grass: 685
2024-03-17 13:48:22.118568763 [2024-03-17 13:48:22] detector.cpu INFO : Starting detection process: 681
2024-03-17 13:48:22.118974057 [2024-03-17 13:48:22] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-03-17 13:48:22.153182700 [2024-03-17 13:48:22] frigate.video ERROR : grass: Unable to read frames from ffmpeg process.
2024-03-17 13:48:22.153416711 [2024-03-17 13:48:22] frigate.video ERROR : grass: ffmpeg process is not running. exiting capture thread…
2024-03-17 13:48:22.407410787 [2024-03-17 13:48:22] frigate.app WARNING : The current SHM size of 67.1MB is too small, recommend increasing it to at least 137.0MB.
2024-03-17 13:48:42.141379789 [2024-03-17 13:48:42] watchdog.grass ERROR : Ffmpeg process crashed unexpectedly for grass.
2024-03-17 13:48:42.142095978 [2024-03-17 13:48:42] watchdog.grass ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-17 13:48:42.142459583 [2024-03-17 13:48:42] ffmpeg.grass.detect ERROR : [rtsp @ 0x58a9c4ca7e00] method DESCRIBE failed: 401 Unauthorized
2024-03-17 13:48:42.142464743 [2024-03-17 13:48:42] ffmpeg.grass.detect ERROR : rtsp://:@192.168.1.131/h265Preview_01_main <----- The stream you want to use for detection: Server returned 401 Unauthorized (authorization failed)
2024-03-17 13:48:42.193613541 [2024-03-17 13:48:42] frigate.video ERROR : grass: Unable to read frames from ffmpeg process.
2024-03-17 13:48:42.193617288 [2024-03-17 13:48:42] frigate.video ERROR : grass: ffmpeg process is not running. exiting capture thread…
2024-03-17 13:48:52.155995347 [2024-03-17 13:48:52] watchdog.grass ERROR : Ffmpeg process crashed unexpectedly for grass.
2024-03-17 13:48:52.155998453 [2024-03-17 13:48:52] watchdog.grass ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-03-17 13:48:52.155999405 [2024-03-17 13:48:52] ffmpeg.grass.detect ERROR : [rtsp @ 0x56ec74514e00] method DESCRIBE failed: 401 Unauthorized
2024-03-17 13:48:52.156017960 [2024-03-17 13:48:52] ffmpeg.grass.detect ERROR : rtsp://:@192.168.1.131/h265Preview_01_main <----- The stream you want to use for detection: Server

Authentication

It looks like, from the logs, it’s not authenticating with: rtsp://user:password@@192.168.1.131/h265Preview_01_main so you need to remove the double @ sign and make sure the username and password are correct.

rtsp://username:password@192.168.1.131/h265Preview_01_main

Adjust SHM Size

In your Docker Composer, I would add the service.

shm_size: '512mb' # Adjust the shared memory size here

Hello Dragnfire1119,

yes i have a user name and password i left let off. I figure it not important for everyone to see it. The first @ is at the end of the password (i know i know i did not think that far ahead as i was setting things up), the second @ is for the IP address. I will go back to have a look at the password.

Will add the addition information about the SHM.

Dragonfire119 do you have an example of a docker compose file that is working, yes please remove anything with username and passwords, that could help me figure what i am doing wrong.

i change the password as suggested and remove the first @ in the password.

What’s the log saying now? Are you still getting the 401 unauthorized error?

Sorry been out sick, and took sometime to make sure what ever it was i am over it. Here is the docker compose file.
I also changed the SHM size to 512mb, and fixed my password for my camera that contained special characters and removed them.

I should mention i am using proxmox, not sure if it matters or not. All my camera show up in my NVR and also the Reolink app, so i know the password and use name is correct.

Running the file through Portainer stack not container. Added addition information below the docker compose file

version: “3.9”
services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
image: Package frigate · GitHub
shm_size: “512mb” # update for your cameras based on calculation above
devices:
- /dev/bus/usb:/dev/bus/usb # Passes the USB Coral, needs to be modified for other versions
- /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here Get started with the M.2 or Mini PCIe Accelerator | Coral
- /dev/video11:/dev/video11 # For Raspberry Pi 4B
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /root/data/frigate/config:/config
- /root/data/media/frigate:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
- /root/tmp: /tmp/cache
tmpfs:
size: 1000000000
ports:
- “5000:5000”
- “8554:8554” # RTSP feeds
- “8555:8555/tcp” # WebRTC over tcp
- “8555:8555/udp” # WebRTC over udp
environment:
FRIGATE_RTSP_PASSWORD: “my password”

Log

2024-03-31 11:12:00.080255581 [ERROR] Frigate config file not found
s6-rc: info: service legacy-services successfully started
2024-03-31 11:12:00.108318619 [INFO] Service Frigate exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service go2rtc-healthcheck: stopping
2024-03-31 11:12:00.130246471 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2024-03-31 11:12:00.205786013 [INFO] Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service nginx-log: stopping
s6-rc: info: service frigate: stopping
s6-rc: info: service nginx-log successfully stopped
s6-rc: info: service frigate successfully stopped
s6-rc: info: service go2rtc: stopping
Traceback (most recent call last):
File “/usr/local/go2rtc/create_config.py”, line 35, in
with open(config_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/config.yml’
s6-rc: info: service frigate-log: stopping
s6-rc: info: service frigate-log successfully stopped
2024-03-31 11:12:00.225587610 [INFO] The go2rtc service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc successfully stopped
s6-rc: info: service go2rtc-log: stopping
s6-rc: info: service go2rtc-log successfully stopped
s6-rc: info: service log-prepare: stopping
s6-rc: info: service s6rc-fdholder: stopping
s6-rc: info: service log-prepare successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-fdholder successfully stopped
s6-rc: info: service s6rc-fdholder: starting
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service frigate-log successfully started
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service go2rtc-healthcheck successfully started
2024-03-31 11:12:05.418542200 [INFO] Preparing new go2rtc config…
2024-03-31 11:12:05.420600568 [INFO] Preparing Frigate…
2024-03-31 11:12:05.420617229 [ERROR] Frigate config file not found
2024-03-31 11:12:05.423506382 [INFO] Service Frigate exited with code 1 (by signal 0)
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
2024-03-31 11:12:05.427715970 [INFO] Starting NGINX…
s6-rc: info: service legacy-services successfully started
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service go2rtc-healthcheck: stopping
2024-03-31 11:12:05.504664886 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
Traceback (most recent call last):
File “/usr/local/go2rtc/create_config.py”, line 35, in
with open(config_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘/config/config.yml’
2024-03-31 11:12:05.575894599 [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-03-31 11:12:05.585665774 [INFO] Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service nginx-log: stopping
s6-rc: info: service frigate: stopping
s6-rc: info: service frigate successfully stopped
s6-rc: info: service go2rtc: stopping
s6-rc: info: service frigate-log: stopping
s6-rc: info: service nginx-log successfully stopped
s6-rc: info: service go2rtc successfully stopped
s6-rc: info: service go2rtc-log: stopping
s6-rc: info: service frigate-log successfully stopped
s6-rc: info: service go2rtc-log successfully stopped
s6-rc: info: service log-prepare: stopping
s6-rc: info: service s6rc-fdholder: stopping
s6-rc: info: service log-prepare successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service s6rc-fdholder successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Container Inspect

{
“AppArmorProfile”: “”,
“Args”: ,
“Config”: {
“AttachStderr”: true,
“AttachStdin”: false,
“AttachStdout”: true,
“Cmd”: null,
“Domainname”: “”,
“Entrypoint”: [
“/init”
],
“Env”: [
“FRIGATE_RTSP_PASSWORD=my password”,
“PATH=/usr/lib/btbn-ffmpeg/bin:/usr/local/go2rtc/bin:/usr/local/nginx/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin”,
“NVIDIA_VISIBLE_DEVICES=all”,
“NVIDIA_DRIVER_CAPABILITIES=compute,video,utility”,
“S6_LOGGING_SCRIPT=T 1 n0 s10000000 T”
],
“ExposedPorts”: {
“1935/tcp”: {},
“5000/tcp”: {},
“8554/tcp”: {},
“8555/tcp”: {},
“8555/udp”: {}
},
“Healthcheck”: {
“Interval”: 15000000000,
“Retries”: 3,
“StartInterval”: 5000000000,
“StartPeriod”: 120000000000,
“Test”: [
“CMD-SHELL”,
“curl --fail --silent --show-error http://127.0.0.1:5000/api/version || exit 1”
],
“Timeout”: 5000000000
},
“Hostname”: “e988ad1c201c”,
“Image”: “Package frigate · GitHub”,
“Labels”: {
“com.docker.compose.config-hash”: “e857d77ebca5b883401950cf353922c471f51d2bc45bd5974a7a73b7f0a67dd3”,
“com.docker.compose.container-number”: “1”,
“com.docker.compose.depends_on”: “”,
“com.docker.compose.image”: “sha256:a476481a2855d9a36cdf12083da58e89fa1b20d6d84630a05e4e9c1d67182179”,
“com.docker.compose.oneoff”: “False”,
“com.docker.compose.project”: “frigate”,
“com.docker.compose.project.config_files”: “/data/compose/3/docker-compose.yml”,
“com.docker.compose.project.working_dir”: “/data/compose/3”,
“com.docker.compose.service”: “frigate”,
“com.docker.compose.version”: “2.20.2”
},
“OnBuild”: null,
“OpenStdin”: false,
“StdinOnce”: false,
“Tty”: false,
“User”: “”,
“Volumes”: null,
“WorkingDir”: “/opt/frigate”
},
“Created”: “2024-03-31T21:01:37.565981475Z”,
“Driver”: “overlay2”,
“ExecIDs”: null,
“GraphDriver”: {
“Data”: {
“LowerDir”: “/var/lib/docker/overlay2/3dccf196c4785c68738ae4c996970cf02f4437fc9b0924c82b56279a51af0458-init/diff:/var/lib/docker/overlay2/abc3d29781e6904a787012937f40cceba859b63663c44b304414c522e47f5b52/diff:/var/lib/docker/overlay2/7cb5c9231439807cb2189ffea1f5f8be1627ae36de775585e09318def1afde94/diff:/var/lib/docker/overlay2/f9b3ba8b5af2d4363b641c3bf4b981652a027ed2c909094f6c66dd800201b3d8/diff:/var/lib/docker/overlay2/ff982119bd5d759600a7bde4561d764501f6a4b866965e4f7111371804bd9099/diff:/var/lib/docker/overlay2/d9e56dc203d6b0e228c1375cb9c6c23855c101c377fadb2845c111e2a2a655ea/diff:/var/lib/docker/overlay2/b7b8ea1527da97db0c38a6397174963063db9b264480cad5ea325dc9234c776c/diff:/var/lib/docker/overlay2/bf5c2f7810a65d63574c426408103012b7c26aa966fda31f6e564f3aec5bb1ec/diff”,
“MergedDir”: “/var/lib/docker/overlay2/3dccf196c4785c68738ae4c996970cf02f4437fc9b0924c82b56279a51af0458/merged”,
“UpperDir”: “/var/lib/docker/overlay2/3dccf196c4785c68738ae4c996970cf02f4437fc9b0924c82b56279a51af0458/diff”,
“WorkDir”: “/var/lib/docker/overlay2/3dccf196c4785c68738ae4c996970cf02f4437fc9b0924c82b56279a51af0458/work”
},
“Name”: “overlay2”
},
“HostConfig”: {
“AutoRemove”: false,
“Binds”: [
“/etc/localtime:/etc/localtime:ro”,
“/root/data/frigate/config:/config:rw”,
“/root/data/media/frigate:/media/frigate:rw”
],
“BlkioDeviceReadBps”: null,
“BlkioDeviceReadIOps”: null,
“BlkioDeviceWriteBps”: null,
“BlkioDeviceWriteIOps”: null,
“BlkioWeight”: 0,
“BlkioWeightDevice”: null,
“CapAdd”: null,
“CapDrop”: null,
“Cgroup”: “”,
“CgroupParent”: “”,
“CgroupnsMode”: “private”,
“ConsoleSize”: [
0,
0
],
“ContainerIDFile”: “”,
“CpuCount”: 0,
“CpuPercent”: 0,
“CpuPeriod”: 0,
“CpuQuota”: 0,
“CpuRealtimePeriod”: 0,
“CpuRealtimeRuntime”: 0,
“CpuShares”: 0,
“CpusetCpus”: “”,
“CpusetMems”: “”,
“DeviceCgroupRules”: null,
“DeviceRequests”: null,
“Devices”: [
{
“CgroupPermissions”: “rwm”,
“PathInContainer”: “/dev/bus/usb”,
“PathOnHost”: “/dev/bus/usb”
},
{
“CgroupPermissions”: “rwm”,
“PathInContainer”: “/dev/apex_0”,
“PathOnHost”: “/dev/apex_0”
},
{
“CgroupPermissions”: “rwm”,
“PathInContainer”: “/dev/video11”,
“PathOnHost”: “/dev/video11”
},
{
“CgroupPermissions”: “rwm”,
“PathInContainer”: “/dev/dri/renderD128”,
“PathOnHost”: “/dev/dri/renderD128”
}
],
“Dns”: null,
“DnsOptions”: null,
“DnsSearch”: null,
“ExtraHosts”: ,
“GroupAdd”: null,
“IOMaximumBandwidth”: 0,
“IOMaximumIOps”: 0,
“IpcMode”: “private”,
“Isolation”: “”,
“Links”: null,
“LogConfig”: {
“Config”: {},
“Type”: “journald”
},
“MaskedPaths”: null,
“Memory”: 0,
“MemoryReservation”: 0,
“MemorySwap”: 0,
“MemorySwappiness”: null,
“Mounts”: [
{
“Target”: “/tmp/cache”,
“TmpfsOptions”: {
“SizeBytes”: 1000000000
},
“Type”: “tmpfs”
}
],
“NanoCpus”: 0,
“NetworkMode”: “frigate_default”,
“OomKillDisable”: null,
“OomScoreAdj”: 0,
“PidMode”: “”,
“PidsLimit”: null,
“PortBindings”: {
“5000/tcp”: [
{
“HostIp”: “”,
“HostPort”: “5000”
}
],
“8554/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8554”
}
],
“8555/tcp”: [
{
“HostIp”: “”,
“HostPort”: “8555”
}
],
“8555/udp”: [
{
“HostIp”: “”,
“HostPort”: “8555”
}
]
},
“Privileged”: true,
“PublishAllPorts”: false,
“ReadonlyPaths”: null,
“ReadonlyRootfs”: false,
“RestartPolicy”: {
“MaximumRetryCount”: 0,
“Name”: “unless-stopped”
},
“Runtime”: “runc”,
“SecurityOpt”: [
“label=disable”
],
“ShmSize”: 536870912,
“UTSMode”: “”,
“Ulimits”: null,
“UsernsMode”: “”,
“VolumeDriver”: “”,
“VolumesFrom”: null
},
“HostnamePath”: “/var/lib/docker/containers/e988ad1c201ce77270bf70762a411b4dbb118375f09b94bd34eb3adf7d9a3164/hostname”,
“HostsPath”: “/var/lib/docker/containers/e988ad1c201ce77270bf70762a411b4dbb118375f09b94bd34eb3adf7d9a3164/hosts”,
“Id”: “e988ad1c201ce77270bf70762a411b4dbb118375f09b94bd34eb3adf7d9a3164”,
“Image”: “sha256:a476481a2855d9a36cdf12083da58e89fa1b20d6d84630a05e4e9c1d67182179”,
“LogPath”: “”,
“MountLabel”: “”,
“Mounts”: [
{
“Destination”: “/etc/localtime”,
“Mode”: “ro”,
“Propagation”: “rprivate”,
“RW”: false,
“Source”: “/etc/localtime”,
“Type”: “bind”
},
{
“Destination”: “/config”,
“Mode”: “rw”,
“Propagation”: “rprivate”,
“RW”: true,
“Source”: “/root/data/frigate/config”,
“Type”: “bind”
},
{
“Destination”: “/media/frigate”,
“Mode”: “rw”,
“Propagation”: “rprivate”,
“RW”: true,
“Source”: “/root/data/media/frigate”,
“Type”: “bind”
},
{
“Destination”: “/tmp/cache”,
“Mode”: “”,
“Propagation”: “”,
“RW”: true,
“Source”: “”,
“Type”: “tmpfs”
}
],
“Name”: “/frigate”,
“NetworkSettings”: {
“Bridge”: “”,
“EndpointID”: “”,
“Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“HairpinMode”: false,
“IPAddress”: “”,
“IPPrefixLen”: 0,
“IPv6Gateway”: “”,
“LinkLocalIPv6Address”: “”,
“LinkLocalIPv6PrefixLen”: 0,
“MacAddress”: “”,
“Networks”: {
“frigate_default”: {
“Aliases”: [
“frigate”,
“frigate”
],
“DNSNames”: [
“frigate”,
“e988ad1c201c”
],
“DriverOpts”: null,
“EndpointID”: “”,
“Gateway”: “”,
“GlobalIPv6Address”: “”,
“GlobalIPv6PrefixLen”: 0,
“IPAMConfig”: null,
“IPAddress”: “”,
“IPPrefixLen”: 0,
“IPv6Gateway”: “”,
“Links”: null,
“MacAddress”: “”,
“NetworkID”: “e559192adaf382c21e3438a88e4a205b2abb36781cb770d5760e92c3dd16ae05”
}
},
“Ports”: {},
“SandboxID”: “cfce5e3dac6f42182055b63ef8434502f353e8f2cd9fe51ccd2240b33202d8e8”,
“SandboxKey”: “/var/run/docker/netns/cfce5e3dac6f”,
“SecondaryIPAddresses”: null,
“SecondaryIPv6Addresses”: null
},
“Path”: “/init”,
“Platform”: “linux”,
“Portainer”: {
“ResourceControl”: {
“Id”: 6,
“ResourceId”: “2_frigate”,
“SubResourceIds”: ,
“Type”: 6,
“UserAccesses”: ,
“TeamAccesses”: ,
“Public”: false,
“AdministratorsOnly”: true,
“System”: false
}
},
“ProcessLabel”: “”,
“ResolvConfPath”: “/var/lib/docker/containers/e988ad1c201ce77270bf70762a411b4dbb118375f09b94bd34eb3adf7d9a3164/resolv.conf”,
“RestartCount”: 10,
“State”: {
“Dead”: false,
“Error”: “”,
“ExitCode”: 1,
“FinishedAt”: “2024-03-31T21:13:21.868128419Z”,
“Health”: {
“FailingStreak”: 0,
“Log”: ,
“Status”: “unhealthy”
},
“OOMKilled”: false,
“Paused”: false,
“Pid”: 0,
“Restarting”: false,
“Running”: false,
“StartedAt”: “2024-03-31T21:13:17.590017738Z”,
“Status”: “exited”
}
}

It can’t find the config file. You would need to make sure the config volume bind is right.

this is where the config file is at, did i messed up on the directory?

mqtt:
enabled: False

cameras:
grass: # <------ Name the camera
enabled: True
ffmpeg:
inputs:
- path: rtsp://admin:password@192.168.1.131:554/h264Preview_01_sub # <----- The stream you want to use for detection
roles:
- detect
detect:
enabled: False # <---- disable detection until you have a working camera feed
width: 3840 # <---- update for your camera resolution
height: 2160 # <---- update for your camera resolution