Questions tagged [yt-dlp]
18 questions
2
votes
1 answer
How to download all videos with yt-dlp from a youtube channel after the redesign?
Youtube has recently had a redesign of its UI and apparently it's APIs where video content are now divided by regular videos, live streamed videos, and shorts among others. And to download all videos from a channel prior to the change, I would use…
Jeff Mercado
- 719
- 1
- 12
- 29
1
vote
1 answer
How to get playlist title with yt-dlp?
I want to get the playlist title of a youtube playlist and store it in a variable in a bash script.
I have already tried these things:
-e flag but it lists only the video titles
-o flag and --get-filename but again the same
the best try was to run…
thunderbolt004
- 13
- 2
1
vote
1 answer
How to select maximum resolution and specify a format/codec in yt-dlp?
I use yt-dlp frequently and like it. But there is a problem I can't find documented anywhere.
yt-dlp -v -f "bv*[height<=720]+ba*[ext=m4a]" -N 4 "https://www.youtube.com/xxx"
Will find the best video that does not exceed 720 resolution.
yt-dlp -v -f…
Bart Lederman
- 27
- 4
1
vote
0 answers
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 loading screen and my Telegram gets the connecting…
Daviti Shalikiani
- 11
- 1
1
vote
1 answer
How to make yt-dlp JSON data not return null when a YouTube video is in "upcoming" mode?
The following command works for me (meaning it returns JSON data for the video):
yt-dlp.exe https://www.youtube.com/watch?v=1C0ZtmBlL-s --skip-download --dump-single-json --no-check-certificate --restrict-filenames
However, the same command but for…
Satvik Kelsey
- 13
- 3
1
vote
1 answer
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"
ID EXT RESOLUTION FPS HDR CH │ FILESIZE TBR PROTO │…
Mordecai
- 15
- 3
1
vote
1 answer
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 if the connection is lost just for a few minutes, the…
Alejandro Garcia
- 11
- 3
0
votes
0 answers
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 starting interval.
That is, lets say, I want…
Aniket Bose
- 21
- 2
0
votes
1 answer
Trimmed string when setting command's output to a variable in cmd
I would like to know what's wrong with the syntax of the second command below. It doesn't give expected result.
This line results with expected file name that consist of video title from yt and fixed file extension.
yt-dlp --print filename -o…
Rayearth
- 345
- 3
- 5
- 13
0
votes
3 answers
Upgrade/update yt-dlp via pip?
There used to be a top answer with a simple command to update yt-dlp via pip, and I swore it was pip install --upgrade yt-dlp, but maybe it was python3 pip install --upgrade yt-dlp. I cannot test it locally so I have to ask: I am being told there is…
Wolfpack'08
- 1,155
- 2
- 14
- 37
0
votes
0 answers
How to take file name from yt-dlp and use it as ffmpeg output file name?
I'm trying to get the output name to be the same as the input name while using the pipe command in ffmpeg.
Example:
The file is called 1-Minute Audio Test for Stereo Speakers & Headphones [2ZrWHtvSog4].m4a. I'm trying to get the output filename to…
Rick T
- 133
- 8
0
votes
1 answer
yt-dlp: ffmpeg working for some videos, but not for the others
I started using yt-dlp a few days ago, so I'm new to the whole thing. I needed to download some videos from youtube, but have them split into chapters.
The command:
yt-dlp --split-chapters URL
seems to be doing the right thing. However, running…
Mikki99
- 1
0
votes
0 answers
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 my situation) always claims that the file will…
Beckem
- 1
0
votes
0 answers
Force MP4, BA, and <480p?
Jump to d.1 to see the work-around command I am using.
Why am I doing this?
It is SOMETIMES best to just do -f ba[ext=m4a] then change the extension to .mp4, my concern being that it will sometimes fail (or that it can be done more concisely)!
OTHER…
Wolfpack'08
- 1,155
- 2
- 14
- 37
0
votes
0 answers
Guarantee best audio with best-merge?
I'm trying to dl the highest quality audio (and this is the most important thing), but also specific video formats. My default setting would probably be "best-video", but it might be something like 480p.... Anyway, the issue I've been having is…
Wolfpack'08
- 1,155
- 2
- 14
- 37