• 1 Post
  • 2 Comments
Joined 1Y ago
cake
Cake day: Jul 01, 2023

help-circle
rss
Can anyone help me figure out Frigate/go2rtc
I have two cameras in Frigate. One is a Raspberry Pi 3 running Monocle server, and this stopped working in Frigate some time back (driveway). The second is a [Galayou G7](https://community.home-assistant.io/t/new-contender-for-cheapest-off-the-shelf-rtsp-camera-galayou-g7/695120/2) (nursery). The nursery camera is the one I am concerned about with this post. Problem: Up until a month or two ago (I must have ran an update but I don't know) the audio from the Galayou camera worked in Home Assistant. I'd like to get that working again. Some searching led me to try setting up go2rtc in my config. Here is my config before making any changes: ``` mqtt: host: 192.168.1.10 cameras: nursery: ffmpeg: inputs: - path: rtsp://redacted:redacted@192.168.1.241:554/live/ch1 roles: - detect detect: width: 1280 height: 720 driveway: ffmpeg: inputs: - path: rtsp://192.168.1.240:554/recording/7824851880350319106/replay?trackid=8836591 roles: - detect detect: width: 1920 height: 1080 ``` This currently provides only jsmpeg video in Frigate. If I add something like this to the end: ``` go2rtc: streams: nursery: - rtsp://redacted:redacted@192.168.1.241:554/live/ch1 ``` this adds mse and webrtc as options in Frigate. But, mse plays only video, no audio. And webrtc loads neither audio nor video. I have tried adding lines like `- "ffmpeg:nursery#video=h264#audio=aac"` and also with `opus` but to no avail. Finally, if I `ffplay rtsp://redacted:redacted@192.168.1.241:554/live/ch1` it loads audio/video without a problem. I'm also able to connect via ONVIF at `onvif://192.168.1.241:8899` from onvif-gui. So, something is wrong in my Frigate config, and I don't know what. I'm hoping someone here is a little more familiar and can give me a pointer or two here?
fedilink

For many, just a hobby. If it doesn’t strike you as something you need or want, then maybe it isn’t


I had a longer reply typed, then Lemmy froze or something, but it seems you answered my questions so I’ll just leave it at this - really cool solution you set up.

Mine is to just plug an external HDD into my server every few months and run a backup script. I may copy this down the road.