Streaming desktop through VLC

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Silkutz
New Cone
New Cone
Posts: 7
Joined: 05 Aug 2009 15:06

Streaming desktop through VLC

Postby Silkutz » 05 Aug 2009 16:37

Hi Guys,

I am trying my very hardest to get my vlc to stream my desktop (pc1) to my second computer (pc2)

Background info:
Both pc's and infact laptops running windows xp sp3 with the lastest version of vlc installed on both. They are both connected to each other via a DHCP IP network.

Ok now,

I cannot get this to work at all, ive read everything there is to read about doing this and as far as i can tell im doing the right thing its just not working.

This is what ive tired so far:

On pc1 (server) i have checked that there is no firewall blocking ports and the network which both the laptops are connected to has no port limitations.

On pc1 I load up vlc and click 'Media' then 'Streaming' and click on the tab Capture Device and change the 'Capture Mode' to 'Desktop' and then change teh desired frame rate to 25fps. I then click the Stream button.

Now i am presented with the stream output settings, I leave the 'Source' then same and click Next

Now i am preseneted with teh Destinations options which i select 'UDP' and click 'Add'. In the address bar I type the ip of pc1 (server) which is 192.168.0.5. Under the transcoding options I select profile 'Video = MPEG-4 + AAC(mp4)' and click Next

Now i am presented with the Options settings which i leave blank as i dont really know what they mean...

The generated stream output string is as follows:

:sout=#transcode{vcodec=mp4v,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=mp4,dst=192.168.0.5:1234}

I now click the 'Stream' button and my vlc reapears and tells me its now streaming. ALL GOOD

Now i go to pc2 and open vlc and click 'Open Network Stream'

I select the UDP protcol and type in the address of my server (pc1) into the address box i.e. 192.168.0.5 click 'Play'

and get the error

Your input can't be opened: VLC is unable to open the MRL 'udp://@192.168.0.5:1234'. Check the log for details.

Log doesnt help as just says it cant connect to the ip!

No idea how to resolve this, so hopefully someone with bigger brains then me could share some light on the issue.

p.s. I have also tried to type NO ip into the pc2 open network dialog which doesnt present me with an error but just doesnt do anything.

Thanks in advance guys

Adam

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Streaming desktop through VLC

Postby VLC_help » 05 Aug 2009 17:55

With UDP you don't type IP of server. You type the IP of receiving computer (or multicast). Also vcodec=mp4v,vb=800 with Desktop output of 25 fps won't provide good quality unless your desktop resolution is 320x240. Also TS (Transport Stream) is better for streaming than MP4.

Silkutz
New Cone
New Cone
Posts: 7
Joined: 05 Aug 2009 15:06

Re: Streaming desktop through VLC

Postby Silkutz » 06 Aug 2009 10:34

Thanks for the reply,
With UDP you don't type IP of server. You type the IP of receiving computer (or multicast).
Do i enter the ip of the receviving computer when im setting up the server?

if so on the client (receviving computer) what ip address do i enter?

And thanks for the tips on the codecs.


Adam

Silkutz
New Cone
New Cone
Posts: 7
Joined: 05 Aug 2009 15:06

Re: Streaming desktop through VLC

Postby Silkutz » 06 Aug 2009 12:09

Never mind managed to get it working,

Thanks for your help

klchin
Blank Cone
Blank Cone
Posts: 18
Joined: 16 Jul 2009 18:19

Re: Streaming desktop through VLC

Postby klchin » 06 Aug 2009 12:44

Hi,

Can you post your setting?

TQ,
KL Chin

Silkutz
New Cone
New Cone
Posts: 7
Joined: 05 Aug 2009 15:06

Re: Streaming desktop through VLC

Postby Silkutz » 06 Aug 2009 13:02

Yeah sure,

i went for TS and bitrate of 2000 with my fps at 20,

hope this helps

klchin
Blank Cone
Blank Cone
Posts: 18
Joined: 16 Jul 2009 18:19

Re: Streaming desktop through VLC

Postby klchin » 07 Aug 2009 12:29

Hi Silkutz,

Thx for your info, it will be great if you can post the complete setting in case I missed something.

TQ,
KL Chin


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 45 guests