Help me understand how adding an input with detector can lower GPU usage. #18274
-
Describe the problem you are havingI am trying to verify that my GPU is being used efficiently. It seems that I get more GPU usage when I disable detection and run a single stream transcoded from H265 to H264, and when I add a second stream with a detector, GPU drops. CPU remains about the same. I would think that adding a stream would cause an increase in GPU, not a decrease. Also if CPU stays the same in both cases, where are those compute cycles going? Running on an Intel NUC NUC9QN. Version0.16.0-64db518 Frigate config fileseccam3:
ffmpeg:
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv420p
# WHEN USE BOTH INPUTS BELOW, CPU SITS ROUND 30% and GPU SITS AROUND 6% to 9%
# WHEN I COMMENT OUT THE FIRST INPUT (seccam3) and leave only the second input (seccam3_rec_h264), CPU # STAYS THE SAME BUT GPU GOES UP TO 30%.
# I DO NOT MOVE THE DETECT ROLE TO THE H264 INPUT WHEN I COMMENT OUT THE FIRST INPUT
# HOW CAN REMOVING AN INPUT STREAM CAUSE AN INCREASE IN GPU? SHOULDNT THE LOAD GO DOWN, IF ANYTHING?
inputs:
- path: rtsp://127.0.0.1:8554/seccam3 #REMOVING THIS MAKES GPU TO UP, WEIRD
roles:
- detect
- path: rtsp://127.0.0.1:8554/seccam3_rec_h264
roles:
- record
detect:
enabled: true
width: 896
height: 512
record:
enabled: true
onvif:
host: xxxxxxxxxxxxxxxxx
port: 8000
user: xxxxxxxxxxx
password: xxxxxxxxxxxxx
webui_url: https://xxxxxxxxxxxx
go2rtc:
log:
level: debug
streams:
seccam3:
- rtsp://lcars-cam:[email protected]:554/Preview_01_sub #preview stream wide angle, used for preview
seccam3_rec:
- rtsp://lcars-cam:[email protected]:554/Preview_01_main #high resolution stream wide angle, used for recording
seccam3_rec_h264:
- ffmpeg:seccam3_rec#video=h264#hardware #h246 stream, transcoded from high res stream above, used for recording, and browser compitability
seccam3_tele:
- rtsp://lcars-cam:[email protected]:554/Preview_02_sub #preview stream norrow angle, used for preview
seccam3_tele_rec:
- rtsp://lcars-cam:[email protected]:554/Preview_02_main #high resolution stream narrow angle, used for recording
seccam3_tele_rec_h264:
- ffmpeg:seccam3_tele_rec#video=h264 #h246 stream, transcoded from high res stream above, used for recording, and browser compitability docker-compose file or Docker CLI command{
"AppArmorProfile": "unconfined",
"Args": [],
"Config": {
"AttachStderr": false,
"AttachStdin": false,
"AttachStdout": false,
"Cmd": null,
"Domainname": "",
"Entrypoint": [
"/init"
],
"Env": [
"FRIGATE_RTSP_PASSWORD=lcarscamera",
"PATH=/usr/local/go2rtc/bin:/usr/local/tempio/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",
"TOKENIZERS_PARALLELISM=true",
"TRANSFORMERS_NO_ADVISORY_WARNINGS=1",
"OPENCV_FFMPEG_LOGLEVEL=8",
"S6_LOGGING_SCRIPT=T 1 n0 s10000000 T",
"S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
"FLASK_ENV=development",
"DEBIAN_FRONTEND=noninteractive",
"LIBVA_DRIVER_NAME=i965",
"HAILORT_LOGGER_PATH=NONE",
"DEFAULT_FFMPEG_VERSION=7.0",
"INCLUDED_FFMPEG_VERSIONS=7.0:5.0"
],
"ExposedPorts": {
"1984/tcp": {},
"5000/tcp": {},
"8554/tcp": {},
"8555/tcp": {},
"8555/udp": {}
},
"Healthcheck": {
"Interval": 15000000000,
"Retries": 3,
"StartInterval": 5000000000,
"StartPeriod": 300000000000,
"Test": [
"CMD-SHELL",
"curl --fail --silent --show-error http://127.0.0.1:5000/api/version || exit 1"
],
"Timeout": 5000000000
},
"Hostname": "0b3d182214db",
"Image": "ghcr.io/blakeblackshear/frigate:64db518",
"Labels": {
"com.docker.compose.config-hash": "23d500a1ef69936e027811464c5829407ecfec5e6341070a4ade1ce81a59c6d3",
"com.docker.compose.container-number": "1",
"com.docker.compose.depends_on": "",
"com.docker.compose.image": "sha256:74f10130333f978869ca63c73af72acf9306a28f91b40ac7bd224aae5747ae6f",
"com.docker.compose.oneoff": "False",
"com.docker.compose.project": "firgate",
"com.docker.compose.project.config_files": "/data/compose/1/docker-compose.yml",
"com.docker.compose.project.working_dir": "/data/compose/1",
"com.docker.compose.replace": "9784e0579cae5d273830d60708b3f0e8b9fe012727ad29b71c2eb57f2f99cdae",
"com.docker.compose.service": "frigate",
"com.docker.compose.version": "2.20.2",
"maintainer": "[email protected]"
},
"MacAddress": "fe:54:83:40:07:37",
"OnBuild": null,
"OpenStdin": false,
"StdinOnce": false,
"Tty": false,
"User": "",
"Volumes": {
"/config": {},
"/config/config.yml": {},
"/db": {},
"/etc/localtime": {},
"/media/frigate": {}
},
"WorkingDir": "/opt/frigate"
},
"Created": "2025-05-16T14:09:05.120095991Z",
"Driver": "overlay2",
"ExecIDs": [
"8f640b8e040d11072a11ac70ee5a1855f70c9c003d8ac1884d1e34f1b1f22750",
"ddad7c912f1f0f0ac0920351b5a5a0f767b031e42fddc27ce7fc7f058eadd77c"
],
"GraphDriver": {
"Data": {
"ID": "e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a",
"LowerDir": "/var/lib/docker/overlay2/f0f3fcb559e63980391af711fecdb6861ada12a086e01757b042969db3e14def-init/diff:/var/lib/docker/overlay2/1c91a8223f76689556148d8a4d4f1bfe1a2cdc2d5f3387c44435ddf71a60b474/diff:/var/lib/docker/overlay2/084ae7924903ba5fc00da24da24a8b0f751ccbcc270dbb29bf2f5d41a8ced8b9/diff:/var/lib/docker/overlay2/3afc77822b825299f6555c9121ceb7c969792d02699e94be4cf6f29a2ab5583a/diff:/var/lib/docker/overlay2/7922434f5dba9f701cb1f7f5e6440ada9e9a2999abccde7f70e075318bcfd91c/diff:/var/lib/docker/overlay2/5aa726be5830b42ef695b9aa7a6f3a14a291e632705cb7349d2fae0eabbc7453/diff:/var/lib/docker/overlay2/1fdae5ba269590e901d9f7dfad36f2908f52e3d6ceea3bb9eff11fc93db25507/diff:/var/lib/docker/overlay2/15030b914814097e0d9a724bc32a5868129d630bbd7869e3a465a4e035f8c942/diff:/var/lib/docker/overlay2/4027920ba413fed607360ad01ca5bb62c099fc9137f65b42bc132bb005c67354/diff:/var/lib/docker/overlay2/67bbbbaec4e8812ea674c47a5ef7d749f4e6669f365dba3546b44d01e511e46e/diff",
"MergedDir": "/var/lib/docker/overlay2/f0f3fcb559e63980391af711fecdb6861ada12a086e01757b042969db3e14def/merged",
"UpperDir": "/var/lib/docker/overlay2/f0f3fcb559e63980391af711fecdb6861ada12a086e01757b042969db3e14def/diff",
"WorkDir": "/var/lib/docker/overlay2/f0f3fcb559e63980391af711fecdb6861ada12a086e01757b042969db3e14def/work"
},
"Name": "overlay2"
},
"HostConfig": {
"AutoRemove": false,
"Binds": [
"/frigate/config/frigate.yml:/config/config.yml",
"/home/user/frigate:/db",
"/etc/localtime:/etc/localtime",
"/frigate/media:/media/frigate",
"/frigate/config:/config"
],
"BlkioDeviceReadBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceWriteIOps": null,
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"CapAdd": [
"AUDIT_WRITE",
"CHOWN",
"DAC_OVERRIDE",
"FOWNER",
"FSETID",
"KILL",
"MKNOD",
"NET_BIND_SERVICE",
"NET_RAW",
"SETFCAP",
"SETGID",
"SETPCAP",
"SETUID",
"SYS_CHROOT"
],
"CapDrop": [
"AUDIT_CONTROL",
"BLOCK_SUSPEND",
"DAC_READ_SEARCH",
"IPC_LOCK",
"IPC_OWNER",
"LEASE",
"LINUX_IMMUTABLE",
"MAC_ADMIN",
"MAC_OVERRIDE",
"NET_ADMIN",
"NET_BROADCAST",
"SYSLOG",
"SYS_ADMIN",
"SYS_BOOT",
"SYS_MODULE",
"SYS_NICE",
"SYS_PACCT",
"SYS_PTRACE",
"SYS_RAWIO",
"SYS_RESOURCE",
"SYS_TIME",
"SYS_TTY_CONFIG",
"WAKE_ALARM"
],
"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": [],
"Devices": [
{
"CgroupPermissions": "rwm",
"PathInContainer": "/dev/dri/renderD128",
"PathOnHost": "/dev/dri/renderD128"
},
{
"CgroupPermissions": "rwm",
"PathInContainer": "/dev/dri",
"PathOnHost": "/dev/dri"
}
],
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": [],
"GroupAdd": null,
"IOMaximumBandwidth": 0,
"IOMaximumIOps": 0,
"Init": false,
"IpcMode": "private",
"Isolation": "",
"Links": null,
"LogConfig": {
"Config": {},
"Type": "json-file"
},
"MaskedPaths": null,
"Memory": 8589934592,
"MemoryReservation": 0,
"MemorySwap": 17179869184,
"MemorySwappiness": null,
"NanoCpus": 0,
"NetworkMode": "firgate_default",
"OomKillDisable": null,
"OomScoreAdj": 0,
"PidMode": "",
"PidsLimit": null,
"PortBindings": {
"1984/tcp": [
{
"HostIp": "",
"HostPort": "1984"
}
],
"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": 268435456,
"UTSMode": "",
"Ulimits": null,
"UsernsMode": "",
"VolumeDriver": "",
"VolumesFrom": null
},
"HostnamePath": "/var/lib/docker/containers/e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a/hostname",
"HostsPath": "/var/lib/docker/containers/e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a/hosts",
"Id": "e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a",
"Image": "sha256:4b92f482091ae039ed7e813458f1c837a41c40388f58483ee27c1231c748ecf7",
"LogPath": "/var/lib/docker/containers/e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a/e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a-json.log",
"MountLabel": "",
"Mounts": [
{
"Destination": "/config",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/frigate/config",
"Type": "bind"
},
{
"Destination": "/config/config.yml",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/frigate/config/frigate.yml",
"Type": "bind"
},
{
"Destination": "/db",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/home/user/frigate",
"Type": "bind"
},
{
"Destination": "/etc/localtime",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/etc/localtime",
"Type": "bind"
},
{
"Destination": "/media/frigate",
"Mode": "",
"Propagation": "rprivate",
"RW": true,
"Source": "/frigate/media",
"Type": "bind"
}
],
"Name": "/frigate-dev",
"NetworkSettings": {
"Bridge": "",
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"HairpinMode": false,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"MacAddress": "",
"Networks": {
"firgate_default": {
"Aliases": [
"e608b9a17d25",
"0b3d182214db"
],
"DNSNames": [
"frigate-dev",
"e608b9a17d25",
"0b3d182214db"
],
"DriverOpts": null,
"EndpointID": "0591e17face12ae90eef1b9682b93cccc4bd05a39c6d7f1ebd01e278e913b9fb",
"Gateway": "172.20.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"GwPriority": 0,
"IPAMConfig": {},
"IPAddress": "172.20.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"Links": null,
"MacAddress": "fe:54:83:40:07:37",
"NetworkID": "f451b629dffe4f96eb4907b4cbc275315d168d80e65b9de2460b227d192270a3"
}
},
"Ports": {
"1984/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "1984"
},
{
"HostIp": "::",
"HostPort": "1984"
}
],
"5000/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "5000"
},
{
"HostIp": "::",
"HostPort": "5000"
}
],
"8554/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8554"
},
{
"HostIp": "::",
"HostPort": "8554"
}
],
"8555/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8555"
},
{
"HostIp": "::",
"HostPort": "8555"
}
],
"8555/udp": [
{
"HostIp": "0.0.0.0",
"HostPort": "8555"
},
{
"HostIp": "::",
"HostPort": "8555"
}
]
},
"SandboxID": "1ff29970f41c235991ac6fcd84ee57d9c118568b68fc0341042c1b7ab9efb11f",
"SandboxKey": "/var/run/docker/netns/1ff29970f41c",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null
},
"Path": "/init",
"Platform": "linux",
"Portainer": {
"ResourceControl": {
"Id": 32,
"ResourceId": "e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a",
"SubResourceIds": [],
"Type": 1,
"UserAccesses": [],
"TeamAccesses": [],
"Public": false,
"AdministratorsOnly": true,
"System": false
}
},
"ProcessLabel": "",
"ResolvConfPath": "/var/lib/docker/containers/e608b9a17d258301debda11d7df127d7f2ff30546a1ffb4b77f0b79c67e44f9a/resolv.conf",
"RestartCount": 2,
"State": {
"Dead": false,
"Error": "",
"ExitCode": 0,
"FinishedAt": "2025-05-17T15:53:47.427680712Z",
"Health": {
"FailingStreak": 0,
"Log": [
{
"End": "2025-05-17T16:28:27.368449913Z",
"ExitCode": 0,
"Output": "0.16.0-64db518",
"Start": "2025-05-17T16:28:27.340104247Z"
},
{
"End": "2025-05-17T16:28:42.396875936Z",
"ExitCode": 0,
"Output": "0.16.0-64db518",
"Start": "2025-05-17T16:28:42.369896786Z"
},
{
"End": "2025-05-17T16:28:57.46181963Z",
"ExitCode": 0,
"Output": "0.16.0-64db518",
"Start": "2025-05-17T16:28:57.397554551Z"
},
{
"End": "2025-05-17T16:29:12.491095557Z",
"ExitCode": 0,
"Output": "0.16.0-64db518",
"Start": "2025-05-17T16:29:12.463509221Z"
},
{
"End": "2025-05-17T16:29:27.571424134Z",
"ExitCode": 0,
"Output": "0.16.0-64db518",
"Start": "2025-05-17T16:29:27.4916589Z"
}
],
"Status": "healthy"
},
"OOMKilled": false,
"Paused": false,
"Pid": 15497,
"Restarting": false,
"Running": true,
"StartedAt": "2025-05-17T15:53:47.439165993Z",
"Status": "running"
}
} Relevant Frigate log output2025-05-17 15:53:47.945145616 [INFO] Preparing Frigate...
2025-05-17 15:53:48.370576415 [INFO] Starting Frigate...
2025-05-17 15:53:50.282582269 [2025-05-17 15:53:50] frigate.util.config INFO : Checking if frigate config needs migration...
2025-05-17 15:53:50.301990027 [2025-05-17 15:53:50] frigate.util.config INFO : frigate config does not need migration...
2025-05-17 15:53:51.017410054 [2025-05-17 15:53:51] frigate.util.services INFO : Automatically detected vaapi hwaccel for video decoding
2025-05-17 15:53:51.032767995 [2025-05-17 15:53:51] frigate.app INFO : Starting Frigate (0.16.0-64db518)
2025-05-17 15:53:51.053519789 [2025-05-17 15:53:51] peewee_migrate.logs INFO : Starting migrations
2025-05-17 15:53:51.054160541 [2025-05-17 15:53:51] peewee_migrate.logs INFO : There is nothing to migrate
2025-05-17 15:53:51.065117878 [2025-05-17 15:53:51] frigate.app INFO : Recording process started: 551
2025-05-17 15:53:51.065212369 [2025-05-17 15:53:51] frigate.app INFO : Review process started: 553
2025-05-17 15:53:51.067893774 [2025-05-17 15:53:51] frigate.app INFO : go2rtc process pid: 116
2025-05-17 15:53:51.078836533 [2025-05-17 15:53:51] detector.ov INFO : Starting detection process: 573
2025-05-17 15:53:51.084297389 [2025-05-17 15:53:51] frigate.app INFO : Output process started: 589
2025-05-17 15:53:51.095531296 [2025-05-17 15:53:51] frigate.app INFO : Camera processor started for seccam3: 609
2025-05-17 15:53:51.101779005 [2025-05-17 15:53:51] frigate.app INFO : Camera processor started for seccam3_tele: 612
2025-05-17 15:53:51.108594660 [2025-05-17 15:53:51] frigate.app INFO : Capture process started for seccam3: 625
2025-05-17 15:53:51.145608123 [2025-05-17 15:53:51] frigate.app INFO : Capture process started for seccam3_tele: 640
2025-05-17 15:53:51.155104440 [2025-05-17 15:53:51] frigate.storage WARNING : seccam3 has a bandwidth of 11031.25 MB/hr which exceeds the expected maximum. This typically indicates an issue with the cameras recordings.
2025-05-17 15:53:51.353740586 [2025-05-17 15:53:51] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-05-17 15:53:51.439749184 [2025-05-17 15:53:51] frigate.api.fastapi_app INFO : FastAPI started Relevant go2rtc log output2025-05-17 15:53:48.370864354 [INFO] Preparing new go2rtc config...
2025-05-17 15:53:48.794164680 [INFO] Starting go2rtc...
2025-05-17 15:53:48.860848478 15:53:48.860 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
2025-05-17 15:53:48.860851420 15:53:48.860 DBG build vcs.time=2025-03-10T02:51:40Z version=go1.24.1
2025-05-17 15:53:48.860852988 15:53:48.860 INF config path=/dev/shm/go2rtc.yaml
2025-05-17 15:53:48.861309299 15:53:48.861 INF [api] listen addr=:1984
2025-05-17 15:53:48.861436656 15:53:48.861 INF [rtsp] listen addr=:8554
2025-05-17 15:53:48.861770897 15:53:48.861 INF [webrtc] listen addr=:8555
2025-05-17 15:53:51.117760316 15:53:51.117 DBG [rtsp] new consumer stream=seccam3
2025-05-17 15:53:51.155067795 15:53:51.155 DBG [rtsp] new consumer stream=seccam3_rec_h264
2025-05-17 15:53:51.155345319 15:53:51.155 DBG [rtsp] new consumer stream=seccam3_tele_rec_h264
2025-05-17 15:53:51.160891569 15:53:51.160 DBG [ffmpeg] bin libavformat="61. 1.100" version=n7.0.2-18-g3e6cec1286-20240919
2025-05-17 15:53:51.161084046 15:53:51.160 DBG [exec] run rtsp args=["/usr/lib/ffmpeg/7.0/bin/ffmpeg","-hide_banner","-v","error","-fflags","nobuffer","-flags","low_delay","-timeout","5000000","-user_agent","go2rtc/ffmpeg","-rtsp_flags","prefer_tcp","-i","rtsp://127.0.0.1:8554/seccam3_tele_rec?video&source=ffmpeg:seccam3_tele_rec%23video%3Dh264","-c:v","libx264","-g","50","-profile:v","high","-level:v","4.1","-preset:v","superfast","-tune:v","zerolatency","-pix_fmt:v","yuv420p","-an","-user_agent","ffmpeg/go2rtc","-rtsp_transport","tcp","-f","rtsp","rtsp://127.0.0.1:8554/ea49413b4a343bbbd1cbc921ae54d0d9"]
2025-05-17 15:53:51.167104223 15:53:51.167 DBG [rtsp] new consumer stream=seccam3_tele_rec
2025-05-17 15:53:51.212219228 15:53:51.212 DBG [streams] start producer url=rtsp://lcars-cam:[email protected]:554/Preview_01_sub
2025-05-17 15:53:51.260205870 15:53:51.260 DBG [exec] run rtsp args=["/usr/lib/ffmpeg/7.0/bin/ffmpeg","-hide_banner","-v","error","-fflags","nobuffer","-flags","low_delay","-timeout","5000000","-user_agent","go2rtc/ffmpeg","-rtsp_flags","prefer_tcp","-i","rtsp://127.0.0.1:8554/seccam3_rec?video&source=ffmpeg:seccam3_rec%23video%3Dh264%23hardware","-c:v","libx264","-g","50","-profile:v","high","-level:v","4.1","-preset:v","superfast","-tune:v","zerolatency","-pix_fmt:v","yuv420p","-an","-user_agent","ffmpeg/go2rtc","-rtsp_transport","tcp","-f","rtsp","rtsp://127.0.0.1:8554/10d38acf506e61bb37b08d35c19f3a8d"]
2025-05-17 15:53:51.266646392 15:53:51.266 DBG [rtsp] new consumer stream=seccam3_rec
2025-05-17 15:53:51.275969718 15:53:51.275 DBG [streams] start producer url=rtsp://lcars-cam:[email protected]:554/Preview_02_main
2025-05-17 15:53:51.368731244 15:53:51.368 DBG [streams] start producer url=rtsp://lcars-cam:[email protected]:554/Preview_01_main
2025-05-17 15:53:52.492549480 15:53:52.492 DBG [rtsp] new consumer stream=seccam3
2025-05-17 15:53:54.181389646 15:53:54.181 DBG [exec] [hevc @ 0x55923fc708c0] Could not find ref with POC 21
2025-05-17 15:53:54.247388578 15:53:54.247 DBG [exec] run rtsp launch=2.987080686s
2025-05-17 15:53:54.247391642 15:53:54.247 DBG [streams] start producer url=ffmpeg:seccam3_rec#video=h264#hardware
2025-05-17 15:53:54.364283753 15:53:54.364 DBG [exec] [hevc @ 0x56500dc01b80] Could not find ref with POC 21
2025-05-17 15:53:54.415560873 15:53:54.415 DBG [exec] run rtsp launch=3.254384794s
2025-05-17 15:53:54.415604737 15:53:54.415 DBG [streams] start producer url=ffmpeg:seccam3_tele_rec#video=h264
2025-05-17 15:53:57.946022405 [INFO] Starting go2rtc healthcheck service...
2025-05-17 15:54:26.338142474 15:54:26.338 DBG [rtsp] new consumer stream=seccam3
2025-05-17 15:54:34.598139531 15:54:34.598 DBG [streams] start producer url=rtsp://lcars-cam:[email protected]:554/Preview_02_sub
2025-05-17 15:54:38.188390848 15:54:38.188 DBG [rtsp] handle error="read tcp 172.20.0.2:8554->192.168.1.42:33794: read: connection reset by peer"
2025-05-17 15:54:38.188404428 15:54:38.188 DBG [rtsp] disconnect stream=seccam3
2025-05-17 15:54:48.202554091 15:54:48.202 DBG [rtsp] new consumer stream=seccam3
2025-05-17 15:54:51.938870458 15:54:51.938 DBG [streams] stop producer url=rtsp://lcars-cam:[email protected]:554/Preview_02_sub
2025-05-17 15:56:59.407835398 15:56:59.407 DBG [streams] start producer url=rtsp://lcars-cam:[email protected]:554/Preview_02_sub
2025-05-17 15:57:02.190919943 15:57:02.190 DBG [rtsp] handle error=EOF
2025-05-17 15:57:02.190931480 15:57:02.190 DBG [rtsp] disconnect stream=seccam3
2025-05-17 15:57:05.887630924 15:57:05.887 DBG [streams] stop producer url=rtsp://lcars-cam:[email protected]:554/Preview_02_sub
2025-05-17 15:57:22.196962196 15:57:22.196 DBG [rtsp] new consumer stream=seccam3
2025-05-17 15:59:55.292880668 15:59:55.292 DBG [rtsp] handle error=EOF
2025-05-17 15:59:55.292980311 15:59:55.292 DBG [rtsp] disconnect stream=seccam3 FFprobe output from your cameraseccam3 Camera [{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":896,"height":512,"avg_frame_rate":"10/1"},{"codec_long_name":"AAC (Advanced Audio Coding)","avg_frame_rate":"0/0"}]}}]
seccam3_rec_h264 Camera
[{"return_code":0,"stderr":"","stdout":{"programs":[],"stream_groups":[],"streams":[{"codec_long_name":"H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10","width":3840,"height":2160,"avg_frame_rate":"25/1"}]}}]
Install methodDocker Compose Object DetectorCPU (no coral) Network connectionWired Camera make and modelReolink Trackmix POE Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulFor context, my Reolink camera puts out two streams. A H265 and a H264 stream. I run the detector on the H265 stream. I also transcode the H265 stream to H264 using go2rtc, and run the recorder on the H264 stream, because most browsers seem to have trouble with H265. Saving the retained videos as H264 eliminates that problem. It seems like when remove the H265 input and detector role, GPU does UP, when I add it back GPU does DOWN, which seems to be the opposite of what you would expect. A leave the go2rtc config untouched the entire time I am testing. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
From the docs: https://docs.frigate.video/configuration/cameras#setting-up-camera-inputs
|
Beta Was this translation helpful? Give feedback.
-
Works as you said it would. Thanks for the assistance. |
Beta Was this translation helpful? Give feedback.
From the docs: https://docs.frigate.video/configuration/cameras#setting-up-camera-inputs