SMB

The Server Message Block (SMB) is a file server protocol that enables you to communicate with remote servers to use their resources or share, open, and edit their files. Read more about SMB in this article.

To access media files from any device directly from VLC, you need to turn that device into an SMB server. For instance, if you wanted to access media files from a Windows or Mac computer, you need to set up an SMB server on it by enabling file sharing.

How to set up an SMB server on Mac

  1. Click on the Mac icon at the top-right corner of your computer and select System Preferences.

  2. On the System Preferences pane, click on the Sharing icon.

../../_images/sharing_pane.png
  1. Select File Sharing and click on Options.

../../_images/options.png
  1. On the Options pane, select Share files and folders using SMB.

../../_images/share_files.png
  1. Select your user account and add your password to authenticate.

../../_images/account_password.png

Note

You will be required to enter the name of this user account and password when connecting VLC to your computer’s SMB server.

  1. Finally, click on Done.

How to set up an SMB server on Windows

Unlike the Mac OS, you need to enable SMB first before activating file sharing on Windows. Here’s how to enable SMB on Windows:

  1. Open the Control Panel application on your Windows computer.

  2. In the Control Panel app, click on Programs. Then click on Turn Windows features on or off under Programs and Features.

../../_images/windows_features.png
  1. After the list of Windows features has populated, scroll down to the SMB 1.0/CIFS File Sharing Support feature. Check the boxes next to SMB 1.0/CIFS Client and SMB 1.0/CIFS Server to enable both features.

../../_images/windows_smb_support.png
  1. On doing that, a popup window with the message “Your system needs to be restarted for the changes to be effected” will be displayed on your screen. Click on the Restart button to restart your computer.

Note

After enabling SMB, you need to enable file sharing as well.

Follow the steps below to enable file sharing on Windows:

  1. Open the Control Panel application on your Windows computer.

  2. Once the Control Panel opens, click on View network status and tasks link under the Network and Internet header as seen in the image below.

../../_images/network_and_internet.png
  1. Click on the Change advanced sharing settings link in the left pane of the Windows and Sharing Center window.

../../_images/change_advnaced_sharing.png
  1. In the Advanced sharing settings window, click on the Turn on network discovery radio button and deselect the Turn on automatic setup of network connected devices option.

../../_images/different_network_profiles.png
  1. Under File and Printer sharing, click on the Turn on file and printer sharing radio button.

  2. The previously grayed Save changes button then becomes active. Click on it to save the changes. You may be prompted to enter your administrator password to save these changes.

How to stream media files from an SMB server

After turning your computer into an SMB file server, you can now stream media (video and audio) directly from your VLC.

Here’s how to stream media files from an SMB file server protocol:

  1. Open VLC on your iPhone and tap on Network.

  2. If you enabled file sharing via SMB on your computer, the server will be detected and displayed on VLC. Tap on the detected SMB file server.

../../_images/network_home.jpeg
  1. Tap on Connect at the top right corner of your mobile screen.

../../_images/connect.jpeg
  1. Add your user account name and password of your computer.

../../_images/authentication.jpeg
  1. Tap on Login to access the media files.

If you followed the steps above correctly, VLC would now have access to the media files on your computer. Select your preferred media (video or audio) and enjoy.

../../_images/smb_media_files.jpeg
../../_images/smb_music.jpeg

Note

If an SMB file server is not detected, you can add it manually by tapping on Network ‣ Connect.