Skip to content

Instantly share code, notes, and snippets.

@mahadevan
Created February 17, 2026 08:41
Show Gist options
  • Select an option

  • Save mahadevan/11b9085b099ac3d893c5c0f70c010f12 to your computer and use it in GitHub Desktop.

Select an option

Save mahadevan/11b9085b099ac3d893c5c0f70c010f12 to your computer and use it in GitHub Desktop.
YTDLP-Download Mac
yt-dlp \
--no-playlist \
-f "bv*[height<=720][vcodec^=avc1]+ba[acodec^=mp4a]/b[height<=720]" \
--merge-output-format mp4 \
--embed-metadata \
--embed-chapters \
--embed-thumbnail \
--convert-thumbnails jpg \
--add-metadata \
--restrict-filenames \
--output "%(title)s [%(height)sp].%(ext)s" \
"PASTE_YOUTUBE_URL_HERE"
yt-dlp \
--no-playlist \
-f "bv*[height<=360][vcodec^=avc1]+ba[acodec^=mp4a]/b[height<=360]" \
--merge-output-format mp4 \
--embed-metadata \
--embed-chapters \
--embed-thumbnail \
--convert-thumbnails jpg \
--add-metadata \
--restrict-filenames \
--output "%(title)s [%(height)sp].%(ext)s" \
"PASTE_YOUTUBE_URL_HERE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment