Questions tagged [youtube-dl]

A free command-line downloader primarily for YouTube videos, available on many platforms.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

How To Download Youtube Videos With Two Or More Subtitles Youtube-DL

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?
0
votes
1answer
20 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
0answers
27 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
0answers
33 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
0answers
70 views

Why does youtube-dl.exe run from most directories, but not c:\windows\system32, where it gives a python error about a codec?

Why does youtube-dl.exe run from most directories, but not c:\windows\system32, where it gives a python error about a codec ? C:\>dir c:\windows\system32\youtube-dl.exe Volume in drive C has no ...
0
votes
0answers
9 views

how to download a youtube playlist at the highest quality using youtube-dl?

I used this command youtube-dl -f best -o "%(title)s.%(ext)s" https://www.youtube.com/playlist?list=PLnOr0rnkRwZg40meM_3KchgCY9Xi4iEtI but it only downloads 360p
0
votes
0answers
24 views

Is It possible to change audio format without re encoding in FFmpeg? [duplicate]

I downloaded a song using youtube-dl using this command youtube-dl -x --audio-format "best" (link) the downloaded file is in a .opus. Is it possible to change it to Aac or M4a wihtout re ...
0
votes
2answers
175 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
0answers
157 views

FFMPEG is too slow in youtube-dl

I am creating a GUI for youtube-dl(at first I created for myself because none of others free video downloader programs was satisfactory for me but now I want to deploy it and share it with people). So ...
0
votes
0answers
20 views

youtube-dll: How do I obtain account name of video

I want youtube-dll to return the account name of this video (ABB Formula E in this instance) so I can post process where to store the downloaded video. https://www.youtube.com/watch?v=AHSNeL-BsAg I've ...
0
votes
0answers
59 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
1answer
31 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
0answers
176 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 ...
0
votes
0answers
78 views

PowerPoint cannot insert a video from the selected file. Verify that the path and file format are correct, and then try again

So the file is in mp4 format(I downloaded it from Youtube using youtube-dl)which should be work with PowerPoint since I have another video from youtube using the exact same format. Another interesting ...
1
vote
1answer
380 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 ...
0
votes
0answers
20 views

Youtube-dl download mp4 and bitrate less than X

I'm trying to use youtube-dl to download 720/1080p videos, always mp4, with aac audio, and bitrate less than 3 Mbps but nothing I try works. youtube-dl -i -f '[height >= 720][ext=mp4]+bestaudio[ext=...
1
vote
1answer
138 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
0answers
43 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
1answer
129 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 ...
1
vote
1answer
160 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
0answers
44 views

ffmpeg video and audio out of sync, slower (44100 to 48000)

I downloaded few live videos from Twitch using a youtube-dl command, but in the original video the audio have sampling rate in 48000 and youtube-dl saved the video in 44100, turning the video slower ...
0
votes
0answers
36 views

How to add Date and time to the downloaded file?

I wanted to add Date and time of the current date, during the downloading timing. Please share the syntax for Youtube-dl and for ffmpeg.
0
votes
1answer
94 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
0answers
115 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
1answer
108 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
0answers
43 views

How do I know what the filename will be for youtube-dl?

I used to do this: ... -o "C:\blablabla\My_own_invented_filename_12354334839.mp4" It worked. Until one day in late 2020 when it started giving errors such as "the file has already been ...
0
votes
1answer
430 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
0answers
43 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?
0
votes
0answers
21 views

Why youtube-dl only downloads video stream when using multiple formats

I am downloading a bunch of videos with a resolution of up to 1080p mp4 but some of them doesn't have this resolution. I am trying a format in which it'll download the 1080p first and it if doesn't ...
0
votes
0answers
396 views

youtube-dl - download from text file, skip broken files, take note of errors, and move on?

I have a rather large selection of video links I want to download using youtube-dl. Many, however are old, and so some won't work anymore. I know youtube-dl -a input.txt lets you put a text file as ...
0
votes
0answers
101 views

Get correct video thumbnail when using youtube-dl?

When I download a video using youtube-dl on Windows 10, the downloaded video will get a different thumbnail when viewed in the explorer than the thumbnail it has on YouTube. Is there some way to make ...
0
votes
0answers
105 views

Using “youtube-dl” - How to NOT Remove Special Characters from Filenames

i'm using youtube-dl in the Terminal on a Mac (Catalina) to download all my videos from YouTube. seems to be working fine, except... for ? question marks, it removes them, for " quotes, it ...
0
votes
0answers
153 views

Using “youtube-dl” - How To Add Metadata To Text File During Download Process

using "youtube-dl" in the macOS Terminal.app, along with homebrew, ffmpeg, & atomicparsley installed, is there a way to automatically add... Date: Title: Description: Tags: ...in a .txt ...
0
votes
2answers
3k 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
0answers
7 views

Is there a way to download a video at the playback rate (a rate that would simulate user watching it)?

So I know that one can adjust the rate of download with youtube-dl using the -r or --limit-rate flags; however, as part of a simulation testing, I am trying to simulate a user watching a video , and ...
0
votes
0answers
37 views

Skip ffmpeg conversion flag in youtube-dl

I run ffmpeg manually so I don't need to run it twice youtube-dl -i --youtube-skip-dash-manifest -f bestaudio --extract-audio $argv --exec \ "ffmpeg -hide_banner -loglevel panic -y -i {} -c:a ...
0
votes
1answer
372 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 "....
0
votes
0answers
125 views

youtube-dl: set date-modified to be the same as date created

youtube-dl by default sets the date modified to the upload date of the video. Is it possible to set it to date created instead? I'd rather not write a wrapper script just for to parse then file name, ...
0
votes
1answer
724 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
1answer
210 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
0answers
17 views

Error: Cannot write subtitles file for SRT files

Windows 10 + all updates as of today. Running latest version of youtube-dl I have ran the command to update so have the latest version I have the below command for %%a in (%*) do ( .\youtube-dl.exe ^ -...
0
votes
0answers
55 views

how to download just a portion stream video

how to download a stream video from this site https://www.rctiplus.com/tv/gtv/69724/abdel-temon-bukan-superstar?date=2020-08-03. there is no m3u8 link when i use youtube-dl but when i see a the page ...
0
votes
1answer
65 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 ...
5
votes
1answer
6k 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. ...
1
vote
1answer
114 views

FFmpeg not finding file

I have been experimenting with youtube-dl and have come across a problem when trying to combine the audio and video files youtube-dl downloaded. When I tried to use FFmpeg to merge the files it keeps ...
0
votes
0answers
44 views

How to tell if a specific format has audio from youtube-dl generated JSON

I'm creating a browser extension that uses youtube-dl to download videos and I need to know what formats are available and if they are video+audio or video-only. Along with other information such as ...
0
votes
0answers
42 views

Is there anyway to get direct download link from a website?

I want to download a video from here- https://commencement.mit.edu/webcast. Now, I used youtube-dl to download the video, and it was successful in extracting the source and downloading it, but the ...
2
votes
1answer
1k views

Download the lowest quality video with youtube-dl

What's the command to download the least quality video with youtube-dl? youtube-dl -F shows format code extension resolution note mp4-56 mp4 audio only 56k , isom container, 0fps, ~...
3
votes
1answer
2k views

“no matches found” error when using youtube-dl

OK so I am just getting started with the command line stuff so I am guessing this is really a very noob question: I downloaded the youtube-dl according to this post https://ytdl-org.github.io/youtube-...
1
vote
1answer
103 views

Piping from youtube-dl to jq in command substitution

When I run youtube-dl -j "$youtube_url" | jq I get a nice json output. However, when I run json=$(youtube-dl -j "$youtube_url" | jq) then jq prints it's usage page and after that youtube-dl fails ...