Questions tagged [youtube-dl]
A free command-line downloader primarily for YouTube videos, available on many platforms.
148
questions
0
votes
0
answers
9
views
youtube-dl, show file(s) in Explorer after download completes?
I'm trying to write a windows batch file for youtube-dl, and this is what I currently have for it:
@ECHO OFF
cls
:start
SET /P URL="Downloading to %USERPROFILE%\Videos. Enter link/ID: "
ECHO....
0
votes
0
answers
29
views
How do I do math inside an ffmpeg/youtube-dl command or use -to while having -ss before -i
Using youtube-dl and ffmpeg I've got downloading part of a youtube video working fine thanks to this question
ffmpeg -ss 60 -i $(youtube-dl -g -f 18 "https://youtu.be/oHg5SJYRHA0") -t 5 -c ...
0
votes
0
answers
14
views
How to organise music files for cmus
I used youtube-dl to download music files (with .webm file extension).
I organised them into a the following file structure, with each artist name being a folder containing the .webm files:
~/Music
|
|...
0
votes
0
answers
74
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
0
answers
81
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
120
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
210
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
659
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
53
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
109
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
42
views
youtube-dl | from file txt?
Is there an option to search for music videos based on the txt file?
list.txt
example:
Madonna - Frozen
Metallica - Nothing Else Matters
Then how to download id music from this file?
I tried something ...
0
votes
0
answers
68
views
Youtube-dl with FFMPEG : When I download part of youtube video with yt-dl and ffmpeg, audio drifts and becomes a few seconds longer
When I download a part of youtube video with youtube-dl and ffmpeg, the audio drifts
and the time interval is a few seconds longer than I wanted
youtube-dl --external-downloader ffmpeg --external-...
0
votes
0
answers
94
views
OpenMediaVault's download plugin for youtube-dl support ignores format selection in configuration file
I have a raspi 4 which runs OpenMediaVault (newest version). I added the Download-Plugin for youtube-dl support and this configuration:
#/etc/youtube-dl.conf
-i
-4
--external-downloader aria2c
--xattr-...
0
votes
0
answers
24
views
youtube-dl with --max-downloads key counts a failed download as a download
"youtube-dl.exe" -f 37/22/18/best -o "%%(upload_date)s %%(title)s.download" --max-downloads 1 --download-archive .archive --match-title "keyword" -i "https://www....
0
votes
0
answers
31
views
Make youtube-dl download only necessary pages from YouTube
I am downloading audios from YouTube channel with following line:
/usr/local/bin/youtube-dl -o "%(upload_date)s %(title)s.%(ext)s" --write-annotations --download-archive "$ArchiveFile&...
0
votes
0
answers
57
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
53
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
145
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
114
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
1k
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 ...
2
votes
1
answer
239
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
44
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
122
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 ...
0
votes
0
answers
32
views
ffmpeg for youtube-dl old platform
I have trouble using ffmpeg for youtube-dl. I have Windows XP 32-bit and with ffmpeg I have this error message, even with bcrypt.dll the files for the video and the audio will not combine.
1
vote
1
answer
146
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
622
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
1k
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
94
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
116
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
704
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
313
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
111
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
129
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
589
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 ...
1
vote
2
answers
2k
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 ...
1
vote
1
answer
764
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
110
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
359
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
1k
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
131
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
404
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
271
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
3k
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
105
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?
1
vote
3
answers
7k
views
How to download aes encrypted m3u8 using ffmpeg or youtube-dl?
I have the m3u8 file and the key.bin, inside the m3u8 file is:
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:...
0
votes
1
answer
557
views
youtube-dl + ffmpeg: Import description and URL of an original video to ID3 tags
Following bundle is used to download and encode audio:
/usr/local/bin/youtube-dl --playlist-reverse -o "%(upload_date)s %(title)s.%(ext)s" --write-annotations --download-archive "....
1
vote
1
answer
1k
views
What to do now that "youtube-dl.exe -U" yields "ERROR: can't find the current version. Please try again later."?
I used to be able to run the command:
youtube-dl.exe -U
To update youtube-dl. But now, it says:
ERROR: can't find the current version. Please try again later.
As always when an error message of any ...
0
votes
1
answer
397
views
YouTube-DL: How to extract cookies from Opera for age restricted videos?
I've been using YouTube-DL in Windows for a while now. Unfortunately YouTube recently made some change that has caused it to stop working on age restricted videos. The docs say that you can tell it to ...
0
votes
1
answer
207
views
How to use multiple passes of the FFMPEG filter functionality?
I know how to do this in multiple steps, but I'd rather do it in one pass so I'm not re-encoding it multiple times. It appears it is possible. . .
I have a playlist of my videos on YouTube that I want ...
13
votes
1
answer
17k
views
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.
...