Frigate + Go2rtc net/url error

Hello,

I’ve been researching this issue for a while now and now I’m turning to the community for help.
I currently have one camera streaming through Frigate, but I’m unable to get this stream to work with Go2rtc. When I check the logs I receive a net/url: invalid userinfo.
Not sure what I am doing wrong but I’m sure I’ve setup something wrong.
If this question has been asked already I do apologize for this post.

I have Frigate running in docker.

go2rtc:

  streams:

    outdoorcam1:

      - rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=1

cameras:

  outdoorcam1: # <------ Name the camera

    ffmpeg:

      hwaccel_args: preset-vaapi

      inputs:

        - path: rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=1

          roles:

            - detect

Does it work if you use

go2rtc:
  streams:
    outdoorcam1:
      - "ffmpeg:rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=1"
2 Likes

Thank you very much, that did it.

Seems I should have trusted the documentation to find this answer.

Thank you for the support.

1 Like