Skip to content

dinhle85/youtube-dl-wpf

 
 

Repository files navigation

🎞⬇ Cube YouTube Downloader - youtube-dl-wpf

Build Release

A simple GUI wrapper for youtube-dl.

Home Settings

Features

  • Follow 🎨 system color mode, or choose between 🌃 dark mode and 🔆 light mode.
  • Update youtube-dl on startup.
  • List available formats.
  • Override video and audio formats and output container.
  • Embed metadata into downloaded file.
  • Download and embed thumbnails and subtitles.
  • Download playlists.
  • Specify custom download path.
  • Specify custom ffmpeg and youtube-dl path.
  • Specify custom proxy.

Usage

  1. Download the pre-built binary or build it from source.
  2. Download youtube-dl from the upstream. Optionally but recommended, get ffmpeg either by building from source or downloading pre-built binaries for Windows.
  3. The framework-dependent binary requires .NET 5 Runtime installed to run. Alternatively, download the self-contained binary that doesn't require a installed runtime. The upstream youtube-dl binary requires MSVC++ 2010 runtime.
  4. Run youtube-dl-wpf.exe. Go to Settings. Set the path to youtube-dl and ffmpeg.
  5. Go back to the home tab. Paste a video URL and start downloading! 🚀

FAQ

  1. Q: The Download button is grayed out and I can't click it!

    A: youtube-dl-wpf is a simple GUI wrapper. It doesn't bundle any downloader with it. You have to download youtube-dl from the upstream. The ffmpeg binary is required by youtube-dl when downloading and merging separate video and audio tracks, which is the case for any video resolution higher than 360p on YouTube.

  2. Q: How can I use a proxy to download?

    A: Leave the proxy field empty to use system proxy settings. Otherwise the format is similar to how curl accepts proxy strings. Examples are, socks5://localhost:1080/, http://localhost:8080/. Currently the upstream doesn't accept socks5h protocol and treat socks5 as socks5h by always resolving the hostname using the proxy. This is tracked in this issue.

  3. Q: Downloading the whole playlist doesn't work!

    A: It's an upstream bug, just like many other issues you might discover. There's nothing I can do. Just report the bug to the upstream.

Known Issues

  • 🎉 No known issues!

To-Do

  • v2.0 - The Parallel Update: download management and download queue for parallel downloads.

Build

Prerequisites: .NET 5 SDK

Note for packagers: The application by default uses executable directory as config directory. To use user's config directory, define the constant PACKAGED when building.

# Build with Release configuration
$ dotnet build -c Release

# Publish as framework-dependent
$ dotnet publish YoutubeDl.Wpf -c Release

# Publish as self-contained for Windows x64
$ dotnet publish YoutubeDl.Wpf -c Release -r win-x64 --self-contained

# Publish as self-contained for packaging on Windows x64
$ dotnet publish YoutubeDl.Wpf -c Release -p:DefineConstants=PACKAGED -r win-x64 --self-contained

License

© 2021 database64128

Packages

No packages published

Languages

  • C# 100.0%