Skip to main content

Questions tagged [youtube-dl]

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

0 votes
1 answer
82 views

To cut and download part of video from vk.com

I try to cut and download part of an online video from vk.com, using yt-dlp and ffmpeg, in one step. I tried ffmpeg $(yt-dlp -g 'https://vk.com/video302700968_456241462' | sed 's/^/-ss 05:00 -i /') -...
jsx97's user avatar
  • 71
1 vote
1 answer
671 views

How long the URL of a YouTube video last before expiring?

On executing youtube-dl -g <youtube_link> we get the urls for the video and the audio, we can play those urls with vlc for example. But for how long those urls are valid?, they're of the form: ...
user2495207's user avatar
1 vote
1 answer
334 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 ...
Tom Huntington's user avatar
1 vote
0 answers
286 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
3 votes
1 answer
2k 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
1 vote
1 answer
5k 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
1k 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.2k
2 votes
2 answers
3k views

How to make youtube-dl (yt-dlp) generate subtitles properly and not duplicate the text?

I'm using yt-dlp to download some videos, and I've told it to embed the subtitles. This seems to work, except it's generating subtitles in the most horrible way by duplicating the text. For example, ...
Component's user avatar
-1 votes
1 answer
1k views

youtube-dl removed but still there

There's a ghost in the shell. I tried to remove youtube-dl through brew uninstall youtube-dl: -bash: brew: command not found cool, that means I have not even installed brew. I then checked if I could ...
Francesco Mantovani's user avatar
0 votes
1 answer
252 views

Prevent the youtube-dl process fork when downloading metadata for a video in a playlist

Storing the metadata for a video using in a file using youtube-dl can be done in bash by calling youtube-dl -j https://www.youtube.com/watch?v=${video_id} > metadata.json However, when the video ...
fuumind's user avatar
  • 433
9 votes
2 answers
18k views

youtube-dl not downloading any "age restricted" video

Youtube has started "age restricting" many videos, and I can't download them with youtube-dl for example youtube-dl https://www.youtube.com/watch?v=xeZ3k2ywQ6Y so user@droplet~/user# ...
barlop's user avatar
  • 24.2k
1 vote
3 answers
3k views

How do you download multiple files/videos, simultaneously, on a basic digitalocean droplet/VPS?

How do you download multiple files/videos, simultaneously, on a basic digitalocean droplet? Let's say I create a basic digitalocean droplet/VPS, that runs Ubuntu I start the console I do apt install ...
barlop's user avatar
  • 24.2k
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 ...
Paul's user avatar
  • 944
0 votes
1 answer
2k 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-...
Gansaikhan Shur's user avatar
0 votes
1 answer
990 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 ...
Green goblin's user avatar
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 ...
Carlosp3's user avatar
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 ...
pkamb's user avatar
  • 4,463
0 votes
1 answer
173 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 ...
mohsentux's user avatar
  • 115
0 votes
0 answers
652 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%\...
Sheesh Man's user avatar
0 votes
0 answers
333 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 ...
Uncle Iroh's user avatar
0 votes
0 answers
281 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 ...
Uri's user avatar
  • 3
0 votes
0 answers
1k 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....
IGRACH's user avatar
  • 499
0 votes
1 answer
400 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 ...
HBatalha's user avatar
  • 145
2 votes
2 answers
7k 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 ...
HBatalha's user avatar
  • 145
4 votes
1 answer
3k 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 ...
Hashim Aziz's user avatar
0 votes
1 answer
66 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 ...
Hashim Aziz's user avatar
0 votes
2 answers
3k 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 ...
Hashim Aziz's user avatar
1 vote
1 answer
801 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)...
Mafsi's user avatar
  • 113

15 30 50 per page
1
2 3 4 5 6