VLC can be not only your media player but also a video downloader for saving YouTube videos to watch offline. In this article, I will teach you exactly how to use VLC to download YouTube videos, plus troubleshooting. Just follow along.


📌 VLC is not a 100% effective solution for downloading videos. If VLC download fails, try this dedicated YouTube downloader instead, which is also free: https://www.videoconverterfactory.com/download/hd-video-converter.exe https://www.videoconverterfactory.com/download/hd-video-converter.exe

Michelle Michelle | Updated on May 22, 2026

Best Free YouTube Downloader for Windows

✔️ Download 720P/1080P/4K/8K videos and music from YouTube;

✔️ Convert YouTube to MP4, MP3, and more popular formats;

✔️ Support Facebook, X, Vimeo, and 500 more sites;

✔️ Edit YouTube videos by cutting, cropping, merging, etc.;

✔️ Completely free, safe, no ads.

Disclaimer: WonderFox does not endorse or encourage downloading any copyrighted works from YouTube. This article is for educational purposes only. Please ensure your action does not violate YouTube’s terms of service.

How to Download YouTube Videos with VLC Media Player

🔔 The methods below are not guaranteed to work because YouTube frequently updates its streaming code.
🗨️ The whole process is demonstrated on Windows 10, so the steps may vary slightly if you use a different operating system.


Method 1: Transcode YouTube Stream to a Local File

Step 1: Open the YouTube video you want to download and copy its URL. You can right-click on the video and select Copy video URL or copy the full-length link from the address bar at the top.

Use VLC to Download YouTube Videos - Copy URL

Step 2: Open VLC. Click Media, then Open Network Stream. You can also use the shortcuts Ctrl + N.

Download YouTube Videos with VLC - Open Network Stream

Step 3: Paste the URL into the provided field. Next, click the ▼ button at the bottom and select Stream.

Use VLC to Download YouTube Videos - Paste URL

Step 4: Click Next.

Download YouTube Videos with VLC - Source Setup

Step 5: Click Add.

Use VLC to Download YouTube Videos - Destination Setup

Step 6: Click Browse to choose an output location and name the YouTube video. Click Next.

Download YouTube with VLC - Rename File

Step 7: Enable the Activate Transcoding option and make sure Video – H.264 + MP3 (MP4) is selected (You can choose another profile if you want to save the video in a different format. Otherwise, the default profile is good for most cases). Click Next.

Use VLC to Download YouTube Videos - Transcoding Options

Step 8: Click Stream. VLC will start transcoding while streaming. When the progress bar reaches to the end, the download process is finished, and you can view the downloaded file in the output location you specified before.

Download YouTube with VLC

Method 2: Check YouTube Location and Download from Browser

Step 1: Copy the YouTube video URL.

Step 2: Open VLC > Media > Open Network Stream.

Step 3: Paste the URL into the network URL field and click Play.

Use VLC to Download YouTube Videos - Play Stream

Step 4: When VLC starts to play the YouTube video, go to Tools > Codec information. Copy the Location link.

Use VLC to Download YouTube Videos - Copy Location URL

Step 5: Open the location in your browser. If the video plays successfully, right-click on the video and save it to your computer.

If you run into a 403 forbidden page, try clearing your browser cookies or using an Incognito window.


🔔 You cannot download YouTube videos with audio when the video resolution is higher than 720p because YouTube splits high-definition video and audio tracks into separate streams.

Fix VLC YouTube Download Errors

It’s not uncommon to experience issues when trying to download videos with VLC. For example, you may receive a “Your input can’t be opened” error message right after you completed the steps above. This is likely due to a faulty YouTube script or an outdated VLC version.

VLC Error

Here are some fixes you can try to solve the problem:

Solution 1 – Update the youtube.lua script

Update: The official youtube.lua script has been removed from the VLC repository, so this method won’t work (unless you can find a new youtube.lua script released by individual users).

youtube.lua is a script VLC relies on to fetch YouTube links. It must be up to date so VLC can analyze YouTube videos successfully.

Here’s how you can update the script manually:


>> Go to https://github.com/videolan/vlc/blob/master/share/lua/playlist/youtube.lua and copy the full script.

Copy YouTube Script

>> On your computer, locate where your VLC is installed (the default path is C:\Program Files\VideoLAN\lua\playlist) and find youtube.lua.

>> Right-click on youtube.lua and open it with Notepad.

>> Replace the content with the script you just copied.

>> Open VLC and follow the part one instructions to see if the VLC downloading works.

Replace Script

Solution 2 - Reset Preferences

>> Run VLC. Go to "Tools" > "Preferences" (Press "Ctrl + P").

Open Preferences

>> At the bottom of the Preferences window, click "Reset Preferences" and confirm the dialog.

Reset Preferences

>> Now follow the part one instructions to see whether the issue is gone.

Solution 3 - Reinstall VLC

>> Uninstall the current VLC on your PC and download the latest correct version of the VLC Media player from the official site.


💡 If none of the above tricks work, you might as well try a different way to download YouTube videos. The next part offers a much simpler way for online video downloads. And it's completely free.

Download YouTube Videos with a Free YouTube Downloader

It’s increasingly difficult to download YouTube videos using VLC these days because YouTube just updates so frequently. My suggestion is to use a dedicated YouTube downloader that can keep up with YouTube’s changes.

On Windows, WonderFox Free HD Video Converter Factory features a powerful video downloader that can download from YouTube safely and quickly. It’s much easier to use and has a higher success rate. Below, I will show you how to use it to download a video from YouTube. You can click the button here to download download the program first and then follow the steps.

Free Download

Compatible with Windows

100% Clean & Safe

Free Download

Step 1: Copy Video URL

Go to YouTube and copy the URL of the video you want to download.

Step 2: Analyze URL and Choose Output Format

Launch Free HD Video Converter Factory and open the Downloader. Click + New Download and paste and analyze the copied URL in the downloader.

Wait a few seconds till the download options appear. Choose your preferred download option and click Ok to add it to the download list.

🗨️ You can repeat steps 1 to 2 to add more videos to the download task. You can also analyze a YouTube playlist or channel to get multiple videos at once.

Download YouTube with VLC Alternative - Analyze URL

Step 3: Start Download

Click ▼ at the bottom of the interface to choose an output folder. When everything is ready, click Download All to start the download.

🗨️ The program will download YouTube videos with audio, even if you choose a resolution higher than 720p. So that’s another plus.

Download YouTube with VLC Alternative - Start Download

Wrap-up

That’s all I want to share with you about how to download YouTube videos with VLC media player. Keep in mind that the method may stop working if your youtube.lua or VLC isn’t up to date. But don’t worry. You can always try the dedicated YouTube downloader whenever VLC fails.

Thanks for reading!

Check Out Other VLC Hidden Features: VLC Compressor | VLC Converter | VLC DVD Ripper

Michelle

Michelle O'Brien

I write about multimedia topics, including video and audio conversion, compression, editing, and downloading. I joined WonderFox in 2020, and my goal is to help readers solve everyday tech problems more easily. In this guide, I shared my experience using VLC to download YouTube videos. However, the tool I actually use most frequently is Free HD Video Converter Factory. Please note that you should not violate YouTube's Terms of Service. Before downloading any videos, be sure to verify that your actions are legal in your country or region.

Email

Michelle

Michelle O'Brien

I write about multimedia topics, including video and audio conversion, compression, editing, and downloading. I joined WonderFox in 2020, and my goal is to help readers solve everyday tech problems more easily. In this guide, I shared my experience using VLC to download YouTube videos. However, the tool I actually use most frequently is Free HD Video Converter Factory. Please note that you should not violate YouTube's Terms of Service. Before downloading any videos, be sure to verify that your actions are legal in your country or region.

Email

Best DVD Ripper for Windows 10/11
Best DVD Ripper for Windows 10/11

WonderFox DVD Ripper Pro

WonderFox DVD Ripper Pro is a professional DVD ripping program that can easily rip any DVD, be it homemade or commercial, to all popular formats including MP4, MKV, MP3, WAV, H264, H265, Android, iPhone, etc. without a hitch. It also lets you edit and compress DVD videos at high efficiency. Download it to enjoy a fast and trouble-free DVD-ripping experience.

Specialized in multimedia software solutions.
Since 2009

Privacy Policy | Copyright © 2009-2026 WonderFox Soft, Inc.All Rights Reserved

WonderFox HD Video Converter Factory Pro

Download HD, 4K, 8K videos fast & easily!

Support saving videos and music in bulk from YouTube, Facebook, Vimeo, Dailymotion, Twitch, and 1,000 more sites with original quality.

Back to Top