44
submitted 3 months ago* (last edited 3 months ago) by xnx@slrpnk.net to c/datahoarder@lemmy.ml

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

top 2 comments
sorted by: hot top controversial new old
[-] 9point6@lemmy.world 4 points 3 months ago* (last edited 3 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.net 1 points 3 months ago

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

this post was submitted on 10 Apr 2024
44 points (100.0% liked)

datahoarder

6272 readers
2 users here now

Who are we?

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

We are one. We are legion. And we're trying really hard not to forget.

-- 5-4-3-2-1-bang from this thread

founded 4 years ago
MODERATORS