Questions tagged [yt-dlp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
918 views

yt-dlp not downloading all videos from channel in Windows 11

I'm trying to download all 608 videos from this channel (https://www.youtube.com/@EndoJunts). However, when I use yt-dlp to download the channel, I only see 594 videos. This is the argument I used yt-...
pillowcase99's user avatar
1 vote
1 answer
336 views

What does a YT-DLP batch file for MS-DOS look like which accepts URLs which have been copied to the clip-board?

Please view the batch file below. The goal ... is to run yt-dlp in a batch file, which then gives you a menu with six options: yt-dlp "%temp_file%" yt-dlp -f best "%temp_file%" yt-...
GwenKillerby's user avatar
0 votes
1 answer
1k views

yt-dlp: search and download videos with closed captions / subtitles

yt-dlp has the ability to search the web for videos from the command line and download the first result, but I'd like to limit the search to results with Closed Captioning (㏄) or subtitles, if ...
hackerb9's user avatar
  • 1,007
0 votes
0 answers
284 views

yt-dlp loss of quality live stream 1080p in the finished .mp4

I'm trying to download a live cs go stream in 1080/60fps. I use the normal command yt-dlp "https://www.youtube.com/watch?v=URZ0hB7nY3o" When I open the .mp4, I notice a big loss in quality ...
aizy's user avatar
  • 9
2 votes
2 answers
3k views

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-...
thunderbolt004's user avatar
4 votes
1 answer
7k views

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" ...
Bart Lederman's user avatar
0 votes
0 answers
123 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 ...
Aniket Bose's user avatar
1 vote
0 answers
228 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 ...
Daviti Shalikiani's user avatar
0 votes
1 answer
131 views

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 ...
Rayearth's user avatar
  • 355
1 vote
1 answer
1k views

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 --...
Satvik Kelsey's user avatar
1 vote
3 answers
20k views

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 ...
Wolfpack'08's user avatar
  • 1,213
2 votes
1 answer
897 views

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 [...
Rick T's user avatar
  • 153
2 votes
2 answers
1k views

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 ...
Mikki99's user avatar
  • 21
3 votes
1 answer
1k 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" ...
Mordecai's user avatar
4 votes
1 answer
17k views

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 ...
Jeff Mercado's user avatar
1 vote
1 answer
4k 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 ...
Alejandro Garcia's user avatar
0 votes
0 answers
478 views

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 ...
Wolfpack'08's user avatar
  • 1,213
0 votes
0 answers
2k views

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 ...
Wolfpack'08's user avatar
  • 1,213
0 votes
0 answers
943 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&...
HD TV's user avatar
  • 1
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?
Satish Kumar's user avatar
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 -...
user541686's user avatar
  • 23.9k