• ARTICLES
SEARCH

How-To Geek

How to Stream Videos and Music Over the Network Using VLC

image

VLC includes a fairly easy-to-use streaming feature that can stream music and videos over a local network or the Internet. You can tune into the stream using VLC or other media players.

Use VLC’s web interface as a remote control to control the stream from elsewhere. Bear in mind that you may not have the bandwidth to stream high-definition videos over the Internet, though.

Broadcasting a Stream

To start broadcasting a network stream, click the Media menu in VLC and select Stream.

image

In the Open Media dialog, select the media you want to stream. You can select one or more files on the Files tab, select a CD or DVD on the Disc tab, or even capture video from a specific device on the Capture Device tab. For example, you could stream your desktop by selecting Desktop on the Capture Device tab.

Click the Stream button after selecting your media.

image

The Stream Output window will appear. The first pane just lists the media source you selected – click Next to continue.

image

On the Destination Setup pane, you’ll need to choose a destination for your stream. For example, you can select HTTP to listen for connections – other computers can connect to your computer and watch the stream. You can also select UDP to broadcast to a specific IP address or range of IP addresses.

After selecting your destination, click the Add button. You may also want to activate the Display locally check box – if you do, you’ll see and hear the media being streamed on your local computer, so you’ll know it’s playing correctly.

image

After adding a destination, you’ll be able to customize its settings. With the HTTP destination, you could specify a custom path – but the default one will work fine.

You can also tweak the transcoding settings – by transcoding to a lower quality, VLC can save network bandwidth.

image

Click Next to continue to the Option Setup pane – you probably don’t need to tweak any of the advanced options here. To start streaming, click the Stream button.

image

If you selected the Display locally option, the media will start playing locally on your computer.

If you have a firewall enabled, ensure that VLC is an allowed program or no computers will be able to connect. If you’re trying to stream over the Internet, you may also need to forward ports on your router.

Connecting to a Stream

To tune in to a stream, click the Media menu in VLC on another computer and select Open Network Stream.

image

Assuming you used HTTP, enter an address like http://IP.Address:8080. See this post if you need help finding the other system’s IP address.

(If you specified a custom path for your HTTP stream in the Path box, you’ll need to specify the custom path here. For example, if you specified /path as your custom path, you’d enter http://IP.Address:8080/path in the box here.)

image

After clicking Play, the stream should start playing. To control playback remotely, try setting up VLC’s web interface. If you encounter an error, make sure VLC isn’t being blocked by a firewall on the streaming system.

image

Chris Hoffman is a technology writer and all-around computer geek. He's as at home using the Linux terminal as he is digging into the Windows registry. Connect with him on Google+.

  • Published 07/4/12

Comments (11)

  1. Jan

    There is the possibility of transmitting the computer’s audio output? It would be very interesting.

  2. Eric

    Eeer… Why is this better than simply accessing a shared media folder over the local network?
    I don’t see the point.
    So?

  3. Ishank@innolea

    @ Chris Thanks for this tutorial. By the way, I’ve discovered a way to download YouTube Videos using VLC media player. Here’s how : http://www.youtube.com/watch?v=XU2erJtDZuc

  4. badger_fruit

    Eric
    This is very useful for things like streaming music (e.g. a radio station) or if your company has multiple points of entry (eg a front and rear reception), you can set up a server to stream a company/product information video and have both areas watching it at exactly the same point in the video.

    If you have a TV card in the server that is streaming, you could (if I’m not mistaken) stream live TV over your LAN/WAN to watch at a remote location; you could then use the web-interface to change the channel!

    As for why chose this over a network share, the main answer I would say would be the centralised control you would have over the content being shared AND the fact you don’t have to open up ports on the firewall to allow remote-access to the network shares if it is a remote (over the internet) site.

  5. badger_fruit

    *choose

  6. Stuart

    Since I am not posting from work this comment might actually be seen!

    Please consider expanding this article to include streaming to android. I have found that doing video is not easy as android’s decoders don’t like the way the stream is started, regardless if you use RTSP HTTP or MS’s streaming if the player supports it, nor container. Sometimes if you jump in at just the right point it works. Audio is about stupid simple to do and almost always works. However what does have high compatibility seems to the wonder flow player. However I am not sold on relying on it since flash for android is dying and I’m not sure of the HTML 5 version.

  7. Khai

    @Eric
    this is useful for devices that can’t access the network as easily. eg I have a rooted Nook Color that playing the tv and movies etc on my network just by sharing won’t work…

    but streaming from VLC is working a treat :D

  8. Khai

    anyone else get the following error when using “Video H.264 + Mp3 (mp4)” that “encoder is not found” and VLC then crashes?

  9. zxzx

    CPU = 90 % ? How is your config ?

  10. classicglitch

    has anyone got answer for the last 2 questions?
    this site is known to answer all questions

  11. classicglitch

    If you have them maake it easy on old men like me, LOL
    Then I will not have to look it up on the site

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!