How to Use VLC as a Home Media Server?

Setting up VLC media player as a local streaming server allows you to broadcast your favorite movies, music, and videos from your computer to other devices on your home network. By utilizing VLC’s built-in HTTP interface and streaming wizard, you can turn a standard PC into a centralized media hub without installing heavy third-party software. This guide covers how to enable network sharing, configure the web interface, and access your media stream from another device.

Step 1: Enable the Web Interface in VLC

To control VLC remotely and allow it to serve media across your network, you need to activate its built-in HTTP interface.

  1. Open VLC Media Player on your host computer.
  2. Click on Tools in the top menu bar and select Preferences (or press Ctrl + P).
  3. At the bottom left of the Preferences window, under Show settings, click the radio button for All to view advanced settings.
  4. In the left-hand sidebar, expand the Interface category and click on Main interfaces.
  5. Check the box next to Web to enable the HTTP remote control interface.

Step 2: Set a Password for Security

Recent versions of VLC require a password to allow connections from other devices on your local network.

  1. While still in the Advanced Preferences menu, expand Main interfaces in the left sidebar and click directly on Lua.
  2. Locate the Lua HTTP section on the right side of the window.
  3. In the Password field, type a memorable password. Leave the username field blank.
  4. Click Save and restart VLC for the changes to take effect.

Step 3: Configure the Streaming Wizard

Once the interface is ready, you can set up a specific file or playlist to stream over your local network.

  1. Click on Media in the top menu and select Stream (or press Ctrl + S).
  2. Click the Add button to select the media files or folders you want to share, then click Stream at the bottom.
  3. In the Setup window that appears, click Next.
  4. In the Destination Setup section, open the dropdown menu, select HTTP, and click Add.
  5. Choose a port number (the default is usually 8080) and specify a path if desired (e.g., /stream). You can also select a transcoding profile if you need to compress the video for better network performance.
  6. Click Stream to begin broadcasting the media.

Step 4: Access the Stream on Other Devices

To view the media on a phone, tablet, or another computer, you need the local IP address of your host PC.

  1. Find your host PC’s local IP address (e.g., 192.168.1.45) via your system’s network settings or command prompt.
  2. Open VLC or a web browser on the receiving device.
  3. Select Open Network Stream and enter the network URL using the host IP and the port you configured (for example: http://192.168.1.45:8080).
  4. Enter the password you created in Step 2 when prompted to begin playback.