Difference between MPEG-TS and RTP for .mp4 video streaming?

1

So I am trying to stream a .mp4 video over ETHERNET using the ffmpeg tool. I have read a little about transport of .mp4 video and have learnt that there are two methods; mpeg-ts and RTP (both over UDP). I have been able to stream the .mp4 video through both methods in ffmpeg and haven't noticed any difference in quality or latency as such. What is the difference in concept and efficiency between the two protocols for transportation of video? Or am I mixing two different concepts? Any help is appreciated!

Candy

Posted 2019-03-07T08:13:49.960

Reputation: 31

Hmm, I vaguely remember that MPEG-TS isn't a standalone protocol, just an encapsulation format that is used by RTP and other protocols. – user1686 – 2019-03-07T09:05:33.557

Welcome to Superuser! Please take the tour to get your first badge

– Ahmed Ashour – 2019-03-07T11:50:59.903

It’s two way of accomplishing the same thing. RTP probablly uses a very tiny bit less bandwidth. But effectively it doesn’t matter. – szatmary – 2019-03-07T16:27:11.907

@grawity isn't RTP essentially a packetization protocol too? It runs on top of UDP. – Candy – 2019-03-08T06:33:53.703

@szatmary thanks for your comment, I will look into that. Is there any command in ffmpeg that can be used to confirm the bandwidth used? – Candy – 2019-03-08T06:37:12.583

No answers