ghacks Technology News

How to stream videos in lan and internet.


Quadmaster posted a nice guide to streaming video in lan on the techenclave website. All you need is the great media player VLC (video lan client), in a recent poll 36% of all voters on ghacks voted for vlc as the best media player. You need to assign local IP addresses if you have not done so allready, for sake of simplicity I assume the main pc that streams the content has a IP of 192.168.0.1 and the first client pc that recieves the stream has the IP 192.168.0.2.

Start VLC on the main pc and select open file. Choose a movie that you would like to stream and check the Stream Output box at the bottom of the screen. Click on settings and enter the following parameters, leave everything else unchanged. Enable HTTP, enter your IP (192.168.0.1) and select a random port (1337 for instance). Select MPEG_TS as Encapsulation Method if you are streaming a dat, avi, mpg pr mpeg file.

Hit ok and open VLC on the client pc. Select Open Network Stream, choose HTTP / FTP / MMS and enter the streaming IP and port of the server, in this case http://192.168.0.1:1337. Hit ok and you are ready to go. Please note that it is also possible to stream videos for friends on the internet the same way. You just have to change the local IP of the server to your internet IP. (Look it up here)

Your friends have to enter that IP and port in their clients and will be able to watch the video that you stream.




Tags: , ,
Categories: Knowledge


Read Related Posts


6 Responses to “How to stream videos in lan and internet.”

  1. gnome says:

    My head hurts…

  2. spellchecker says:

    The first IP in the first paragraph should be *192*.168.01 (or the second 196.etc.)

  3. Martin says:

    thanks, fixed it.

  4. Tom says:

    http://tom.zickel.org/vlcmp4/

    A great guide for using this program (VLC media player) for converting almost any movie type to .mp4 for portable devices

  5. viks says:

    din work fo me while i tried to stream a vdo to my fren over internet.. looked up my ip.. set as told here.. my fren kept gettin unable to open errors… m using college internet with proxy..

  6. gideon says:

    Thank you very much for the tips.but vlc is not playing mp3 music that is on my system but play from cd.is there any settings for that?pls help me out! my e-mail add is gideonskywalker@yahoo.co.uk.

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

© 2005-2009 Ghacks.net. All Rights Reserved. Privacy Policy - About Us