mirror of
https://github.com/FalloNero/yt-dlp4vlc.git
synced 2026-04-30 06:36:03 -04:00
1.3 KiB
1.3 KiB
VLC yt-dlp Lua Wrapper
A simple Lua script that integrates yt-dlp into VLC, allowing you to stream supported online videos by opening a network URL in VLC.
Features
- Wraps
yt-dlp.exefor use inside VLC - By default requires
yt-dlp.exeto be in the VLC directory
(the path can be changed directly in the script) - Hides the command prompt window while yt-dlp processes the URL:
- Uses a PowerShell command by default
- Automatically uses
yt-dlp-silent.exeif found (a small C++ wrapper that suppresses the console without PowerShell)
Requirements
- Windows
- VLC Media Player
yt-dlp.exeoryt-dlp-silent.exe
Installation
- Copy the Lua script into VLC’s Lua playlist directory:
VLC\lua\playlist\
- Place
yt-dlp.exe(oryt-dlp-silent.exe) in the VLC directory
or edit the script to point to its location. - Restart VLC.
Usage
- Open VLC.
- Go to Media → Open Network Stream.
- Paste a supported video URL and click Play.
VLC will call yt-dlp, resolve the stream, and start playback automatically.
Video Quality Selection
Append the quality parameter to the URL to force a specific resolution:
&quality=xxx
Supported values:
360p480p720p1080p2160p
If omitted, the script defaults to the highest available quality.