dotfiles/.config/yt-dlp/config

21 lines
515 B
Text

-o "%(release_date,upload_date)s.%(title)s.%(ext)s"
-P "temp:/tmp"
--embed-subs
--write-subs
--write-auto-subs
--sub-langs fr,en,en(-|_)?.+,-live_chat
#--sub-langs en
--embed-thumbnail
-i
-S res:1440,fps,hdr:12,vcodec,channels,acodec,lang,proto
#-f "((bestvideo[height<=?1440][width<=?2560]/bestvideo)+bestaudio)/best"
--add-metadata
--hls-use-mpegts
--compat-options no-keep-subs
--download-archive ".yt-dlp_archive"
-N 1
#--netrc
# For 429 errors
--retry-sleep fragment:exp=1:320
--abort-on-unavailable-fragment