TCP streaming?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
MatB
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2007 16:52

TCP streaming?

Postby MatB » 28 Apr 2008 21:52

Hi,
is there a way to receive a tcp network stream with VLC?
Something like the udp input, but over tcp: the client streams the video source to the server that in turn shows the video.
The udp mode works ok, but too many packet are discarded, even when using a fraction of the available bandwidth.

Thanks in advance,
MatB

MatB
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2007 16:52

Re: TCP streaming?

Postby MatB » 29 Apr 2008 17:06

*bump*

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: TCP streaming?

Postby Jean-Baptiste Kempf » 29 Apr 2008 18:29

Use http streaming.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

MatB
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2007 16:52

Re: TCP streaming?

Postby MatB » 30 Apr 2008 12:27

Use http streaming.
HTTP streaming works the other way around: the source acts as a server, the destination as a client.
This of course does not work if you're behind firewall/natted and cannot forward incoming ports.
Or am i missing something?
Thanks,
MatB

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

Re: TCP streaming?

Postby Rémi Denis-Courmont » 30 Apr 2008 20:39

Then use FTP upload streaming.

However, TCP sucks even more than UDP if there is packet loss. It's reliable, but horrendously slow if there is even a few percent loss.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

MatB
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2007 16:52

Re: TCP streaming?

Postby MatB » 06 May 2008 11:17

However, TCP sucks even more than UDP if there is packet loss. It's reliable, but horrendously slow if there is even a few percent loss.
Well, it's a trade off. I've a 512kbps upload dsl; when i stream UDP i get losses already at 300kbps. TCP should at least transfer the same bitrate without losses.

Can anyone confirm that the output plugin "shout" is TCP? I couldn't find any reference to it.

Spice_Boy
Blank Cone
Blank Cone
Posts: 10
Joined: 28 Apr 2008 20:03

Re: TCP streaming?

Postby Spice_Boy » 12 May 2008 21:51

Don't forget that TCP has more overhead for error checking/packet resending.

MatB
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Jun 2007 16:52

Re: TCP streaming?

Postby MatB » 13 May 2008 09:09

Don't forget that TCP has more overhead for error checking/packet resending.
I checked with netcat and the iptables counters; i got a 4% overhead with TCP, which is more than fair.

funtra
New Cone
New Cone
Posts: 5
Joined: 27 Jun 2009 18:21

Re: TCP streaming?

Postby funtra » 27 Jun 2009 18:55

I would like to modify on the client side a stream coming in over the network prior to inputing it to vlc. So looking for a way to input to vlc a generic input stream. It would be in mp4 format. Thanks


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 64 guests