Rakshit Khare's Blog- Aarambh » LAN http://www.rakshitk.com/blog Not just a blog but my 2nd home | The Technology Inside Wed, 11 Nov 2009 04:39:16 +0000 en hourly 1 http://wordpress.org/?v=3.1.3 Streaming Video over the LAN/Intranet http://www.rakshitk.com/blog/2008/02/11/streaming-video-over-the-lanintranet/ http://www.rakshitk.com/blog/2008/02/11/streaming-video-over-the-lanintranet/#comments Sun, 10 Feb 2008 19:44:43 +0000 Rakshit http://www.rakshitk.com/blog/2008/02/11/streaming-video-over-the-lanintranet/ In my earlier post we have learnt how to stream AUDIO over the Lan/Intranet. This time let’s focus on how to stream VIDEO over Lan/Intranet.

Software Requirements

VLC Media Player

For Windows- Download and Install.
For Other Operating Systems- Download and Install.

Configuration Server-side

Server IP Address:- 172.16.5.1
Client IP Address:- 172.16.5.2

1- Launch vlc.exe file.

2- Click on “File” -> “Open File…”

You will see a window similar to that seen below.

Photobucket

3- Click on “Browse…” and select a video file from your computer hard drive.

4- Under the “Advanced options”, don’t forget to check the checkbox “Stream/Save”.

5- Now click on “Settings” button to open a new window “Stream Output” something like below.

Photobucket

6- Check the “HTTP” checkbox and Enter the Server Address and any port number(1234 by default).

7- Under Encapsulation Method select “MPEG TS”

Please note that the Encapsulation Method is different for different files you stream from the server side.
Dat File – MPEG TS
AVI File – MPEG TS
MPG File – MPEG TS
MPEG File – MPEG TS
WMV File – ASF

8- Click “OK” now.

That’s it. Your server is streaming the selected video file on Port Number 1234 or any other which you have choosen above.

Also, on the server side you won’t be able to see any video. Video File can only be seen on client side

Configuration Client-side

Make sure that the client IP Address is same as mentioned above.

1- Open vlc.exe file.

2- Click on “File” -> “Open Network Stream…”

3- Check the “HTTP/HTTPS/FTP/MMS” checkbox and enter server side IP address and port number as “172.16.5.1:1234” without quotes.

Photobucket

4- Click “OK” now.

That’s it. Now you can view the streaming video on the client side.

This finishes my tutorial on streaming video over the LAN/Intranet. Any comments and feedbacks are whole heartedly appreciated.


People who viewed this article also liked the following articles:-

© Rakshit Khare’s Blog- Aarambh 2007-08]]>
http://www.rakshitk.com/blog/2008/02/11/streaming-video-over-the-lanintranet/feed/ 9
Streaming Audio over the LAN/Intranet http://www.rakshitk.com/blog/2008/01/19/streaming-audio-over-the-lanintranet/ http://www.rakshitk.com/blog/2008/01/19/streaming-audio-over-the-lanintranet/#comments Fri, 18 Jan 2008 20:35:22 +0000 Rakshit http://www.rakshitk.com/blog/2008/01/19/streaming-audio-over-the-lanintranet/ If in case you are also looking for a tutorial on streaming VIDEO over the LAN/Intranet, click here.

I like listening streaming radio stations over the internet. The place where am I right now, does not have any local radio station, strange right? This is probably the main reason why I prefer listening broadcasted radio stations on internet.

Few months back, I thought of streaming audio over my own college LAN. After few hiccups, I made it running successfully over the network. This tutorial is meant only for streaming AUDIO over the LAN or Intranet. Currently, I am working on streaming audio over the internet as well. I’ll post that too as soon as I resolve that issue. (UPDATES:- Finally, I manage to stream audio over the Internet. It is working perfectly for most of us. Check here.)

So, let’s get started.

Software Requirements

Here goes the list:-

1-> Winamp- Download it from here (Winamp version 3.x doesn’t work in this case. Use either 2.x or 5.x)
2-> SHOUTCast DSP Plugin- Download and Install.
3-> SHOUTCast Server- Download and Install.

Configuration

1-> SHOUTCast DSP Plugin

- Start WINAMP
- Select OPTIONS-> PREFERENCES-> DSP/Effect-> Nullsoft SHOUTCast Source DSP

On selecting “Nullsoft SHOUTCast Source DSP”, a window will appear which looks like this:-

Photobucket

Now, select the “Output” tab and do the following changes:-

Photobucket

 

  1. Select “Output 1″
  2. Press “Connection” Button
  3. Address = “localhost”
  4. Port = “1234″ (or any other if you want, 8000 is default)
  5. Password = {any passw you want}
  6. Encoder = “1″

Next select the “Encoder” tab and do the following changes:-

  1. Select “Encoder 1″
  2. Encoder Type = “MP3″
  3. Encoder Settings = 112kbps, 44.100kHz, Stereo ( or any other you prefer)

2-> SHOUTCast Server

Photobucket

First, you have to start the server from the start menu. Choose “SHOUTCast DNAS (GUI)”.
Click on “Edit Config”, a notepad file named sc_serv.ini will get opened.

Now, you have to make 2 important changes into this file.
1-> Password Change- password should be same as used before. If no password selected, leave as it is.
2-> Port Change- Default is 8000 change to 1234 or any other value which u have chosen earlier.

Restart the SHOUTCast Server.
That’s it. Everything is configured now. You are ready to broadcast your own radio.

Just go to Winamp’s SHOUTCast Source window -> Output tab -> Press Connect.

Hope, you like this article. Any feedback is whole heartedly appreciated. So, please don’t forget to give your comments to this article.


People who viewed this article also liked the following articles:-

© Rakshit Khare’s Blog- Aarambh 2007-08]]>
http://www.rakshitk.com/blog/2008/01/19/streaming-audio-over-the-lanintranet/feed/ 18