yt-dlp -U | updates yt-dlp |
yt-dlp -F https://www.youtube.com/watch?v=dQw4w9WgXcQ | list the available downloads ( -F short, --list-formats long ) |
yt-dlp -F https://www.youtube.com/watch?v=dQw4w9WgXcQ --merge-output-format mp4 | avi, flv, mkv, mov, mp4, webm |
yt-dlp --format "bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]" https://www.youtube.com/watch?v=dQw4w9WgXcQ | |
yt-dlp -x --audio-format mp3 https://www.youtube.com/watch?v=dQw4w9WgXcQ | audio only in mp3 format |
yt-dlp --extract-audio --audio-format mp3 --audio-quality 0 https://www.youtube.com/watch?v=dQw4w9WgXcQ | specify audio format [aac, alac, flac, m4a, mp3, opus, vorbis, wav] and audio quality of extracted audio (from 0 (best) and 10 (worst), default = 5) |
yt-dlp -a url.txt | list all urls in url.txt file |
$ yt-dlp -o 'Rick Astley - Never Gonna Give You Up (Official Music Video)' https://www.youtube.com/watch?v=dQw4w9WgXcQ | specify file output name |
yt-dlp --list-subs https://www.youtube.com/watch?v=zwGFA74yyDo | list-subs |
yt-dlp --skip-download --write-subs --sub-langs en --sub-format srt https://www.youtube.com/watch?v=zwGFA74yyDo | write-subs |
yt-dlp --skip-download --write-auto-subs --sub-langs en --sub-format txt https://www.youtube.com/watch?v=zwGFA74yyDo |
write-auto-subs |
yt-dlp youtube download cheatsheet ffmpeg
yt-dlp youtube download cheatsheet ffmpeg
https://github.com/yt-dlp/yt-dlp