[HW Accel Support]: go2rtc CPU usage #13252
-
Describe the problem you are havingHi, i would like to know if is it normal to have 20% under go2rtc process CPU usage with 10x cameras (5x 4MP and 5x 1080p), with HD stream used for recording and sub stream used for detect. VersionSystem 0.14.0-da913d8 Frigate config file...
ffmpeg:
hwaccel_args: preset-vaapi
...
go2rtc:
rtsp:
username: xxxx
password: xxxx
streams:
1:
- rtsp://xxxx:[email protected]:554/cam/realmonitor?channel=1&subtype=0
1_sub:
- rtsp://xxxx:[email protected]:554/cam/realmonitor?channel=1&subtype=1
...
webrtc:
candidates:
- 192.168.0.100:8555
- stun:8555
...
cameras:
1:
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://xxxx:[email protected]:8554/1
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://xxxx:[email protected]:8554/1_sub
input_args: preset-rtsp-restream
roles:
- detect docker-compose file or Docker CLI commanddocker run -d --name frigate --restart=always --mount type=tmpfs,target=/tmp/cache,tmpfs-size=4000000000 --device /dev/dri/renderD128:/dev/dri/renderD128 --device /dev/apex_0:/dev/apex_0 --shm-size=1024m --cap-add=CAP_PERFMON -v /home/deb/video/media/frigate:/media/frigate -v /home/deb/frigate/config/:/config/ -v /etc/localtime:/etc/localtime:ro -e LIBVA_DRIVER_NAME=i965 -e FRIGATE_RTSP_PASSWORD='xxxx' -p 1984:1984 -p 8971:8971 -p 5000:5000 -p 8554:8554 -p 8555:8555/tcp -p 8555:8555/udp ghcr.io/blakeblackshear/frigate:stable Relevant log outputno errors FFprobe output from your camera. Operating systemDebian Install methodDocker CLI Network connectionMixed Camera make and modelDahua Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
NickM-27
Aug 21, 2024
Replies: 1 comment 12 replies
-
You are restreaming both main and sub streams so yes, this does seem reasonable |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes you can disable motion and object detection