dotfiles/.config/yt-dlp/config

13 lines
446 B
Text

-o "%(title)s.%(ext)s"
-P "temp:/tmp"
--embed-subs
--write-subs
--write-auto-subs
--sub-lang fr,en
--embed-thumbnail
-i
-f "((bestvideo[vcodec^=av01][height<=?1440][width<=?2560]/bestvideo[vcodec=vp9][height<=?1440][width<=?2560]/bestvideo[height<=?1440][width<=?2560]/bestvideo)+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio))/best"
--add-metadata
--hls-use-mpegts
--compat-options no-keep-subs
--download-archive ".yt-dlp_archive"