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

Опубликовал Admin
24-09-2020, 00:20
1 112
0
VideoLan media player (VLC) is an incredibly versatile media player available for Windows, Linux and other *Nix clones. It's also available for Mac, and gives you powerful options for advanced media controls and display. Using VLC makes it easy to stream audio and video using Multicast.

Steps

  1. Install VLC media player with full features. When installation is complete, open the program.
  2. In the Menu bar, click “Media” and “Open Network Stream”.
  3. In the Open Media windows, click on “File”.
  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. Click on "Next".
  6. In the Destinations box, click on the drop menu and chose “HTTP.” Click on “Add".
  7. In the stream output window, make sure port number is 8080. Check that no other software uses the port 8080.
  8. Click "Stream".
  9. VLC Steaming is ready now.

Streaming on a Network Client

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

Dealing with delay between playbacks

  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. 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. 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. Note that all caching values seem to need to be the same.

Tips

  • 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.
  • 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.

Warnings

  • 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.

Things You'll Need

  • A multicast-enabled router
  • VLC media player
  • Video or audio files or discs
  • At least two computers
Теги:
Information
Users of Guests are not allowed to comment this publication.