[Config Support]: Configuring go2rtc - MSE not showing as an option #9929
-
Describe the problem you are havingJust following the simple instructions from here, Configuring go2rtc. Version0.13.0-cd64399 Frigate config filemqtt:
host: xxxx
user: xxxx
password: xxxx
detectors:
coral:
type: edgetpu
device: usb
model:
path: plus://9e01f593de50d94960c1623d1d5d289a
ffmpeg:
hwaccel_args: preset-vaapi
input_args: preset-rtsp-blue-iris
go2rtc:
streams:
baby_cam:
- rtsp://xxxx:xxxx/eufy_cam
live:
stream_name: camera_name
height: 720
quality: 8
snapshots:
enabled: True
clean_copy: True
crop: False
bounding_box: True
retain:
default: 5
detect:
enabled: True
width: 1280
height: 720
cameras:
baby_cam:
audio:
enabled: True
snapshots:
enabled: True
required_zones: []
ffmpeg:
inputs:
- path: rtsp://xxxx:xxxx/eufy_cam
roles:
- detect
- record
- audio
detect:
width: 1920
height: 1080
fps: 1
objects:
track:
- person
motion:
mask:
- 0,1080,684,1080,628,882,0,882
mqtt:
enabled: False Relevant log output2024-02-20 03:15:25.627768611 [INFO] Preparing go2rtc config...
2024-02-20 03:15:25.713942113 [INFO] Got IP address from supervisor: 10.0.1.62
2024-02-20 03:15:25.765940282 [INFO] Got WebRTC port from supervisor: 8555
2024-02-20 03:15:26.399868084 [INFO] Starting go2rtc...
2024-02-20 03:15:26.525644859 21:15:26.525 INF go2rtc version 1.8.1 linux/amd64
2024-02-20 03:15:26.526057567 21:15:26.525 INF [api] listen addr=0.0.0.0:1984
2024-02-20 03:15:26.526504275 21:15:26.526 INF [rtsp] listen addr=0.0.0.0:8554
2024-02-20 03:15:26.526764798 21:15:26.526 INF [webrtc] listen addr=0.0.0.0:8555/tcp
2024-02-20 03:15:35.620225190 [INFO] Starting go2rtc healthcheck service... Frigate stats{"cameras":{"baby_cam":{"audio_dBFS":-54.1067,"audio_rms":64.5823,"camera_fps":1.1,"capture_pid":354,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":359,"pid":341,"process_fps":1.1,"skipped_fps":0.0},"back_dome_cam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":371,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":382,"pid":348,"process_fps":5.1,"skipped_fps":0.0},"back_porch_cam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":4.9,"capture_pid":367,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":376,"pid":346,"process_fps":4.9,"skipped_fps":0.0},"doorbell_cam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":380,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":388,"pid":352,"process_fps":5.0,"skipped_fps":0.0},"driveway_cam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":362,"detection_enabled":1,"detection_fps":0.1,"ffmpeg_pid":372,"pid":344,"process_fps":5.1,"skipped_fps":0.0},"front_yard_cam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":375,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":386,"pid":350,"process_fps":5.1,"skipped_fps":0.0},"garage_cam":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":358,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":365,"pid":342,"process_fps":5.1,"skipped_fps":0.0}},"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"16":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"24":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"41":{"cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"42":{"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 ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"79":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"81":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"82":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"89":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"0.0","cpu_average":"0","mem":"0.2"},"100":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"113":{"cmdline":"python3 -u -m frigate","cpu":"4.9","cpu_average":"7","mem":"4.5"},"120":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.2"},"146":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"148":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"150":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"152":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"303":{"cmdline":"frigate.logger ","cpu":"0.0","cpu_average":"0","mem":"1.3"},"305":{"cmdline":"frigate.recording_manager","cpu":"0.0","cpu_average":"0","mem":"2.0"},"313":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(67)","cpu":"0.3","cpu_average":"0","mem":"0.1"},"315":{"cmdline":"frigate.detector.coral","cpu":"0.0","cpu_average":"0","mem":"2.3"},"320":{"cmdline":"frigate.output ","cpu":"2.4","cpu_average":"2","mem":"2.2"},"323":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.6"},"324":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"325":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"326":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"327":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"328":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"329":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"330":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"341":{"cmdline":"frigate.process:baby_cam","cpu":"0.3","cpu_average":"0","mem":"3.0"},"342":{"cmdline":"frigate.process:garage_cam","cpu":"1.4","cpu_average":"1","mem":"2.5"},"344":{"cmdline":"frigate.process:driveway_cam","cpu":"3.5","cpu_average":"4","mem":"2.7"},"346":{"cmdline":"frigate.process:back_porch_cam","cpu":"2.1","cpu_average":"3","mem":"2.8"},"348":{"cmdline":"frigate.process:back_dome_cam","cpu":"2.4","cpu_average":"2","mem":"2.8"},"350":{"cmdline":"frigate.process:front_yard_cam","cpu":"2.4","cpu_average":"2","mem":"2.8"},"352":{"cmdline":"frigate.process:doorbell_cam","cpu":"2.1","cpu_average":"2","mem":"2.6"},"354":{"cmdline":"frigate.capture:baby_cam","cpu":"0.7","cpu_average":"0","mem":"2.5"},"358":{"cmdline":"frigate.capture:garage_cam","cpu":"1.0","cpu_average":"0","mem":"2.4"},"359":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx/eufy_cam -r 1 -vf fps=1,scale_vaapi=w=1920:h=1080,hwdownload,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"1.4","cpu_average":"1","mem":"0.8"},"362":{"cmdline":"frigate.capture:driveway_cam","cpu":"1.7","cpu_average":"2","mem":"2.4"},"365":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx%21@xxxx/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif -r 5 -vf fps=5,scale_vaapi=w=640:h=480,hwdownload,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.1","cpu_average":"2","mem":"0.7"},"367":{"cmdline":"frigate.capture:back_porch_cam","cpu":"1.7","cpu_average":"2","mem":"2.4"},"371":{"cmdline":"frigate.capture:back_dome_cam","cpu":"1.7","cpu_average":"2","mem":"2.4"},"372":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx/driveway_sub -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.4","cpu_average":"2","mem":"0.9"},"375":{"cmdline":"frigate.capture:front_yard_cam","cpu":"1.7","cpu_average":"2","mem":"2.4"},"376":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx/backyard_sub -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.4","cpu_average":"2","mem":"0.8"},"380":{"cmdline":"frigate.capture:doorbell_cam","cpu":"2.1","cpu_average":"2","mem":"2.4"},"382":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx/back_dome_sub -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.8","cpu_average":"2","mem":"0.9"},"383":{"cmdline":"frigate.audio_manager","cpu":"0.0","cpu_average":"0","mem":"2.5"},"386":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx/front_yard_sub -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.1","cpu_average":"2","mem":"0.8"},"388":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx/doorbell_sub -r 5 -vf fps=5,scale_vaapi=w=1280:h=720,hwdownload,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.4","cpu_average":"2","mem":"0.9"},"394":{"cmdline":"ffmpeg -vn -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.13.0-cd64399 -user_agent FFmpeg Frigate/0.13.0-cd64399 -avoid_negative_ts make_zero -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://xxxx:xxxx/eufy_cam -f s16le -ar 16000 -ac 1 -y pipe:","cpu":"0.0","cpu_average":"0","mem":"0.3"},"5833":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"}},"detection_fps":0.1,"detectors":{"coral":{"detection_start":0.0,"inference_speed":5.89,"pid":315}},"gpu_usages":{"intel-vaapi":{"gpu":"3.11%","mem":"-%"}},"processes":{"audioDetector":{"pid":383},"go2rtc":{"pid":89},"logger":{"pid":303},"recording":{"pid":305}},"service":{"last_updated":1708402165,"latest_version":"0.13.2","storage":{"/dev/shm":{"free":3906.2,"mount_type":"tmpfs","total":3920.4,"used":14.2},"/media/frigate/clips":{"free":175389.6,"mount_type":"ext4","total":234006.2,"used":49069.2},"/media/frigate/recordings":{"free":175389.6,"mount_type":"ext4","total":234006.2,"used":49069.2},"/tmp/cache":{"free":3920.4,"mount_type":"tmpfs","total":3920.4,"used":0.0}},"temperatures":{},"uptime":3233,"version":"0.13.0-cd64399"}} Operating systemHassOS Install methodHassOS Addon Coral versionUSB Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
is this the current config? I'd suggest restarting. This is usually just an issue because the name of the go2rtc stream and name of frigate camera don't match |
Beta Was this translation helpful? Give feedback.
-
Your go2rtc config is creating a new stream for Frigate to use. In the camera config, you should be pointing to the go2rtc stream, not directly to the camera. Try using this for your camera path: rtsp://127.0.0.1:8554/baby_cam and then delete the stream_name entry under “live” |
Beta Was this translation helpful? Give feedback.
oh, I see the issue
this is overwriting the stream name for live
this is why we don't recommend copying the reference config