Stream the desktop as RTSP using VLC

About encoding, codec settings, muxers and filter usage
bjorn_vlc
New Cone
New Cone
Posts: 2
Joined: 14 May 2012 15:41

Stream the desktop as RTSP using VLC

Postby bjorn_vlc » 14 May 2012 16:33

So, I'm looking into ways of streaming what is going on at one computer using RTSP to be captured by another computer in the same LAN and then rebroadcasted using xsplit. During my investigations I realized that VLC (on paper at least) seems to be able to help providing this.

However, I can not get it to work. I am not very experienced in the field and may be doing really stupid things but there is a severe lack of VLC 2.0.1 streaming documentation I must say.

Any kind soul with more knowledge that perhaps could device some sort of tutorial how to do it? When I manage to get a stream up (it seems VLC is broadcasting at least, the timer is counting up) without crashing the entire app I can not seem to be able to connect to the stream.

This is how I set it up for now:

Image
Image
(I probably fail hard on the above step)
Image

I hope that even if it is in swedish you understand what settings it is.

So, with this I get VLC to start ticking up its counter, but I have not been able to capture this stream in any way. If anyone have some help I would be grateful or if you have any other ideas on how to accomplish what I'm trying to do I'm happy to listen to that as well :)

Thanks for your time

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

Re: Stream the desktop as RTSP using VLC

Postby Rémi Denis-Courmont » 14 May 2012 16:43

You'll definitely need to transcode. And given the low frame rate, it might be quite tough to find a functional codec.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

bjorn_vlc
New Cone
New Cone
Posts: 2
Joined: 14 May 2012 15:41

Re: Stream the desktop as RTSP using VLC

Postby bjorn_vlc » 14 May 2012 16:58

Okay :/

But with these settings, just for the sake of it. How do I capture the stream?

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

Re: Stream the desktop as RTSP using VLC

Postby gregfr » 01 Aug 2012 16:57

You have:

:sout=#rtp{sdp=rtsp://:8554/c:\\tmp\\}

That is you mix a rtsp url with a local windoz path, it will probably not work as you expect: what you specify is to serve from the local machine a rtsp stream on port 8554 and the name of the stream is "c:\\tmp\\". If you want to capture to a file you should specify a file, not rtsp which is a network protocol (real time streaming protocol)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests