Skip to Content

Best Way To Stream VLC videos On Your Network

Best Way To Stream VLC videos On Your Network

The VLC media player is great if you wanted to watch videos on your computer, tablet, or even on your smartphone. And the best part about this media software is that it not only play videos locally it also helps you stream videos over the network, meaning you can make your local machine as a video server and stream the videos from other devices. Moreover, it is free and open-source too.

In this blog, we are going to make our local machine as a VLC streaming server and play videos in two different methods.

  1. Playing VLC stream on the Ubuntu
  2. Playing VLC stream on Android phone with hotspot enabled.

Let’s get started.

Prerequisite for VLC streaming

  • Any Operating System with VLC in it, to start VLC network stream and act as a video server. I am using a windows machine as my local computer that would act as a video server.
  • VLC client PC – I am using an Ubuntu machine with VLC is installed.
  • For the VLC stream to android, you would require an Android phone with hotspot access and VLC installed on it as well.

How to enable video streaming using VLC?

To stream the video over your local network, you will have to enable the streaming services on any of the machines in your network. I am choosing my local machine as the VLC streaming server and and point the VLC streaming services to my destination host, where I have the VLC installed.

Step1. Open VLC and click on Stream.

I opened VLC on my windows machine and in the top menu, click on Media and click on Stream, alternatively you can also click on Ctrl+s.

vlc streaming server setup

Step2. Add the Streaming video.

A new file selection window will now pop up, you can add the streaming video here, by clicking on Add.

After adding the video click on the stream

vlc stream local network
  • There is nothing much in here on the next screen, Click next.
vlc open network stream

Step3. Configure the VLC streaming protocol.

On the Destination setup, select UDP and click on Add.

vlc udp stream

Step4. Add the destination host IP address and the port.

On the Add menu, you would have to enter the IP address of the destination machine, Ubuntu VM in our case. let’s go ahead and get the IP address of the Ubuntu VM

  • You can get the IP address of the Ubuntu VM by going to the terminal and type ip addr
vlc network stream on Ubuntu

In our example, the IP address is 192.168.137.115, enter the same on the add screen.

And leave the port number as default and click on next.

vlc stream local network

Step5. Choose the VLC Streaming Profile.

On the next screen Uncheck the Activate transcoding and leave the default profile and click on next.

diable Activate Transcoding for VLC stream
  • Click on Stream now, and your video streaming start to play now.
Generated stream output string for VLC streaming
  • The Video would start streaming now with a black screen unless you clicked on Display output local.
VLC streaming now started

Access the VLC video stream on Client machine.

I am going to open my Ubuntu machine and play the network stream, one important thing you have to remember, The streaming server and the streaming client should be able to reach via the network, otherwise this will not work.

Step1. Start the Network stream.

To Play the VLC stream, Open VLC on your machine and click on Open Network stream

vlc stream desktop local network

Step2. Enter the URL.

on the network URL type udp://@:1234, click play

vlc stream desktop local network
  • You can see the videos start playing now.
the VLC video started to play successfully now.

Playing VLC stream on Android phone with hotspot enabled.

The same way we played the video stream on Ubuntu machine, you could do the same on the Android phone as well with the VLC app. Follow the steps below to do that.

The reason we are testing the hotspot method is to bring both the streaming machine and the android phone to be on the same network. So both can talk to each other. Instead of trying hotspot, you can also connect both the android phone and the VLC Streaming machine on the same wifi network and it should work the same way.

Step1. On your Android phone, enable wireless hotspot.

Step2. Connect your Streaming machine to the hotspot wifi.

Step3. On your Streaming machine Go-to Command prompt and type ipconfig.

You should be able to see the IP address of your local machine (192.168.43.162) and the default gateway (192.168.43.194), which is the IP address of your Android phone.

ipconfig
Wireless LAN adapter Wi-Fi:
   IPv4 Address. . . . . . . . . . . : 192.168.43.162
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.43.194

Step4. Enable the VLC video streaming pointing to the Android phone.

  • Instead of using the IP address of Ubuntu machine, which I showed earlier, use the Android IP address this time.
vlc android local network
  • On your Android phone, click on stream in the VLC app
vlc android local network
  • and type udp://@:1234
enter the network url for the VLC stream on your VLC app android
  • Hurray!, the videos start to stream now on your Android phone as well.
VLC streaming started to play successfully on your android phone