Questions tagged [youtube-dl]
A free command-line downloader primarily for YouTube videos, available on many platforms.
155
questions
0
votes
0
answers
28
views
FFprobe not showing frame's data
As a beginner I don't know much about ffprobe and other video editing command line tools. Please guide me here.
I am trying to download a video with yt-dlp and trim it to the nearest key-frame of my ...
1
vote
0
answers
86
views
yt-dlp turns off my Telegram and Discord when I use --download-sections
I'm getting this problem on a macOS Monterey.
When I run yt-dlp --download-sections, it takes a few seconds to reach the frame downloading part, but when it does get there, my Discord gets stuck on ...
0
votes
0
answers
502
views
Why does the "--get-filename" yt-dlp feature claim that the file will be a .webm when it's .opus?
If I use yt-dlp to download a video from YouTube, it becomes .webm.
If I use yt-dlp to download a video as audio from YouTube, it becomes .opus.
However, yt-dlp --get-filename (which I have to run in ...
1
vote
1
answer
425
views
No audio for WEBM format
I'm trying to download a video because I don't like the forced HDR by YouTube. I got the following output when entering this command yt-dlp -F "https://www.youtube.com/watch?v=19h1iUcC3QU"
...
0
votes
0
answers
386
views
How to get Playlist ID from Video link using youtube-dl?
I am trying to get playlist ID from youtube video URL that belongs to using youtube-dl.exe on windows.
input : youtube video link
output : playlist id that video belongs to
code am trying,
youtube-dl -...
0
votes
0
answers
128
views
Using ffmpeg within youtube-dl to cut first 4 seconds of the video
So here is the command i'm using:
youtube-dl.exe -a list.txt -o "C:\Users\onu\Documents\[%(uploader)s] - %(title)s.%(ext)s" -f best --embed-thumbnail --postprocessor-args "-ss 4"
...
0
votes
1
answer
1k
views
How to download sections from youtube videos from command line with bad internet
I want to download certain sections from a youtube stream, currently I'm using this command to get the job done:
yt-dlp --download-sections "*30:15-1:40:25" $LINK
the problem is that ...
0
votes
0
answers
401
views
yt-dlp playlist re-stream FFMPEG constantly dropping
yt-dlp "https://www.youtube.com/playlist?list=PL63F0C78739B09958" --exec "ffmpeg -i {} -vcodec libx264 -c:a aac -b:a 160k -crf 23 -preset fast -f flv rtmp://127.0.0.1:1935/live/mytv10&...
0
votes
0
answers
541
views
Burn subtitle in youtube video while downloading
How to burn a YouTube video with a subtitle while downloading (simultaneously) using yt-dlp and ffmpeg. Can you help me with a batch file or command line syntax?
0
votes
0
answers
942
views
Why does piping yt-dlp tp FFmpeg fail with --download-sections?
I'm trying to download a clip of a video (including audio) in a streaming manner (i.e. with no temporary files) in a given format.
This works fine:
yt-dlp --ignore-config --no-config-locations -f 22 -...
2
votes
0
answers
947
views
How to make youtube-dl (yt-dlp) generate subtitles properly and not duplicate the text?
I'm using yt-dlp to download some videos, and I've told it to embed the subtitles. This seems to work, except it's generating subtitles in the most horrible way by duplicating the text.
For example, ...
-1
votes
1
answer
523
views
youtube-dl removed but still there
There's a ghost in the shell.
I tried to remove youtube-dl through brew uninstall youtube-dl:
-bash: brew: command not found
cool, that means I have not even installed brew.
I then checked if I could ...
0
votes
1
answer
137
views
Prevent the youtube-dl process fork when downloading metadata for a video in a playlist
Storing the metadata for a video using in a file using youtube-dl can be done in bash by calling
youtube-dl -j https://www.youtube.com/watch?v=${video_id} > metadata.json
However, when the video ...
6
votes
2
answers
12k
views
youtube-dl not downloading any "age restricted" video
Youtube has started "age restricting" many videos, and I can't download them with youtube-dl
for example
youtube-dl https://www.youtube.com/watch?v=xeZ3k2ywQ6Y
so
user@droplet~/user# ...
1
vote
3
answers
879
views
How do you download multiple files/videos, simultaneously, on a basic digitalocean droplet/VPS?
How do you download multiple files/videos, simultaneously, on a basic digitalocean droplet?
Let's say I create a basic digitalocean droplet/VPS, that runs Ubuntu
I start the console
I do apt install ...
0
votes
0
answers
2k
views
Get URL of YouTube live stream
How to find out which video ID (https://www.youtube.com/watch?v=VIDEO_ID) corresponds to current live stream available at URL like this: https://www.youtube.com/channel/CHANNEL_ID/live ?
The software ...
0
votes
1
answer
1k
views
How to download videos that have subtitles using youtube-dl "yt-dlp"?
I have the following command which tries to download videos that only have subtitles and ignore everything else. However, this command doesn't filter it out and downloads them anyway.
Any idea why?
yt-...
0
votes
1
answer
640
views
Downloading and merging mp3 in time-range from Youtube using youtube-dl and ffmpeg
Background
I am trying to download best quality mp3 from Youtube videos in specified time range (first 30 seconds, 20-55 seconds etc), and then merge them to create one output file. Tools being used ...
0
votes
1
answer
1k
views
how pipe the 'get_url' of youtube-dl to ffmpeg stdin
I'm not getting pass the output from the first process with Youtube-dl through pipe to stdin of ffmpeg. It is as if the Youtube-dl force the execution of process after pipe instead wait for his own ...
0
votes
0
answers
3k
views
Save a local file URL .m3u8 stream using youtube-dl
I have a local .m3u8 file containing stream information. I would like to use youtube-dl or a fork to download the stream.
When I pass the local file to youtube-dl it gives the error that it is ...
0
votes
1
answer
122
views
Youtube-dl acting up in Kubuntu 18.04 "can't download"
first thing I'd like to state that I didn't have any issues using youtube-dl in Windows 10. But not in Kubuntu 18.04, It doesn't work
the command:
$ sudo youtube-dl 'IllgR6kOieI' --external-downloader ...
0
votes
0
answers
419
views
Youtube-dl not downloading requested filesize
So I currently have "youtube-dl.exe" -l PL6NdkXsPL07IOu1AZ2Y2lGNYfjDStyT6O -f "[filesize<25M]" --audio-format "mp3" --ffmpeg-location "C:\Users\%Username%\...
0
votes
0
answers
163
views
Drag & drop URL from address bar into folder = automagically convert + download
How would I go about finding out how to drag & drop shortcut URL from browser address bar into folder to auto download / convert to audio mp3?
After dragging into folder, the output file would ...
0
votes
0
answers
140
views
Is downloading a media file twice and comparing their hash values enough to verify their integrity?
I often use youtube-dl to download videos. As far as I know, there is no data integrity verfication built in to youtube-dl, so what I do to verify that a video isn't corrupted in some way after ...
0
votes
0
answers
533
views
Download specific resolution with youtube-dl
How to download video with specific video resolution, lets say Full HD with best audio and merge them together. I need a one line command in which you just can change the video resolution if choose to....
0
votes
1
answer
265
views
Regex in youtube-dl arguments
I want to extract two paths from the youtube-dl arguments, the output template and ffmpeg location
-o (.*%\(ext\)s).* --ffmpeg-location (.*)
With the regex above I am able to capture both the output ...
2
votes
2
answers
4k
views
Difference between ffmpeg versions
I am using ffmpeg and ffprobe to do video/audio conversions when using youtube-dl in a GUI interface. The current ffmpeg version command line tool on windows is very large, over 100MB.
I want to ...
4
votes
1
answer
2k
views
How to download a portion of a YouTube video
I often come across YouTube videos that I need to crop parts from, but these videos can be long and downloading the entire video just to process a small part of them would take too long and be very ...
0
votes
1
answer
61
views
Using `-to` instead of `-t` when using YouTube link as input
This answer shows how to get a portion of a YouTube video by using URLs as input. The command works mostly fine, but I want to avoid using -t as I need to cut between specific timestamps and I'd ...
0
votes
2
answers
2k
views
Using read to capture multiple variables from a command's output
I have a youtube-dl command that when run outputs two new lines, and I'm trying to capture each of those to variables.
Here is what I have so far, but for some reason I can't understand, it only ...
1
vote
1
answer
415
views
Youtube-dl - different config file for video & audio?
Is it possible to pass a specific config file to youtube-dl without writing all
arguments in command line?
Right now I'm using AHK to input in PowerShell for video
youtube-dl.exe -o '%(playlist_index)...
0
votes
1
answer
2k
views
How To Download Youtube Videos With Two Or More Subtitles Youtube-DL [duplicate]
I was wondering is there a way to download a Youtube videos with 2 or more Subtitles using Youtube-DL and ignore auto-generated subtitles?
1
vote
1
answer
2k
views
Is there a way to download the auto generated subtitles of videos in a private / public YouTube playlist?
I found this cool Reddit link here which basically does what the title says, but this stuff felt a bit confusing to me. Can somebody please suggest if there's a better way to download the ...
0
votes
0
answers
208
views
How do I pass arguments to `youtube-dl.exe`
I have newly installed youtube-dl.exe
How do I pass arguments to it that normally appear as
www.example.com?A=1&B=2
and also
headers
that appear as -H
Without change this gives an error:
is not ...
0
votes
0
answers
358
views
Using youtube-dl, how do I get the length of an extremely long playlist
Using youtube-dl:s json capabilities together with jq like so:
youtube-dl -J --flat-playlist [playlist_url] | jq '.entries | length'
I can get the number of videos in a playlist. This does consume an ...
0
votes
2
answers
1k
views
Unable to use youtube-dl or annie to download video from Bilibili
So I was trying to download a video from Bilibili using annie. I oroginally chose youtube-dl but unfortunately it doesn't seem to support Bilibili website, so I chose annie instead, following the ...
0
votes
0
answers
607
views
Ffmpeg downloading slow?
Mine download speed is slow when I use ffmpeg to download a video. When I use other programs that use ffmpeg I am getting no problem but downloading on termux I am getting slow speed.
1
vote
1
answer
215
views
Downloading a video as a best quality mp4 without audio?
I'm trying to download videos from Youtube as their best quality mp4, without the audio.
I know I can use youtube-dl -F to see all available formats, choose one and then run another command, but I ...
0
votes
1
answer
222
views
Youtube Command Prompt
I tried to download a youtube video with the following command:
C:\Users\[me\OneDrive\Desktop\Test>youtube-dl -fURL
I've also tried:
C:\Users\[me\OneDrive\Desktop\Test>youtube-dl -f[URL]
but I ...
0
votes
0
answers
1k
views
ffmpeg Fails to download segment
When I download a m3u8 video file with ffmpeg I'm getting this error "Failed to open segment 791 of playlist 0" on some segments. Ffmpeg skips segment 791.How can make ffmpeg not skip the ...
2
votes
2
answers
4k
views
How to extract all the youtube video links for a particular youtube channel using Youtube-dl?
How to extract all the youtube video links URL for a particular youtube channel using Youtube-dl ubuntu shell script? the file should contain certain information like:
Video URL
Video Title
Video ...
3
votes
1
answer
2k
views
How can I get youtube-dl to match all videos in a channel that have a particular word in the title?
I want to archive all the videos in a YouTube channel, but I want to save some at a lower quality and others at a higher quality based on their title.
According to the docs, it seems like --match-...
1
vote
0
answers
163
views
Skip a video in youtube-dl if number of fragments are > n
youtube-dl typically downloads a youtube video very fast but when it comes to downloading live streams, its painfully slow.
Often live streams are processed as dash videos and we are given fragments.
...
0
votes
1
answer
904
views
Audio Downloader from YouTube with youtube-dl and ffmpeg
I am trying to make an audio downloader with youtube-dl and ffmpeg which will:
Download the best format of audio available on YouTube
Embed thumbnail in the file.
Convert the file to mp3.
Delete ...
2
votes
1
answer
3k
views
Convert auto generated subtitle to srt format with youtube-dl
I want to download generated subtitle from youtube and convert it to srt format using command youtube-dl --write-auto-sub --sub-lang en --convert-subs=srt --skip-download <URL> it just output ....
0
votes
2
answers
416
views
How can I get the best video (with audio) in MP4 format?
I am trying to download the best video and audio from the streaming url using youtube dl command line and below is the response. Knowing this, how can I get the best video (with audio) in MP4 format?
...
1
vote
0
answers
694
views
mpv video freezes but audio plays when using youtube
I'm using mpv to play videos from different sources (e.g. youtube) in conjunction with my newsfeed-reader newsboat on my Debian Stable system (actually PureOS Amber which is based on Debian). But ...
0
votes
1
answer
427
views
Formatting output from playlist-only download from youtube-dl
In reference to question youtube-dl; How download ONLY the playlist, NOT the files therein
Can i get output like the following :
https://youtu.be/0gvUCLL-UGE | video title
https://youtu.be/...
0
votes
1
answer
9k
views
How i can download youtube videos by using cmd [duplicate]
in the first time of learning command line i've saw the quick performance that it presents and its deal with files, directories, and programs efficiently.
after all of that i think command line not ...
1
vote
0
answers
215
views
How to download batch subtitles in Youtube-dl?
How do I download batch subtitles from a list of links?
Generally I use this command: --all-subs --skip-download URL
How do I batch it to download multiple subtitles?