Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 1 KB

Backends.md

File metadata and controls

9 lines (6 loc) · 1 KB

Backends

youtube-dl-wpf supports both the original youtube-dl and the better-maintained yt-dlp. It tries to automatically detect the backend type when setting the path to backend binary. You can also toggle the backend mode manually.

Differences

  1. Download and embed subtitles: youtube-dl requires both --write-sub and --embed-subs, while yt-dlp only requires --embed-subs. Using --write-sub with yt-dlp results in the downloaded subtitle file being kept after embedding.
  2. Default output template: youtube-dl uses %(title)s-%(id)s.%(ext)s. yt-dlp uses %(title)s [%(id)s].%(ext)s. youtube-dl-wpf respects each backend's default, while allowing you to specify a custom output template.
  3. Metadata embedding: youtube-dl has --add-metadata. yt-dlp introduced --embed-metadata and still accepts --add-metadata as an alias. youtube-dl-wpf selects the best option based on which backend you are using.