Screen:// streaming over LAN to rtmp or rtsp

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
TheLuckiest
New Cone
New Cone
Posts: 7
Joined: 24 Feb 2011 04:23
Operating System: Windows 7

Screen:// streaming over LAN to rtmp or rtsp

Postby TheLuckiest » 24 Feb 2011 04:51

Okay so here's my situation and I'm going to try and explain it as fully as possible.

A summary of the end result I'm trying to achieve is streaming of my roommate's computer screen over LAN to either a rtmp or rtsp address. I will then use this to stream to my Justin.tv livestream using the program called XSplit. (I know that's off topic but I'm trying to give some context). I have scoured Google and I can't find any sort of up-to-date documentation ANYWHERE regarding how to just straight up stream and receive a stream of "screen://". The graphical interface of VLC seems so straightforward, but I cannot even come close to doing this. Can anybody simply explain (or link to a guide) of how to do this? I've gotten as far as Image here and I have no clue which option to select or what variables to put in after. And after this, I don't know how to correctly receive the stream.

Any help would be AWESOME.

Thanks!

TheLuckiest
New Cone
New Cone
Posts: 7
Joined: 24 Feb 2011 04:23
Operating System: Windows 7

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby TheLuckiest » 03 Mar 2011 04:17

Wow, nobody has needed to do this before? :(

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

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby Rémi Denis-Courmont » 03 Mar 2011 16:23

Select RTSP in the drop down list??
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TheLuckiest
New Cone
New Cone
Posts: 7
Joined: 24 Feb 2011 04:23
Operating System: Windows 7

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby TheLuckiest » 07 Mar 2011 00:18

I guess the thing that I'm confused about is what you would type when you select RTSP, which IP address to use. Do I have to use a specific address to tell it that it's LAN, or will that be inherent in the fact that both computers are connected via LAN?

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

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby Rémi Denis-Courmont » 07 Mar 2011 18:39

That's (confusingly) the local IP address to bind the server. Normally, you can just leave the field empty.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

TheLuckiest
New Cone
New Cone
Posts: 7
Joined: 24 Feb 2011 04:23
Operating System: Windows 7

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby TheLuckiest » 08 Mar 2011 02:45

Okay so I left the RTSP field blank and then tried to connect with another computer on the network. I received this error message:

Image

Looking at the error message log I see this:

Code: Select all

main debug: adding item `rtsp://xxx.xx.xxx.xx:5544' ( rtsp://xxx.xx.xxx.xx:5544 ) main debug: rebuilding array of current - root Playlist main debug: rebuild done - 3 items, index 1 main debug: processing request item rtsp://xxx.xx.xxx.xx:5544 node null skip 0 main debug: resyncing on rtsp://xxx.xx.xxx.xx:5544 main debug: rtsp://xxx.xx.xxx.xx:5544 is at 2 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtsp://xxx.xx.xxx.xx:5544' qt4 debug: Adding a new MRL to recent ones: rtsp://xxx.xx.xxx.xx:5544 main debug: thread (input) created at priority 1 (../.././src/input/input.c:214) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\Andy\AppData\Local\Temp' main debug: `rtsp://xxx.xx.xxx.xx:5544' gives access `rtsp' demux `' path `xxx.xx.xxx.xx:5544' main debug: creating demux: access='rtsp' demux='' path='xxx.xx.xxx.xx:5544' main debug: looking for access_demux module: 1 candidate qt4 debug: IM: Setting an input live555 debug: DESCRIBE failed with 0: 404 Not found live555 debug: connection timeout live555 error: Failed to connect with rtsp://xxx.xx.xxx.xx:5544 main debug: no access_demux module matching "rtsp" could be loaded main debug: TIMER module_need() : 272.000 ms - Total 272.000 ms / 1 intvls (Avg 272.000 ms) main debug: creating access 'rtsp' path='xxx.xx.xxx.xx' main debug: looking for access module: 1 candidate main debug: net: connecting to xxx.xx.xxx.xx port 5544 main debug: connection succeeded (socket = 1416) access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now main debug: no access module matching "rtsp" could be loaded main debug: TIMER module_need() : 238.000 ms - Total 238.000 ms / 1 intvls (Avg 238.000 ms) main debug: waitpipe: object killed main error: open of `rtsp://xxx.xx.xxx.xx:5544' failed: (null) main debug: finished input main debug: thread ended main debug: dead input main debug: thread times: real 0m0.512029s, kernel 0m0.000000s, user 0m0.000000s main debug: changing item without a request (current 2/3) main debug: nothing to play qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'rtsp://xxx.xx.xxx.xx:5544' : 543.000 ms - Total 543.000 ms / 1 intvls (Avg 543.000 ms)

TheLuckiest
New Cone
New Cone
Posts: 7
Joined: 24 Feb 2011 04:23
Operating System: Windows 7

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby TheLuckiest » 14 Mar 2011 05:15

I hate to double-post, but has really nobody else had this problem...?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby Sébastien Escudier » 15 Mar 2011 08:56

select rtsp, click on "Add" and in the path field write :
/my_stream

on the vlc client, open rtsp://ip:5544/my_stream

TheLuckiest
New Cone
New Cone
Posts: 7
Joined: 24 Feb 2011 04:23
Operating System: Windows 7

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby TheLuckiest » 15 Mar 2011 23:22

Thanks for the response, but here's the error I get now:

Code: Select all

Your input can't be opened: VLC is unable to open the MRL 'rtsp://129.21.120.99:5544/my_stream'. Check the log for details.

Code: Select all

main debug: processing request item rtsp://129.21.120.99:5544/my_stream node Playlist skip 0 main debug: resyncing on rtsp://129.21.120.99:5544/my_stream main debug: rtsp://129.21.120.99:5544/my_stream is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtsp://129.21.120.99:5544/my_stream' main debug: thread (input) created at priority 1 (../.././src/input/input.c:214) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\Andy\AppData\Local\Temp' main debug: `rtsp://129.21.120.99:5544/my_stream' gives access `rtsp' demux `' path `129.21.120.99:5544/my_stream' main debug: creating demux: access='rtsp' demux='' path='129.21.120.99:5544/my_stream' main debug: looking for access_demux module: 1 candidate qt4 debug: IM: Setting an input live555 debug: RTP subsession 'video/H264' live555 error: SETUP of'video/H264' failed 461 Unsupported transport live555 debug: setup start: 0.000000 stop:0.000000 live555 error: Nothing to play for rtsp://129.21.120.99:5544/my_stream main debug: no access_demux module matching "rtsp" could be loaded main debug: TIMER module_need() : 281.000 ms - Total 281.000 ms / 1 intvls (Avg 281.000 ms) main debug: creating access 'rtsp' path='129.21.120.99:5544/my_stream' main debug: looking for access module: 1 candidate main debug: net: connecting to 129.21.120.99 port 5544 main debug: connection succeeded (socket = 1544) access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now main debug: no access module matching "rtsp" could be loaded main debug: TIMER module_need() : 221.000 ms - Total 221.000 ms / 1 intvls (Avg 221.000 ms) main debug: waitpipe: object killed main error: open of `rtsp://129.21.120.99:5544/my_stream' failed: (null) main debug: finished input main debug: thread ended main debug: dead input main debug: thread times: real 0m0.504028s, kernel 0m0.015600s, user 0m0.000000s main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'rtsp://129.21.120.99:5544/my_stream' : 521.000 ms - Total 521.000 ms / 1 intvls (Avg 521.000 ms)

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby Sébastien Escudier » 16 Mar 2011 09:06

screen streaming seems to be broken :
x264 [error]: Input picture width (1280) is greater than stride (0)

TheLuckiest
New Cone
New Cone
Posts: 7
Joined: 24 Feb 2011 04:23
Operating System: Windows 7

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby TheLuckiest » 18 Mar 2011 02:29

That's too bad :( will they be working on it for the next patch?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby Sébastien Escudier » 18 Mar 2011 09:31

if someone works on it...
You can open a bug report

afflicto
New Cone
New Cone
Posts: 1
Joined: 30 Apr 2011 19:46

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby afflicto » 30 Apr 2011 19:51

I need to do this as well! I'm using xSplit too.
I need "Gaming Rig" to stream speaker audio+Mic Audio and the Screen to my "Dreamvoid TV" Computer through LAN.
"Dreamvoid TV" Computer is using Xsplit to stream the complete end-stream that goes live on dreamvoid.com/live.

I mailed Xsplit and asked them if they would implement a feature in xsplit that allows you to stream locally to another computer running Xsplit.

Kinda like this:
Gaming Rig Xsplit: "Broadcast: Local". boom.. you stream live to IP ADDRESS "192.168.0.4" or whatever
Dreamvoid TV Xsplit: "Oh hai..Afflicto, Gaming Rig wants to stream to us from "192.168.0.3" - I select yes.. and boom. done.

Would be awesome. I was looking into setting up a custom RTMP and figure out a way to do this in VLC, which is probably possible but confisuing, complex and not too easy.

If anyone has any idea on how to get this working in any way - Please do not hesitate to contact me at afflicto@dreamvoid.com
Or just visit my website at dreamvoid.com if you're into gaming, programming, game developing and stuff liek that!

Cya! and Regards
-Afflicto x)

Sorc17
Blank Cone
Blank Cone
Posts: 14
Joined: 03 May 2011 10:15

Re: Screen:// streaming over LAN to rtmp or rtsp

Postby Sorc17 » 03 May 2011 10:20

As I know screen:// streaming doesent work itself.
VLC is unable to open the MRL 'rtsp://129.21.120.99:5544/my_stream'. Check the log for details.
I got error like this when I have no route for multicast in my operation system. Try to add route for multicast if you have not it yet.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests