The real difference between SRT and RTMP

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 เม.ย. 2024
  • Does SRT use less bandwidth than RTMP?
    The answer is a bit more complicated than a straight yes or no. In order to find the answer, we need to take a closer look at how these two protocols actually work.
    MORE LINKS
    Subscribe for email updates about new livestreams and videos!
    aaronpk.tv
    Where I get my music from:
    Get 2 extra months with my link
    artlist.io/Aaron-1510314​
    NEED ONE-ON-ONE HELP?
    aaronpk.tv/consulting/
    External links to products on this TH-cam channel are affiliate links. There is no additional cost to buyers if they purchase products using these links and those purchases help me continue to create free content on this channel!
    b9e206718424742be821
  • ภาพยนตร์และแอนิเมชัน

ความคิดเห็น • 56

  • @trackdayguy
    @trackdayguy 2 หลายเดือนก่อน +11

    Excellent explanation. I've been in IT for 30 years and haven't heard TCP, UDP and RTMP described that clearly. Wow!

  • @mattwruff
    @mattwruff 2 หลายเดือนก่อน +11

    It was truly a university-quality lecture on the topic. Well Done! - I heard a lecture on this that lasted 90 minutes and you did it in 9!

  • @GrishTech
    @GrishTech 2 หลายเดือนก่อน +11

    One thing to note. RTMP is very useful for youtube still. I know that even if I drop frames while live, eventually my encoder / the tcp stack will send up the missing packets (if possible and successful). TH-cam then in post processing re-inserts the missing frames. I know this because I once was down for almost two minutes due to an ISP issue, then when I watched the replay, nothing was missing at the drop of the outage. I was shocked.

    • @QuikTechSolutions
      @QuikTechSolutions 2 หลายเดือนก่อน

      Great point David!

    • @wassagtmanndazu
      @wassagtmanndazu 5 วันที่ผ่านมา

      Any decent streaming server can do that. But for the live viewers, the stream was still interrupted or stalled.

    • @GrishTech
      @GrishTech 5 วันที่ผ่านมา

      @@wassagtmanndazu yes. That’s right. The point was that srt just drops it and doesn’t re-attempt to send it, but rtmp will retry. It’s important for vods. Yes, live viewers will still see buffering during the show. If the dropped frames are not re-sent, then the vod will have skips where srt didn’t care to resend the data.

  • @davidjoshuaford
    @davidjoshuaford 2 หลายเดือนก่อน +7

    Great breakdown of the technical aspects - more please!

  • @mflotron
    @mflotron 2 หลายเดือนก่อน +3

    Great explainer! I feel like I'm already pretty familiar with SRT and still learned a few things!

  • @user-ff9rx7kq2g
    @user-ff9rx7kq2g 23 วันที่ผ่านมา

    Thank you very much for making this easy to understand video for older people like me

  • @BensTechLab
    @BensTechLab 2 หลายเดือนก่อน +2

    Well done! Good balance of technical depth without losing the audience.

  • @LiveProductionTips
    @LiveProductionTips 2 หลายเดือนก่อน +3

    You are the GOAT. Yes we need more and longer

  • @clearvideo7471
    @clearvideo7471 2 หลายเดือนก่อน +3

    This is exactly what I've needed to know! Thanks!

  • @wassagtmanndazu
    @wassagtmanndazu 5 วันที่ผ่านมา

    A very good summary. Thank you.
    It is striking that the advertising for SRT often emphasizes that better quality would be possible. And then visual examples are used to compare it with an RTSP (!) live stream with packet loss. With RTSP (protocol from the 90s) there are many blocking artifacts and it looks bad, with SRT it looks good.
    However, live streams are very rarely transmitted via RTSP these days (still a good option for IP cameras, for example). In addition, there is usually very little or no packet loss. RTMP therefore transmits absolutely smoothly in most cases and 99% of all live streams worldwide run via RTMP.
    However, if you transmit via mobile network or from one continent to another, SRT has noticeable advantages. In normal everyday life, however, it makes virtually no difference.
    Assuming there is only 4 mbit/s upload available and a FullHD stream is to be transmitted at 3.8 mbit/s, then there are potential problems with RTMP. And SRT can be the deciding factor. In this case, it would be far better not to think about SRT or RTMP, but to optimize the stream to 3 mbits. Or better yet, both.
    But if an upload of 50 or even 100 mbit/s is normal today, and TH-cam re-encodes the FullHD live stream at 5 to 8 mbit/s anyway if you deliver with a higher data rate (but with the original stream if it is transmitted at 8 mbit/s), these data rates run super smoothly through the line using RTMP.

  • @TVJAY
    @TVJAY 2 หลายเดือนก่อน +3

    Please do more of these...they are great to share to people.

    • @EricLikness
      @EricLikness 2 หลายเดือนก่อน

      Amen and amen. This one is good, and definitely shouldn't raise hackles from the "engineers" in the audience. I dare say the engineers "story telling" ability cannot hold a candle to this video.

  • @frankferrer
    @frankferrer 2 หลายเดือนก่อน +2

    Thank you. Especially for that analogy.

  • @avtls
    @avtls 2 หลายเดือนก่อน +2

    Great explanation. A big YES to more like this. I think this kind off short video is very helpful for a base knowledge to allow you to go deeper into the subject. There are surely many videos out there that will go very deep, but it can be a bit overwhelming.

  • @lsmith77
    @lsmith77 2 หลายเดือนก่อน +3

    thank you for explaining the differences! now it would also be nice if drones and apps in general also add support for SRT.
    that being said, as a YBP user I guess even if they add SRT support, it will likely not support h265. which begs the question, is there a negotiation when an SRT connection is established which codecs both sides support or does this need to be manually configured?
    Edit: oh and it would be amazing to explain the differences to NDI next.

  • @scottjarriel6761
    @scottjarriel6761 2 หลายเดือนก่อน +1

    Great simplistic overview. Very helpful to those without a networking background. Thanks. Going into issues of how routers handle video streams without QOS tagging would be really getting into the weeds a bit, but might help people understand the differences between running video over a LAN vs through the actual internet.

  • @elsyemediagraphics
    @elsyemediagraphics 9 วันที่ผ่านมา +1

    Excellent info Aaron. Thank you for sharing! Yes, please continue to make content that explains the technical goodies! 😊

  • @DocRock
    @DocRock 2 หลายเดือนก่อน +2

    Good stuff AP. I knew this but was still riveted by your explanation. Now, when people do not understand my explanation, I can send them you way better Bill Nye version. #Mahalo
    See you in a couple days at NAB. #Aloha 🤙🏽

    • @aaronpk
      @aaronpk  2 หลายเดือนก่อน

      See you soon! 🕺

  •  2 หลายเดือนก่อน

    Great explanation. I would love to see more videos like this.

  • @HillClimbTV
    @HillClimbTV 2 หลายเดือนก่อน +2

    Great description. I would describe SRT is latency aware rather than video aware - it knows nothing about the data and can be used to transport things other than video. I'm surprised there hasn't been a more video aware transport gain traction - e.g. one that knows when link is congested to prioritise audio, then 'I' frames, then other frames - ideally linked to the encoder to automatically adjust compression levels when needed. I guess there are solutions, just not open ones.

    • @aaronpk
      @aaronpk  2 หลายเดือนก่อน +3

      That's fair, there are also some other simplifications I made in the description, so don't go write your SRT code in your video encoder based on what you heard in this video, but overall I think it gets the point across 😃
      That would be very cool to have an even more video-aware protocol though!

  • @TerenceKearns
    @TerenceKearns 2 หลายเดือนก่อน +1

    Bravo 👏 great job. So many professionals do not understand this.

  • @seandgruber
    @seandgruber 4 วันที่ผ่านมา

    Excellent explanation! Thank you! 😁

  • @scottrobinson502
    @scottrobinson502 7 วันที่ผ่านมา

    Clear explanation, thank you.

  • @ivarmh
    @ivarmh 2 หลายเดือนก่อน +1

    Thank you for this top notch explanation. Really well done!

  • @frankieking1941
    @frankieking1941 2 หลายเดือนก่อน

    Great explanation, very informative, thank you.

  • @Filmwhatmatters
    @Filmwhatmatters 2 หลายเดือนก่อน +1

    i’m gonna go get my kids some ice cream after school and think about this again. Lol thanks for the analogy.

  • @bhwhprods
    @bhwhprods 2 หลายเดือนก่อน

    Thanks Aaron. Really helpful 👍🏼

  • @PrueksaP
    @PrueksaP 2 หลายเดือนก่อน

    Nice explanation, Big thanks 😊

  • @guspicture
    @guspicture 2 หลายเดือนก่อน

    This was an excellent explanation, even a newbie could understand! Thank you Aaron

  • @QuikTechSolutions
    @QuikTechSolutions 2 หลายเดือนก่อน

    Very well explained!

  • @oscarsanchez870
    @oscarsanchez870 2 หลายเดือนก่อน +1

    I would like to see more videos like this

  • @ssguy
    @ssguy 2 หลายเดือนก่อน +1

    So helpful!

  • @alzyerpal-TV
    @alzyerpal-TV 2 หลายเดือนก่อน

    I've been curious about SRT for a while now. This video has proven most informative. I've just ordered up a Yolobox Ultra to replace my Pro edition. Perhaps a video on the specifics of SRT transmission via Yolobox Ultra could be produced ?

  • @VicenteXimenez
    @VicenteXimenez 2 หลายเดือนก่อน

    Great video 👌🏽👌🏽👌🏽

  • @dsmnigeriae1554
    @dsmnigeriae1554 7 วันที่ผ่านมา

    Thanks for this video

  • @krishnansrinivasan830
    @krishnansrinivasan830 2 หลายเดือนก่อน

    Awesome & Thanks :)

  • @andrzej-krause
    @andrzej-krause 20 วันที่ผ่านมา

    Nice explanation. Now, can you dig a little deeper and talk about multiple SRT synchronisation (WMS Panel, timecoded, NTP/SEI), maybe with Dante? And SRTLA, OpenMPTCP, network bonding?

    • @aaronpk
      @aaronpk  20 วันที่ผ่านมา +1

      That is a lot deeper! I'll see what I can do 😄

  • @FatehShams
    @FatehShams 2 หลายเดือนก่อน

    @aaron
    Since you are on NAB. Any news or rumors from BMD about SRT implementation in ATEM lineup and Streaming Bridge?

  • @GiovaniGuidolin
    @GiovaniGuidolin หลายเดือนก่อน

    very good!

  • @rogersoutdoorproductions3364
    @rogersoutdoorproductions3364 2 หลายเดือนก่อน

    i would like to see a video from you where you use a Magewell mini or a Yolobox Ultra to send a remote livestream using srt to an hdmi or sdi input on a Blackmagic mini. It would have an explanation of port forwarding and and using something like Wireguard to protect that open port. I believe this would be better than making a personal rtmp server. Thanks for any consideration.

    • @aaronpk
      @aaronpk  2 หลายเดือนก่อน

      Thanks! That's definitely on my list!

    • @EricLikness
      @EricLikness 2 หลายเดือนก่อน

      @@aaronpk +1 on a Chaos Router shoot out of SRT vs. RTMP (and use OBS as your RTMP encoder and SRT encoder, keep the hardware outta the loop).

  • @TerenceKearns
    @TerenceKearns 2 หลายเดือนก่อน

    Question, if you stream h265, does that mean the viewers player needs to be a h265 decoder or does the streaming server usually transcode it? What about HLS?

    • @aaronpk
      @aaronpk  2 หลายเดือนก่อน +1

      Usually when we talk about streaming encoding we're talking about the link from the encoder to the platform like TH-cam, and the platform will convert that to a suitable format for distributing to viewers. Most of the time that's converting it to HLS segments, usually h264

    • @TerenceKearns
      @TerenceKearns 2 หลายเดือนก่อน

      @@aaronpk okay cool. Thanks for your response.

    • @wassagtmanndazu
      @wassagtmanndazu 5 วันที่ผ่านมา

      @@aaronpk HLS is always h.264. It cannot be h.265 and, for example, not webm.
      For a free (advertising-financed) service, this is not important to the user. Wherever a customer pays for the service, it is relevant, because converting from h265 to h264 is complex and costs CPU cores. Or a server with a powerful GPU has to be paid for.

    • @aaronpk
      @aaronpk  5 วันที่ผ่านมา

      @@wassagtmanndazu TH-cam can ingest h265 over HLS: support.google.com/youtube/answer/10349430?hl=en

    • @wassagtmanndazu
      @wassagtmanndazu 5 วันที่ผ่านมา

      @@aaronpk Thanks, I didn't know that.
      According to the specification, it is designed for h.264. And I have more experience with HLS transmission from the server to the viewers. I didn't know that TH-cam allows ingest via HLS including HEVC or h.265.

  • @dsmnigeriae1554
    @dsmnigeriae1554 7 วันที่ผ่านมา

    Thanks for this video

  • @ssguy
    @ssguy 2 หลายเดือนก่อน

    So helpful!