I formatted my PC recently and I’m reinstalling some stuff I forgot to make a backup of settings like yt-dlp so I started searching for what is a good config to download the best mp4 quality and found some interesting setups so I figured I’d make a thread for people to share what they use.

Here’s the most best setup I found so far which downloads a 1080p mp4 with the filename and includes metadata, english subtitles, and chapters if available: yt-dlp -f 'bestvideo[height<=1080][ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -S vcodec:h264 --windows-filenames --restrict-filenames --write-auto-subs --sub-lang "en.*" --embed-subs --add-metadata --add-chapters --no-playlist -N 4 -ci --verbose --remux-video "mp4/mkv" URL

Ideally it would also mark the sponserblock section and download to a specified folder

  • 9point6@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 months ago

    Tbh, it downloads in the best quality available by default, so I do that and dump it into my server’s completed folder where the appropriate *arr will move it into the right folder and if it’s a weird format tdarr will take care of that.

    TL;DR no options and automated tools

    Edit: although worth noting for YouTube content, the moving step is manual if sonarr doesn’t have metadata for it

    • XNX@slrpnk.netOP
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      oh i didnt know that. The sponsorblock, subs, and chapters isnt default though so those are still useful in that conf file