A free command-line downloader primarily for YouTube videos, available on many platforms.
Questions tagged [youtube-dl]
156 questions
236
votes
4 answers
How to download only subtitles of videos using youtube-dl
How can I download subtitles of a list of videos using youtube-dl? I need an option for this. However I could not find an option to download only subtitles
fivetech
- 2,513
- 2
- 12
- 6
57
votes
1 answer
Downloading m3u8 videos
I am trying to download video from a .m3u8 livestream video format.
How can I download m3u8 videos using software on my personal computer such as ffmpeg, youtube-dl, VLC, etc?
M3U is a computer file format for a multimedia playlist. One common use…
FarouK
- 701
- 1
- 6
- 5
27
votes
5 answers
How do I download ONLY the YouTube playlist, NOT the files therein?
In youtube-dl, I'm trying to get only the playlist content (should be 600+ entries) from a URL, thus:
youtube-dl -i -v --flat-playlist --skip-download https://www.youtube.com/watch?v=CNotezuR73g&list=PLm9l7EEbJuhyDYNuItj3sG8h3xAZbjIxr
which…
user985675
- 760
- 3
- 9
- 18
23
votes
3 answers
How to get best quality audio using youtube-dl?
I am using youtube-dl on Linux to download videos from YouTube and extract the audio. This is my way of building a small music collection.
Anyways, I know that there is an option --audio-quality= with 0 being best and 9 being worst. Is this all I…
user365967
- 451
- 1
- 5
- 11
23
votes
1 answer
How can youtube-dl download videos that require user authentication and 2FA?
When I try to download on of my private videos I get the following:
youtube-dl https://youtu.be/Q-xxxx-xxxx
[youtube] Q-xxxx-xxxx: Downloading webpage
[youtube] Q-xxxx-xxxx: Downloading video info webpage
WARNING: Unable to extract video…
Dave
- 977
- 1
- 9
- 13
23
votes
6 answers
youtube-dl: Download Opus audio or AAC audio?
No, this is not a duplicate of this question.
I have been using youtube-dl to download some music videos from YouTube. I noted that left to its defaults, youtube-dl will use bestvideo+bestaudio, and with recent videos, for bestaudio it will nearly…
pepoluan
- 1,271
- 2
- 12
- 27
18
votes
3 answers
How to download chapters of a youtube video as separate video files?
A New YouTube Feature
Youtube recently enabled the option to add chapters in YouTube videos.
This is done by simply adding the chapter timestamps (start time) in the description of the video.
Related Topics
Using youtube-dl/yt-dlp we can
download…
Lyric Roy
- 285
- 1
- 3
- 8
15
votes
1 answer
How to manually select video and audio format while using youtube-dl?
If I like to choose -f 248 for video and -f 171 for audio, how should I do it? I remember there is a single line command that can merge manually selected audio and video after downloading.
Aero Windwalker
- 756
- 3
- 15
- 29
14
votes
6 answers
Download an entire YouTube channel with youtube-dl and automatically resume if interrupted
I'm downloading an entire YouTube channel consisting of about 10,000 videos. Sometimes the download stops due to errors like "content too short" or "connection interrupted". However, is there a way to automatically restart the download? There is…
INeedHelp101
12
votes
1 answer
youtube-dl optimal video resolution within a max limit
Typically youtube-dl aims to shoot for the highest quality possible. That's not always practical. Flip side I've seen was for minimum quality possible. That's not practical either. What would be a command to make youtube-dl find the highest quality…
Nikhil VJ
- 341
- 1
- 3
- 9
12
votes
3 answers
Recommended settings to convert Opus to AAC
I am downloading some music from Youtube, and it seems that in most cases (popular videos), the best quality audio is an opus file.
I know that (1) Opus is the newest and more efficient codec, and (2) converting from one lossy codec to another is…
Peter K.
- 394
- 1
- 3
- 13
10
votes
3 answers
Convert YouTube DASH audio (youtube-dl) to m4a (AAC DL)
I am unable to listen to m4a DASH audio I download from YouTube via youtube-dl on Winamp. Is there an option in youtube-dl to remove the DASH audio part of m4a file and download/save it as an m4a (AAC LC) without loss of quality? So far, I am using …
Sun
- 6,192
- 10
- 34
- 54
9
votes
1 answer
Is it ok to rename webm (audio-only) files to .opus?
For .webm files obtained with youtube-dl -f bestaudio containing no video stream, is it preferable to run ffmpeg -i input.webm -vn -c:a copy output.opus or can one simply rename the source file, changing the extension?
I mean, the audio stream is…
Marc.2377
- 1,457
- 4
- 23
- 51
9
votes
4 answers
Save video playing in mpv --ytdl to a file while playing
I would like to be able to play and save a video with mpv --ytdl. How do I got about doing that? What's particularly important is that the buffer gets saved too.
Basically, I would like to play a video from youtube, then quit mpv and still be able…
PawkyPenguin
- 333
- 1
- 2
- 5
9
votes
1 answer
Youtube-DL: How to strip video information/description when converting audiofile to MP3?
This might be picky, but when I use Youtube-DL to convert audio from a video to MP3, I let it also tag the title and embed the thumbnail from the video. Somehow it adds the video description and some other meta video info, which I don't want.
This…
jaleco
- 91
- 1
- 3