Questions tagged [youtube-dl]
A free command-line downloader primarily for YouTube videos, available on many platforms.
49
questions with no upvoted or accepted answers
6
votes
1
answer
7k
views
How to get playlist name(title) with youtube-dl
I have an issue with youtube-dl in Linux, so I want to create a bash
script letting me download a playlist and put all the videos in a
separate folder having the name of that playlist
here is my ...
3
votes
0
answers
716
views
youtube-dl CommandNotFoundException
As I'm trying to get some high quality audio files of some ambient background in order to use in my music, the first I read was to use youtube-dl to download and ffmpeg to convert to a format FL ...
2
votes
0
answers
748
views
Why does youtube-dl raise the bitrates of M4A files when it transcodes them?
I'm trying to download videos from a YouTube playlist using youtube-dl. When downloading a sample of 25 videos from the playlist with:
youtube-dl -x -i --playlist-items 1-25 -f bestaudio <playlist ...
1
vote
1
answer
264
views
Youtube playlist to m4b audiobook
Currently I download youtube playlists as audio -f 140, transfer the files via itunes to my iphone, then add a common artist/ablum metadata in itunes move it from music to audiobooks.
However, this ...
1
vote
0
answers
244
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 ...
1
vote
0
answers
237
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.
...
1
vote
0
answers
904
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 ...
1
vote
0
answers
301
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
0
answers
216
views
Delete removed videos from playlist youtube-dl
I have a script that syncs my yt playlist to my computer. Problem is, when I remove a video from my playlist it stays on my computer. Is there a way to either have youtube-dl delete the video or to ...
1
vote
0
answers
996
views
Youtubedl --audio-format FORMAT is ignored to download opus audio. Could not write header for output file #0 error
youtube-dl --list-formats
https://www.youtube.com/watch?v=4BDq_22PfWU&t=628s [youtube]
4BDq_22PfWU: Downloading webpage [youtube] 4BDq_22PfWU: Downloading
video info webpage [info] Available ...
1
vote
0
answers
598
views
youtube-dl giving 407 Proxy Authorization Required after some minutes
I'm using the following command on a windows terminal:
youtube-dl -ciw --proxy myuser:[email protected]:8080 "https://www.youtube.com/user/CodeNMore/videos"
to download a channel/playlist.
...
1
vote
0
answers
2k
views
youtube-dl '--add-metadata' not writing all metadata on Windows 8.1
I have the latest version of youtube-dl installed as a environment variable for easy access in Command Prompt; I'd like to be able to simply type youtube-dl, then paste a link after it, all while ...
1
vote
0
answers
687
views
youtube-dl set playlist quality
Running on Windows, latest version of youtube-dl.exe
I would like to download a playlist at the best possible quality (1080)
My issue is that -f command has varied results depending on what I use:
[...
1
vote
0
answers
341
views
Can't run program with quoted argument from script, but can run it directly from the command-line
I have this script (which is aliased to ydl in my profile):
param(
[string]$url,
[switch]$vid=$false
)
$ydl = "D:\youtube-dl\youtube-dl.exe"
$mp3conf = "--config-location `"D:/youtube-dl/...
0
votes
0
answers
137
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 ...
0
votes
0
answers
974
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
1k
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
2k
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 -...
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
918
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
2k
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
5k
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
0
answers
588
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
304
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
240
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
993
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
0
answers
273
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
505
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
786
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.
0
votes
1
answer
312
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 ...
0
votes
2
answers
733
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?
...
0
votes
1
answer
889
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
693
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 ...
0
votes
0
answers
431
views
How to batch download still frames from youtube videos?
I am working on a project that requires running analyses on around 20k videos hosted on youtube.com. For my analyses, I need 3-5 screenshots of each video, at different points in the video.
I know ...
0
votes
0
answers
989
views
What does the "[ffmpeg] tls: Failed to send close message" error mean (mpv)?
I often stream video or audio in mpv (requires youtube-dl, FFmpeg is installed) and the [ffmpeg] tls: Failed to send close message error is always displayed in shell (PowerShell) when I quit the ...
0
votes
0
answers
689
views
ffmpeg freezes when piping two inputs
I currently have a command that has two piped outputs input into two pipes into ffmpeg
{ youtube-dl -f bestaudio[ext!=webm]/140/best[ext!=webm] --no-cache-dir -o - https://www.youtube.com/watch?v=...
0
votes
1
answer
1k
views
youtube-dl how to call PowerShell script with all possible filenames
I wrote a PowerShell script to do some post processing on audio downloaded by youtube-dl and I'm trying to use the --exec flag to call it automatically. The problem is that I don't know how to ...
0
votes
1
answer
165
views
youtube-dl output errors, win10
Can someone tell me what is wrong here? The download appears to be successful but the file is nowhere to be found.
C:\Users\lmaxi\OneDrive\Desktop\YouTube-DL>youtube-dl -v
https://www.youtube.com/...
0
votes
0
answers
201
views
How do you know which video qualitly listed by youtube-dl is the original or closest to?
Hold your horses because I'm not asking how to get the best resolution with youtube-dl videos, or how to get this or the other quality. That has been asked and answered everywhere. I know. I know. ...
0
votes
1
answer
5k
views
How to deal with skipping segments in ffmpeg
I wanted to download 2 minutes from a live stream of youtube. So, I run the following cmd but the problem is that ffmpeg throws me skipping X segments ahead, expired from playlists and the output ...
0
votes
0
answers
708
views
Use youtube-dl on Windows 10 S
Is there any method to run youtube-dl on Windows 10 S ? For example any UWP app allowing cmd sort of functionality.
0
votes
1
answer
663
views
windows batch complex -o parameter for youtube-dl - how to properly format?
The goal is a batch file which calls youtube-dl to save files to folders with this naming convention:
chapter number[space]chapter name\playlist index[space]title.ext
This attempt at passing an ...
0
votes
1
answer
75
views
Archlinux - Delete files in different subdir with date name
I need your help to find a way to cron-delete somes files in multiple subdir based on date format in the name.
I use this script in youtube-dl:
youtube-dl --yes-playlist --download-archive archive....
0
votes
1
answer
1k
views
Install failure of youtube-dl on a Mac
I am trying to install youtube-dl in OS X El Capitan with curl.
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
% Total % Received % Xferd Average ...
0
votes
1
answer
464
views
Generate title within printed download url via youtube-dl
I'm trying to get youtube video link with &title=Video+Title.
I've tried to use this cmd line:
youtube-dl "https://www.youtube.com/watch?v=YQHsXMglC9A" -q -g --get-filename -o "%(title)s.%(ext)s"...
0
votes
1
answer
401
views
Youtube dl Colon in Title download error
I compiled a recent youtube-dl script on 2011.08.04.
When I try and download Snow: Coronet Peak superb conditions or New for 2012 at Holiday World: Mammoth - World's Longest Water Coaster!, it ...
-1
votes
1
answer
540
views
youtube-dl can't execute PowerShell scripts
I'm trying to get youtube-dl to call a little PowerShell script I made that converts downloaded audio to mp3 while at the same time normalizing it so all songs I download are about the same volume. ...