Created
April 21, 2026 13:56
-
-
Save caitlynrw/560faf3d35ec982e44ce1cc7a51db374 to your computer and use it in GitHub Desktop.
My `yt-dlp` config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # my yt-dlp config, for general use, mostly from Youtube, ABC iView and similar | |
| # sane defaults for me, best quality in English and <= 1080p | |
| # embeds metadata and English subtitles | |
| # some stuff in from older configs/i swap in as needed | |
| #--remote-components ejs:github | |
| # output format. default with playlist index | |
| -o "./%(playlist|)s/%(playlist_index&{}_|)s%(title)s_[%(id)s].%(ext)s" | |
| #--match-filter "!is_live & !live" | |
| --sub-langs "en.*,-live_chat" | |
| --concurrent-fragments 12 | |
| # add stuff to video | |
| --restrict-filenames --windows-filenames --embed-subs --embed-thumbnail --embed-metadata --force-keyframes-at-cuts --sub-format "ass/vtt/srt/best" --mtime | |
| # -S proto:https | |
| # highest quality video and audio, then merge | |
| -f "(bv[height<=1080][format_note!*=?AI-upscaled]/bv[format_note!*=?AI-upscaled])+(ba[language^=en][format_note!*=?AI-upscaled]/ba[format_note!*=?AI-upscaled])/b[format_note!*=?AI-upscaled]" | |
| #-f "bv+ba/b" | |
| #-S "quality,+size" | |
| #-S "+vcodec:h265,+vcodec:vp9,+vcodec:av01,+size" | |
| # make sure its mp4 | |
| --remux mp4 --merge mp4 | |
| --alias audio "--ignore-config --embed-metadata -x --audio-format mp3 -f ba --restrict-filenames --windows-filenames --embed-thumbnail" | |
| --alias use-cookies "--cookies-from-browser firefox" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment