Skip to content

Instantly share code, notes, and snippets.

@dbrownidau
Last active May 10, 2019 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrownidau/ac890d567227251cb739126d18af2f15 to your computer and use it in GitHub Desktop.
Save dbrownidau/ac890d567227251cb739126d18af2f15 to your computer and use it in GitHub Desktop.
dump yt videos in highest quality
youtube-dl --merge-output-format mp4 $1
# https://github.com/ytdl-org/youtube-dl#format-selection-examples
#
# Since the end of April 2015 and version 2015.04.26, youtube-dl uses -f bestvideo+bestaudio/best as the default format selection (see #5447, #5456).
# If ffmpeg or avconv are installed this results in downloading bestvideo and bestaudio separately and muxing them together into a single file giving the best overall quality available.
# Otherwise it falls back to best and results in downloading the best available quality served as a single file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment