The real difference between SRT and RTMP

  Рет қаралды 9,843

Aaron Parecki

Aaron Parecki

Күн бұрын

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/Aar...
NEED ONE-ON-ONE HELP?
aaronpk.tv/con...
External links to products on this KZbin 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

Пікірлер: 71
@trackdayguy
@trackdayguy 5 ай бұрын
Excellent explanation. I've been in IT for 30 years and haven't heard TCP, UDP and RTMP described that clearly. Wow!
@davidjoshuaford
@davidjoshuaford 5 ай бұрын
Great breakdown of the technical aspects - more please!
@TVJAY
@TVJAY 5 ай бұрын
Please do more of these...they are great to share to people.
@carpetbomberz
@carpetbomberz 5 ай бұрын
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.
@LiveProductionTips
@LiveProductionTips 5 ай бұрын
You are the GOAT. Yes we need more and longer
@BensTechLab
@BensTechLab 5 ай бұрын
Well done! Good balance of technical depth without losing the audience.
@wassagtmanndazu
@wassagtmanndazu 3 ай бұрын
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 KZbin 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.
@GrishTech
@GrishTech 5 ай бұрын
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). KZbin 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 5 ай бұрын
Great point David!
@wassagtmanndazu
@wassagtmanndazu 3 ай бұрын
Any decent streaming server can do that. But for the live viewers, the stream was still interrupted or stalled.
@GrishTech
@GrishTech 3 ай бұрын
@@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.
@HillClimbTV
@HillClimbTV 5 ай бұрын
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 5 ай бұрын
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!
@elsyemediagraphics
@elsyemediagraphics 3 ай бұрын
Excellent info Aaron. Thank you for sharing! Yes, please continue to make content that explains the technical goodies! 😊
@TerenceKearns
@TerenceKearns 5 ай бұрын
Bravo 👏 great job. So many professionals do not understand this.
@MAK_007
@MAK_007 25 күн бұрын
Excellent video. Thank you
@ivarmh
@ivarmh 5 ай бұрын
Thank you for this top notch explanation. Really well done!
@guspicture
@guspicture 5 ай бұрын
This was an excellent explanation, even a newbie could understand! Thank you Aaron
5 ай бұрын
Great explanation. I would love to see more videos like this.
@alzyerpal-TV
@alzyerpal-TV 5 ай бұрын
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 ?
@scottrobinson502
@scottrobinson502 3 ай бұрын
Clear explanation, thank you.
@manueltresle1308
@manueltresle1308 3 ай бұрын
Well done sir!
@BenjaminTemplar
@BenjaminTemplar 2 ай бұрын
Aaron you are better than ChatGPT. Thank you man!!
@dsmnigeriae1554
@dsmnigeriae1554 3 ай бұрын
Thanks for this video
@bhwhprods
@bhwhprods 5 ай бұрын
Thanks Aaron. Really helpful 👍🏼
@QuikTechSolutions
@QuikTechSolutions 5 ай бұрын
Very well explained!
@gsigouin
@gsigouin 3 ай бұрын
Isn't also SRT low latency a big advantage over RTMP especially for real time communication like remote video contribution?
@TerenceKearns
@TerenceKearns 5 ай бұрын
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 5 ай бұрын
Usually when we talk about streaming encoding we're talking about the link from the encoder to the platform like KZbin, 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 5 ай бұрын
@@aaronpk okay cool. Thanks for your response.
@wassagtmanndazu
@wassagtmanndazu 3 ай бұрын
@@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 3 ай бұрын
@@wassagtmanndazu KZbin can ingest h265 over HLS: support.google.com/youtube/answer/10349430?hl=en
@wassagtmanndazu
@wassagtmanndazu 3 ай бұрын
@@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 KZbin allows ingest via HLS including HEVC or h.265.
@drumcatnau
@drumcatnau 2 ай бұрын
tl;dw - SRT handles h.265, so it can be way more efficient, plus it drops fewer frames.
@mattwruff
@mattwruff 5 ай бұрын
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!
@lsmith77
@lsmith77 5 ай бұрын
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.
@clearvideo7471
@clearvideo7471 5 ай бұрын
This is exactly what I've needed to know! Thanks!
@mflotron
@mflotron 5 ай бұрын
Great explainer! I feel like I'm already pretty familiar with SRT and still learned a few things!
@DocRock
@DocRock 5 ай бұрын
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 5 ай бұрын
See you soon! 🕺
@frankferrer
@frankferrer 5 ай бұрын
Thank you. Especially for that analogy.
@avtls
@avtls 5 ай бұрын
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.
@scottjarriel6761
@scottjarriel6761 5 ай бұрын
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.
@Filmwhatmatters
@Filmwhatmatters 5 ай бұрын
i’m gonna go get my kids some ice cream after school and think about this again. Lol thanks for the analogy.
@MrGanboo
@MrGanboo 19 күн бұрын
I work as a principal engineer and this video was sent to me by a junior and genuinely feel it’s so good I’m gonna be sending it to anyone who asks me this questions at work to get them started with the concepts
@ericstrong513
@ericstrong513 Ай бұрын
I agree with @trackdayguy, great explanation. Also been in I.T. over 30 years and this was a good refresher. I do IRL streaming on Twitch. I'll be setting up my own SRT server so I can use OBS scenes and whatnot instead of just going with IRL Pro only on the phone. SRT with H.265 is the way to go if you are an IRL Streamer IMO. Cheers!
@FatehShams
@FatehShams 5 ай бұрын
@aaron Since you are on NAB. Any news or rumors from BMD about SRT implementation in ATEM lineup and Streaming Bridge?
@failer500
@failer500 Ай бұрын
Absolutely fantastic video, thank you!
@serge4349
@serge4349 17 күн бұрын
Great explanation, thank you Aaron!!
@dsmnigeriae1554
@dsmnigeriae1554 3 ай бұрын
Thanks for this video
@drmathtex
@drmathtex 3 ай бұрын
Excellent explanation! Thank you! 😁
@PrueksaP
@PrueksaP 5 ай бұрын
Nice explanation, Big thanks 😊
@GiovaniGuidolin
@GiovaniGuidolin 5 ай бұрын
very good!
@oscarsanchez870
@oscarsanchez870 5 ай бұрын
I would like to see more videos like this
@IgnacioMadero
@IgnacioMadero 5 ай бұрын
Great video 👌🏽👌🏽👌🏽
@ssguy
@ssguy 5 ай бұрын
So helpful!
@ssguy
@ssguy 5 ай бұрын
So helpful!
@andrzej-krause
@andrzej-krause 4 ай бұрын
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 4 ай бұрын
That is a lot deeper! I'll see what I can do 😄
@onlocationlivetv
@onlocationlivetv 2 ай бұрын
Very clearly described Aaron. Thanks for this informative video
@EelcoRomeijn
@EelcoRomeijn 2 ай бұрын
Thanks Aaron, needed this.
@aaronpk
@aaronpk 2 ай бұрын
Happy to help!
@BigBenX
@BigBenX 3 ай бұрын
As I livestream more events, where do I begin to send my SRT streams? What platforms support SRT? How wouldI use it for a client?
@aaronpk
@aaronpk 3 ай бұрын
Some platforms accept SRT streams as an alternative to RTMP ingestion. It depends on the platform. KZbin is rolling it out slowly now, I have beta access to it at the moment. I assume eventually it will be available to everyone. Other platforms might already support it broadly.
@BigBenX
@BigBenX 3 ай бұрын
@@aaronpk Thanks Aaron. Are there any specific ways that you use it consistently over RTMP on a daily/weekly basis? I have the 4K Live U Solo Pro that we send our streams through with Restream in the middle.
@MykeHawke-r9r
@MykeHawke-r9r 4 ай бұрын
Thank you very much for making this easy to understand video for older people like me
@krishnansrinivasan830
@krishnansrinivasan830 5 ай бұрын
Awesome & Thanks :)
@frankieking1941
@frankieking1941 5 ай бұрын
Great explanation, very informative, thank you.
@rogersoutdoorproductions3364
@rogersoutdoorproductions3364 5 ай бұрын
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 5 ай бұрын
Thanks! That's definitely on my list!
@carpetbomberz
@carpetbomberz 5 ай бұрын
@@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).
HDMI vs. SDI vs. NDI: What Are The Differences?
13:44
YoloLiv Tech
Рет қаралды 23 М.
IP Video Production Standards: SMPTE 2110, NDI, Dante, SRT
7:48
Key Code Media
Рет қаралды 11 М.
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,9 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 66 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 16 МЛН
Why VPNs are a WASTE of Your Money (usually…)
14:40
Cyberspatial
Рет қаралды 1,5 МЛН
What's so unique aboue the RØDECaster Video?
8:11
Aaron Parecki
Рет қаралды 10 М.
NDI vs SMPTE ST 2110 : Streaming Showdown
3:39
AV Network Guy
Рет қаралды 8 М.
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 828 М.
The best BUDGET 4K wireless HDMI transmitter?
15:22
Aaron Parecki
Рет қаралды 241 М.
HOW TO: Setup SRT streaming Remotely - Phone to Home PC
10:09
cliffcreates
Рет қаралды 2,6 М.
"Networking" Sucks - How it actually works...
24:52
Rich Gilbert
Рет қаралды 13 М.
CrowdStrike IT Outage Explained by a Windows Developer
13:40
Dave's Garage
Рет қаралды 2,1 МЛН
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 1,9 МЛН