VLC Keeps Crashing? Fixes That Work
If VLC keeps crashing, the cause is usually a corrupt preference file, outdated GPU drivers, or a codec conflict. You can fix most crashes by resetting VLC’s preferences, updating your graphics drivers, and disabling hardware acceleration. Below are the exact steps to try, plus explanations of why each fix works.
Why VLC Crashes
VLC is a free, open-source media player that relies on your computer’s hardware to decode and render video. Crashes happen when VLC’s settings conflict with your system, when a media file uses a codec that triggers a bug, or when the GPU drivers don’t handle VLC’s rendering calls properly. Common triggers include:
- Corrupt or outdated VLC preferences (the config file gets written over time and can become damaged).
- Outdated or buggy graphics drivers, especially after a Windows update.
- Hardware acceleration (GPU decoding) enabled for files that your GPU can’t handle.
- Incomplete or corrupt media files that cause VLC’s decoder to fail.
- Conflicts with other software that hooks into video rendering (e.g., screen recorders, overlays).
Fix 1: Reset VLC Preferences
The single most effective fix is to reset VLC’s preferences to default. This clears any corrupted settings without reinstalling the app.
- Open VLC. If it crashes immediately, hold Ctrl (Windows) or Cmd (Mac) while launching VLC – this triggers a prompt to reset preferences.
- If the prompt appears, click Reset (or Restore defaults).
- If VLC won’t open at all, manually delete the preferences folder:
– Windows: PressWin+R, type%appdata%\vlc, and delete thevlcrcfile and theartfolder.
– Mac: Open Finder, pressCmd+Shift+G, type~/Library/Preferences/, and deleteorg.videolan.vlc.plist.
– Linux: Delete~/.config/vlc/vlcrc. - Restart VLC. It will recreate the preferences with default values.
This fixes crashes that happen on startup or after playing a specific file.
Fix 2: Update Graphics Drivers
VLC uses your GPU for video decoding and rendering. If your drivers are outdated or broken, VLC can crash when it tries to use GPU features.
- On Windows, open Device Manager (right-click Start), expand Display adapters, right-click your GPU, and choose Update driver.
- Select Search automatically for drivers. If Windows finds nothing, go to your GPU manufacturer’s website (NVIDIA, AMD, Intel) and download the latest driver manually.
- On Mac, drivers are updated via macOS System Updates. Go to System Settings → General → Software Update.
- On Linux, use your package manager (e.g.,
sudo apt update && sudo apt upgradefor Ubuntu).
After updating, restart your computer and test VLC. This is especially important if crashes started after a Windows feature update.
Fix 3: Disable Hardware Acceleration
Hardware acceleration (also called GPU decoding) offloads video decoding to your GPU. While it saves CPU, it can cause crashes if the GPU driver has a bug or if the video codec isn’t supported.
- In VLC, go to Tools → Preferences (Windows/Linux) or VLC → Preferences (Mac).
- Click Input/Codecs in the left sidebar.
- Under Hardware-accelerated decoding, change the dropdown to Disable.
- Click Save and restart VLC.
This forces VLC to use your CPU for decoding, which is slower but far more stable. If the crashes stop, you can try re-enabling acceleration later after updating drivers.
Fix 4: Clear the Media Database and Thumbnails
VLC builds a media library database and thumbnail cache. If these become corrupt, VLC can crash when scanning folders or showing thumbnails.
- In VLC, go to Tools → Preferences.
- Click All (bottom left) to show advanced settings.
- Click Localization or Media Database in the left sidebar.
- Find the Media database directory path and note it.
- Close VLC, then delete the entire folder (e.g.,
%appdata%\vlc\arton Windows). - Restart VLC – it will rebuild the database.
This helps if crashes happen when you open the VLC media library or browse network folders.
Fix 5: Disable Extensions and Skins
VLC extensions (Lua scripts) and custom skins can cause instability, especially if they are outdated or incompatible with your VLC version.
- Go to Tools → Preferences.
- Click Interface in the left sidebar.
- Under Skin, select Default skin (instead of a custom one).
- Click All (bottom left) to see advanced settings, then click Extensions.
- Uncheck Enable Lua extensions (or disable individual extensions you’ve installed).
- Save and restart.
If you installed extensions, try removing them entirely from the VLC extensions folder (e.g., %appdata%\vlc\lua on Windows).
Fix 6: Reinstall VLC Completely
If none of the above works, a clean reinstall removes any corrupted program files.
- Uninstall VLC via Settings → Apps (Windows) or by dragging to Trash (Mac).
- After uninstalling, delete the VLC preferences folder again (as in Fix 1) to remove leftover settings.
- Download the latest version from the official VLC website (videolan.org).
- Install and test.
This is the most thorough fix and should resolve crashes caused by corrupted installation files.
When the Problem Is the File Itself
Sometimes VLC crashes only when playing a specific video. This usually means the file is corrupt, incomplete, or uses a codec that VLC’s build doesn’t handle well. Try these steps:
- Play the file in another player (e.g., Windows Media Player, MPV) to confirm the file is the issue.
- Convert the file with a tool like HandBrake or FFmpeg to a standard format (H.264 MP4) and then play it in VLC.
- If the file is downloaded incompletely, re-download it.
If the file is fine in other players but crashes VLC, it’s likely a codec bug. You can try disabling hardware acceleration (Fix 3) or updating VLC to a newer version that may have fixed the codec.
Advanced: Check the Crash Log
If crashes persist, VLC’s crash log can point to the exact module that failed. On Windows, open Event Viewer (search in Start), go to Windows Logs → Application, and look for errors from vlc.exe. The error details often mention a module like libvlc.dll or libavcodec.dll. On Mac, check Console for VLC crash reports.
You can also run VLC from the command line to see debug output:
- Windows:
"C:\Program Files\VideoLAN\VLC\vlc.exe" -v - Mac/Linux:
vlc -v
This prints verbose logs to the terminal. If you see a repeated error before the crash, search for that error text online – it’s often a known issue with a specific fix.
Frequently Asked Questions
Why does VLC crash on Windows 11?
Windows 11 often updates GPU drivers automatically, and a buggy driver can cause VLC to crash. The fix is to update your graphics driver manually or disable hardware acceleration in VLC. Also, ensure VLC is updated to the latest version, as older builds may not be fully compatible with Windows 11’s security features.
Does VLC crash more on Mac?
VLC on Mac is generally stable, but crashes can happen after macOS updates. The most common cause is a corrupt preferences file. Reset VLC preferences by holding Cmd+Option while launching VLC and clicking Reset.
Can a video codec cause VLC to crash?
Yes. Some codecs, especially newer or proprietary ones, can trigger bugs in VLC’s decoder. Updating VLC to the latest version often fixes codec issues. If not, converting the file to a standard format like H.264 MP4 will usually solve it.
Is there a way to prevent VLC crashes?
Keeping VLC and your GPU drivers updated is the best prevention. Also, avoid using custom skins or extensions unless you trust them. If you regularly play high-resolution files (4K), consider disabling hardware acceleration to avoid GPU driver crashes.
Should I use a different media player instead?
VLC is one of the most stable and versatile players, but if crashes persist after all fixes, alternatives like MPV (open-source, light) or the built-in Windows Media Player (for basic files) can be used. However, VLC’s codec support is hard to beat, so try the fixes first.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.