Forrest logo
back to context overview

yt-dlp

List of commands for yt-dlp:

  • yt-dlp:ai:600be Config file for yt-dlp to download video titles without appended ID string
    $ yt-dlp --config-path /path/to/config.json
    try on your machine
    explain this command
  • yt-dlp:ai:e2f9f Create a config file to download video titles with appended ID string
    $ yt-dlp --config-location myconfig.json
    try on your machine
    explain this command
  • yt-dlp:tldr:46154 yt-dlp: List the available downloadable formats for a video.
    $ yt-dlp --list-formats "${https:--www-youtube-com-watch?v=oHg5SJYRHA0}"
    try on your machine
    explain this command
  • yt-dlp:tldr:4d7e8 yt-dlp: Download a video with a defined format, in this case the best mp4 video available (default is "bv\*+ba/b").
    $ yt-dlp --format "${bv*[ext=mp4]+ba[ext=m4a]-b[ext=mp4]}" "${https:--www-youtube-com-watch?v=oHg5SJYRHA0}"
    try on your machine
    explain this command
  • yt-dlp:tldr:5a09b yt-dlp: Specify audio format and audio quality of extracted audio (between 0 (best) and 10 (worst), default = 5).
    $ yt-dlp --extract-audio --audio-format ${mp3} --audio-quality ${0} "${https:--www-youtube-com-watch?v=oHg5SJYRHA0}"
    try on your machine
    explain this command
  • yt-dlp:tldr:96fc8 yt-dlp: Extract audio from a video (requires ffmpeg or ffprobe).
    $ yt-dlp --extract-audio "${https:--www-youtube-com-watch?v=oHg5SJYRHA0}"
    try on your machine
    explain this command
  • yt-dlp:tldr:c4725 yt-dlp: Download a video or playlist (with the default options from command below).
    $ yt-dlp "${https:--www-youtube-com-watch?v=oHg5SJYRHA0}"
    try on your machine
    explain this command
back to context overview