-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Support]: Go2RTC crashing when viewing live view from Home assistant #17696
Replies: 1 comment · 4 replies
-
|
I'd suggest using the |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
do i still need ffmpeg in the camera section? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
update, the same thing happened again with the ffmpeg module |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
What do the go2rtc logs show now? You could also enable go2rtc trace logs: |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
I think it has something to do with Home assistant's expected codec, or resolution, or something, Because I swapped the video preview card (the large view that shows the live feed when the dashboard loads) to the badge that doesn't load the livestream until you click on it. And it's been recording without error. I am still curious so I'll enable go2rtc trace logs soon and respond with them if I see anything noteworthy |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Basically, the title, I was having stability issues on frigate (wifi camera) where as the Camera's app and VLC streaming was consistently good. So I swapped the stream over to a Go2RTC stream in the frigate config and that mostly resolved the issue, but every time I click to view the stream in HA's dashboard the FFMPEG crashes. Now, I dont entirely NEED to view the live stream in the dashboard, just having the detection snapshots would be plently, but has anyone had this issue?
(attaching a timeline of continuous recording before I try to view through HA to show stability)

A sample of the Frigate logs BEFORE viewing in HA
Version
0.15.0-cea210d
What browser(s) are you using?
Brave
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Not sure how to do thisFrigate stats
{"cameras":{"backYardCam":{"camera_fps":5.6,"process_fps":5.6,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":545,"capture_pid":546,"ffmpeg_pid":29097,"audio_rms":0.0,"audio_dBFS":0.0}},"detectors":{"tensorrt":{"inference_speed":18.49,"detection_start":0.0,"pid":496}},"detection_fps":0.0,"gpu_usages":{"NVIDIA GeForce GTX 1080 Ti":{"gpu":"2.0%","mem":"15.85%","enc":"2.0%","dec":"2.0%"}},"cpu_usages":{"frigate.full_system":{"cpu":"0.7","mem":"17.9"},"1":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service"},"15":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6-linux-init-shutdownd"},"18":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B"},"24":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate"},"25":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx"},"26":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-fdholder"},"27":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate-log"},"28":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync-log"},"29":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync"},"30":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx-log"},"31":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-oneshot-runner"},"32":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-log"},"33":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc"},"34":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-healthcheck"},"44":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules"},"46":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --"},"92":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"},"94":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"},"95":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"},"96":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"},"104":{"cpu":"0.6","cpu_average":"0","mem":"0.1","cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"},"122":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user go2rtc-healthcheck"},"132":{"cpu":"0.8","cpu_average":"1","mem":"3.8","cmdline":"python3 -u -m frigate"},"138":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: master process nginx"},"181":{"cpu":"0.0","cpu_average":"0","mem":"0.2","cmdline":"nginx: worker process"},"182":{"cpu":"0.0","cpu_average":"0","mem":"0.2","cmdline":"nginx: worker process"},"183":{"cpu":"0.0","cpu_average":"0","mem":"0.2","cmdline":"nginx: worker process"},"184":{"cpu":"0.0","cpu_average":"0","mem":"0.2","cmdline":"nginx: worker process"},"185":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: cache manager process"},"346":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user certsync"},"480":{"cpu":"0.3","cpu_average":"0","mem":"1.6","cmdline":"frigate.recording_manager"},"486":{"cpu":"0.2","cpu_average":"0","mem":"1.6","cmdline":"frigate.review_segment_manager"},"496":{"cpu":"0.9","cpu_average":"3","mem":"3.5","cmdline":"frigate.detector.tensorrt"},"512":{"cpu":"0.3","cpu_average":"0","mem":"1.6","cmdline":"frigate.output "},"545":{"cpu":"1.5","cpu_average":"5","mem":"1.8","cmdline":"frigate.process:backYardCam"},"546":{"cpu":"1.5","cpu_average":"1","mem":"1.7","cmdline":"frigate.capture:backYardCam"},"577":{"cpu":"0.0","cpu_average":"0","mem":"0.4","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"584":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"29097":{"cpu":"3.9","cpu_average":"2","mem":"0.9","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.15.0-cea210d -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/backYardCam -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/backYardCam@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080,hwdownload,format=nv12,eq=gamma=1.4:gamma_weight=0.5 -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"29222":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 60"},"29333":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 30s"}},"service":{"uptime":13204,"version":"0.15.0-cea210d","latest_version":"0.15.0","storage":{"/media/frigate/recordings":{"total":15711215.0,"used":1708448.0,"free":14002767.0,"mount_type":"9p"},"/media/frigate/clips":{"total":15711215.0,"used":1708448.0,"free":14002767.0,"mount_type":"9p"},"/tmp/cache":{"total":1031018.4,"used":14833.1,"free":963740.5,"mount_type":"overlay"},"/dev/shm":{"total":240.0,"used":151.3,"free":88.7,"mount_type":"tmpfs"}},"temperatures":{},"last_updated":1744654283},"processes":{"recording":{"pid":480},"review_segment":{"pid":486},"go2rtc":{"pid":104}}}Install method
Home Assistant Add-on
docker-compose file or Docker CLI command
Object Detector
TensorRT
Network connection
Wireless
Camera make and model
Tappo C310
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions