Serving rtsp

About encoding, codec settings, muxers and filter usage
gregfr
Blank Cone
Blank Cone
Posts: 13
Joined: 17 Nov 2010 00:52

Serving rtsp

Postby gregfr » 27 Mar 2013 04:44

I'm trying to setup rstp as a server ; from the documentation (http://wiki.videolan.org/Documentation: ... _HowTo/VLM), I tried:

Code: Select all

vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0 --rtsp-port 554
but vlc doesn't bind to 554, in fact whatever port number I provide, it doesn't bind. Even if I set a bogus or used port, nothing, not even an error message.

How do I trigger vlc to actually bind to the port???

TIA

greg

gregfr
Blank Cone
Blank Cone
Posts: 13
Joined: 17 Nov 2010 00:52

Re: Serving rtsp

Postby gregfr » 27 Mar 2013 04:48

PS: I tried VLC 2.0.5 on both ubuntu and windows

gregfr
Blank Cone
Blank Cone
Posts: 13
Joined: 17 Nov 2010 00:52

Re: Serving rtsp

Postby gregfr » 27 Mar 2013 04:57

I find this:
viewtopic.php?f=11&t=107283

It seems it has to be a "vod" element, "broadcast" doesn't work?

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

Re: Serving rtsp

Postby Rémi Denis-Courmont » 27 Mar 2013 18:20

Both should work. Most probably your system is configured to forbid applications listening to TCP ports.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

gregfr
Blank Cone
Blank Cone
Posts: 13
Joined: 17 Nov 2010 00:52

Re: Serving rtsp

Postby gregfr » 28 Mar 2013 02:21

Probably not :)
My computer is very clever but not clever enough to allow "vod" and not "broadcast" ;) Firewalls are down on both OSes.
However maybe my understanding of "broadcast" is wrong. Although it's not explicit in the doc I read, it seems to be something like unicast or multicast. I'm thinking that because of the target IP (a server doesn't have a target IP):

Code: Select all

new channel2 broadcast enabled setup channel2 input udp://@239.255.12.42 setup channel2 output #rtp{mux=ts,dst=239.255.1.2,port=5004,sdp=sap://,name="Channel 2"}
Here the "dst" parameter is not a local bind address, is it?

My goal is to stream a live feed, so I guess "vod" is not the correct setting.

So what is the proper setting to serve a live feed?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests