Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[ youtube-dl ] My most succesful config for all-round best codecs and quality
--no-mtime
--no-call-home
--ignore-errors
-f "bestvideo[height>=1080]+251/bestvideo[height>=1080]+bestaudio/bestvideo[height>=720]+251/bestvideo[height>=720]+bestaudio/137+bestaudio/136+bestaudio/bestvideo+bestaudio"
# Note that I output to an MKV container, despite the fact that shitty devices will not play some files
# or still don't support Opus, it *is* the highest quality available: http://opus-codec.org/comparison/
#
# I use Daum Potplayer, which plays them all perfectly fine: https://www.videohelp.com/software/PotPlayer
#
--merge-output-format mkv
# Save all videos under j:\arch\
#
-o 'j:\arch\%(title)s_%(upload_date)s.%(ext)s'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment