User Tools

Site Tools


Sidebar

tool:software:youtube-dl

Youtube-dl

Uses

Video

YTDL will automatically grab the best-quality version, so often youtube-dl [url] is sufficient. Adding the -F flag will list the available options.

Getting Audio from Videos

  1. youtube-dl -F [url] to list formats, then
  2. youtube-dl -f [number] [url] to download selected.
  3. This'll be .m4a, so if you want to convert it to .mp3 or .ogg (for example) use FFmpeg
    ffmpeg -i [filename.m4a] [filename.mp3|ogg]
  • OR youtube-dl --audio-format best -x will just grab the best quality one.
tool/software/youtube-dl.txt · Last modified: 2020/01/15 05:50 by rjt