Loading...
Saturday, 9 November 2013

How to Use VLC to Stream Audio and Video to Multiple Computers on Your Network Using Multicast


VideoLan media player (VLC) is an incredibly versatile media player. Available for Windows, Linux plus other *Nix clones, and Mac, it gives you powerful options for advanced media controls and display. Here's how to stream audio and video via VLC using Multicast.

EditSteps

  1. 1
    Install VLC media player with full features. When installation is complete, open the program.
  2. 2
    In the Menu bar, click “Media” and “Open Network Stream”.
  3. 3
    In the Open Media windows, click on “File”.
  4. 4
    Click "Add" and select the file you want to stream. Near the bottom of the screen, click the drop arrow next to "Play" and select "Stream."
  5. 5
    Click on "Next".
  6. 6
    In the Destinations box, click on the drop menu and chose “HTTP.” Click on “Add".
  7. 7
    In the stream output window, make sure port number is 8080. Check that no other software uses the port 8080.
  8. 8
    Click "Stream".
  9. 9
    VLC Steaming is ready now.

EditMethod 1 of 2: Streaming on a Network Client

  1. 1
    Open VLC media player, click on "Media," and select "Open Network Stream".
  2. 2
    In the "Network" tab, enter the IP address of the media server, as well as the port number. Click "Play."
  3. 3
    VLC steaming is ready now.

EditMethod 2 of 2: Dealing with delay between playbacks

If you listen to the same stream on computers in multiple rooms, they are all at different places in the stream, which results in an incredible, unpleasant cacophony. If you change to vlc streaming from one and listening to the stream on the others, the result will be that all the others are at different delays from the stream server. Here's what to do to address this issue:
  1. 1
    On the streaming vlc server: Do not check the "display locally" box. It will stay silent, you will not hear anything, however, the stream is sent out.
  2. 2
    On the listening vlcs: Tighten the buffering/caching: Start with a 20ms caching and increment by 10 until the stream is free of cutting out. In the startup phase it will always cut out a lot, but the stream will stabilize after about 5 to 10 seconds and be smooth.
  3. 3
    To listen on your sending computer: Open a second vlc client and listen to the stream as you do on all the others, same caching/buffering values.
  4. 4
    Note that all caching values seem to need to be the same.

EditTips

  • With this set up, you can have an extensive playlist multicasting and continually looping that anyone on your network can join at any time. You could set up a wireless broadcast channel and stream TV (yes, you can stream from a TV tuner card with VLC!), movies, anything, to as many people as your network can handle. It intelligently broadcasts to only requesting clients, so your computer isn't getting information after you stop watching, which potentially reduces network load.
  • To change the default time for announcements, go to Settings, Preferences, Stream Output, SAP. Make sure "Control SAP Flow" is unchecked and then lower the interval to whatever you need.
  • The multicast address is an IP address that falls within a certain range. Addresses from 224.0.0.0 to 239.255.255.255 are automatically recognized as multicast by your router (if it supports multicast at all). The range 239.0.0.0 through 239.255.255.255 are "administratively scoped", that is, not global addresses, so fine for using on your lan.

EditWarnings

  • While this will work on 95% of home equipment and networks, this will not work on the internet you probably have at home (using IPv4). Even though home routers have supported this feature for a while, multicast was developed after the current widespread specifications had been standardized. There are, of course, options, but it's not going to work without using IPv6, the next version of Internet Protocol (which, for some reason, is available and used all over the world, but just isn't popular yet). If your home router DOESN'T support multicast, you should probably get a new router.

EditThings You'll Need

  • A multicast-enabled router
  • VLC media player
  • Video or audio files or discs
  • At least two computers

0 comments:

Post a Comment

Latest @ World's TOP 10

Contact

Total Pageviews

 
TOP