Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support SRT Stream #2818

Open
G2G2G2G opened this issue Feb 17, 2022 · 4 comments
Open

Support SRT Stream #2818

G2G2G2G opened this issue Feb 17, 2022 · 4 comments
Labels
enhancement New feature or request pinned

Comments

@G2G2G2G
Copy link

G2G2G2G commented Feb 17, 2022

Someone said this, but closed it:
#2736

Info:
https://www.haivision.com/blog/all/rtmp-vs-srt/
https://restream.io/blog/streaming-protocols/
how to:
https://stackoverflow.com/questions/62977448/minimal-srt-stream-example-with-ffmpeg

I do not know of any existing cons of SRT, so supporting it would make sense.

If allowed in the config to set srt:https://x.x.x.x instead of rtmp:https:// that's pretty much all we'd need from the looks of it.

@G2G2G2G G2G2G2G added the enhancement New feature or request label Feb 17, 2022
@yury-sannikov
Copy link
Contributor

In theory, you could try:

camera_name:
  gstreamer:
    inputs:
      - path: srtsrc uri="srt:https://127.0.0.1:7001" latency=0 name=rtp_stream
        roles:
          - detect
  detect:
    width: 1920
    height: 1080

Though you have to build this branch manually for your platform.

more info: https://gstreamer.freedesktop.org/documentation/srt/srtsrc.html?gi-language=c#srtsrc-page

@blakeblackshear
Copy link
Owner

I am sure they exist, but I personally have not seen cameras that support srt yet. Which cameras do you know of that support srt?

@G2G2G2G
Copy link
Author

G2G2G2G commented Feb 18, 2022

This is vs RTMP as in the first post, which is for output from frigate, to view on other systems instead of RTMP?
ffmpeg supports SRT fine

frigate is taking RTSP, not RTMP as input... converts to RTMP (and can convert to SRT too, is what I am asking)

@blakeblackshear
Copy link
Owner

Got it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
None yet
Development

No branches or pull requests

3 participants