with RTP, stream output increased dramatically

About encoding, codec settings, muxers and filter usage
captainst
Blank Cone
Blank Cone
Posts: 24
Joined: 01 Sep 2011 16:43

with RTP, stream output increased dramatically

Postby captainst » 13 Jul 2012 16:25

I have encountered a problem when using the VLC to stream from an RTSP server to a remote computer using RTP MPEG transport stream. I am using VLC 2.0.1

I selected the source as "rtsp://192.168.55.100/av0"
Then I selected the new destination as "RTP / MPEG Transport Stream", configuring address = 192.168.55.101, port 5004 (the address and port of the destination PC)

The output string shown from VLC is the following:
:sout=#rtp{dst=192.168.55.101,port=5004,mux=ts,ttl=1} :sout-keep

But using network monitoring tools like NetLimiter, I saw that when the VLC input is around 200kbps, the RTP output arrives almost 400kbps, almost doubled.

It seems to me that the overhead is somehow too much. I don't understand well the protocols RTSP, and RTP. Could anybody tell me if the above result is normal ?

Many thanks !

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: with RTP, stream output increased dramatically

Postby Rémi Denis-Courmont » 14 Jul 2012 08:46

You have the overhead of UDP/IP, the overhead of RTP, the overhead of MPEG-TS. Do the math.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

captainst
Blank Cone
Blank Cone
Posts: 24
Joined: 01 Sep 2011 16:43

Re: with RTP, stream output increased dramatically

Postby captainst » 15 Jul 2012 06:06

Thank you again Rémi.

In this case, could it be a solution to add transcode the to incoming RTSP stream (x.264 format) to maintain the original throughput?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests