Page 1 of 1

Screen:// streaming over LAN to rtmp or rtsp

Posted: 24 Feb 2011 04:51
by TheLuckiest
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!

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

Posted: 03 Mar 2011 04:17
by TheLuckiest
Wow, nobody has needed to do this before? :(

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

Posted: 03 Mar 2011 16:23
by Rémi Denis-Courmont
Select RTSP in the drop down list??

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

Posted: 07 Mar 2011 00:18
by TheLuckiest
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?

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

Posted: 07 Mar 2011 18:39
by Rémi Denis-Courmont
That's (confusingly) the local IP address to bind the server. Normally, you can just leave the field empty.

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

Posted: 08 Mar 2011 02:45
by TheLuckiest
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)

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

Posted: 14 Mar 2011 05:15
by TheLuckiest
I hate to double-post, but has really nobody else had this problem...?

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

Posted: 15 Mar 2011 08:56
by Sébastien Escudier
select rtsp, click on "Add" and in the path field write :
/my_stream

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

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

Posted: 15 Mar 2011 23:22
by TheLuckiest
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)

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

Posted: 16 Mar 2011 09:06
by Sébastien Escudier
screen streaming seems to be broken :
x264 [error]: Input picture width (1280) is greater than stride (0)

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

Posted: 18 Mar 2011 02:29
by TheLuckiest
That's too bad :( will they be working on it for the next patch?

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

Posted: 18 Mar 2011 09:31
by Sébastien Escudier
if someone works on it...
You can open a bug report

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

Posted: 30 Apr 2011 19:51
by afflicto
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)

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

Posted: 03 May 2011 10:20
by Sorc17
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.