How to Play Videos from a NAS or Network Share (SMB/UPnP)
If your movies live on a NAS or another PC, VLC can stream them over the network without copying anything. Desktop VLC reads SMB shares and UPnP/DLNA servers directly; Android TV VLC has a dedicated network browser. This guide covers both, plus the performance settings that keep large 4K files from stuttering.
Step 1 — Play an SMB share on desktop VLC
Press Ctrl+N and enter the share path — e.g. smb://server/share/movies or \\server\share\movies (Windows) — then click Play.
The share opens.
If prompted for credentials, enter the NAS/PC username and password. Tick "remember" only on trusted machines.
The share is authenticated.
Alternatively, use Playlist > Add Directory and browse to the mapped drive (Windows) or the /mnt mount (Linux).
The folder is added as a playlist.
Step 2 — Browse UPnP/DLNA servers
In the sidebar (View > Playlist), open "Local Network" (Windows/Linux) or the Network panel.
Discovered UPnP servers appear.
Pick your NAS or media server (Plex, Jellyfin, MiniDLNA, Windows Media Server) and browse its folders.
The server’s library is browsable.
Add the server to "My places" for one-click access next time.
The server is bookmarked.
Step 3 — Android TV: the network browser
Open VLC on Android TV, go to the sidebar and choose "Local network" (or "Network" on newer builds).
SMB/UPnP sources are listed.
Select "Add server" → SMB, and type the NAS address, username and password.
The share is added.
Browse to the video and press OK to play — Android TV VLC plays 4K H.264/HEVC over Wi-Fi if the network is solid.
The video plays from the share.
Step 4 — Performance: stop buffering on big files
- Raise the file/network cache: Preferences > Input/Codecs > "File caching (ms)" to 2000–3000 for SMB, and "Network caching (ms)" to 3000 for streams.
- On Windows, map the SMB share to a drive letter and open files from the mapped drive — VLC then uses the file access module, which is faster than the SMB module.
- Check the NAS: enable SMB3, disable packet signing if performance is bad (with the security trade-off in mind), and avoid Wi-Fi repeaters.
- For Linux, mounting with cifs (mount -t cifs //server/share /mnt -o username=…) gives VLC a normal file path and the best performance.