Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [youtube-dl]

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

-1
votes
0answers
18 views

Chrome plugin that works in 2019 for downloading Youtube videos? App store has them all blocked [closed]

In the past there were many sites, apps, and plugins for all browsers to save youtube videos. But lately it seems like all of the apps are getting removed from the chrome web store. Even the ones ...
1
vote
0answers
9 views

How to “capture” child_process output in node.js [closed]

I'm using youtube-dl to download videos from YouTube. When I call it from node.js spawn child_process, it downloads video, everything works fine, but I'm not able to get any information from ...
0
votes
1answer
29 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 ...
-1
votes
1answer
30 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. ...
0
votes
0answers
17 views

youtube-dl to save each video with name of chapter

I saw that youtube-dl now supports downloading content from safari Safari API Is there any way to name each video to its corresponding chapter ? I was trying the following -o "%(autonumber)s %(...
0
votes
1answer
72 views

Youtube-DL: Date Modified

Using PowerShell on Windows I'm downloading a channel similar to this: youtube-dl.exe ` --format 18 ` --continue ` --ignore-errors ` --no-overwrites ` --add-metadata ` --...
0
votes
1answer
82 views

What is the best quality audio and video from this Youtube video?

I would like to download a youtube video with the best video quality and audio quality. Based on this answer, I would like to pick the best video and best audio, then merge them together. However, I'm ...
0
votes
0answers
23 views

Use youtube-dl to download a movie using the intermediate files, JSON file containing the metadata, or using a saved copy of the page

A URL originally had a movie playing. However, it's now inaccessible. However I have done all of the following before it was taken down: (1) Saved the page source of the URL using a browser. It's an ...
0
votes
0answers
42 views

How can i specify a filename for videos downloaded from a video list in youtube-dl

current i download vidoes using the following command in a download.bat file youtube-dl -a "videoList.txt" -f "best" with the contents of videoList.txt currently bring https://www.youtube.com/...
0
votes
1answer
30 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
1answer
242 views

How to merge downloaded video in youtube-dl?

Some streaming websites split the video into multiple parts and youtube-dl downloads all files to its directory. Is it possible to issue youtube-dl to merge the files together (into MKV)? --merge-...
0
votes
1answer
245 views

youtube-dl optimal video resolution within a max limit

Typically youtube-dl aims to shoot for the highest quality possible. That's not always practical. Flip side I've seen was for minimum quality possible. That's not practical either. What would be a ...
1
vote
1answer
210 views

youtube-dl changing the format output of %(upload_date)s

I've been downloading videos with youtube-dl using upload_date in the name of the file. This puts the date in YYYYMMDD format in the name file, but I will find more convenient if I could store them in ...
0
votes
1answer
223 views

youtube-dl - do not download subtitles for audio-only

I have these options in my youtube-dl.conf: --write-sub --write-auto-sub --sub-lang en,fr --embed-subs Now youtube-dl saves downloaded subs in a container, so that I don't have separate subtitle ...
0
votes
1answer
199 views

HLS vs HTTP format codes in youtube-dl

I am using youtube-dl on windows 10 64 bit. I am new to this program. I checked the available formats for a video from dailymotion like this: youtube-dl -F "http://www.dailymotion.com/video/". In the ...
1
vote
1answer
405 views

How to download multiple video playlist by youtube-dl and avoid repeated recheck?

I want do download multiple play lists by youtube-dl. Created batch file for links of urls. But when any interrupt occurred after that interrupt youtube-dl restart downloading and check every link ...
0
votes
0answers
126 views

youtube-dl doesn't automatically merge video and audio streams even though FFmpeg is installed [duplicate]

When using the download command youtube-dl [youtube.com URL] I end up with separate video (MP4) and audio (WebM) files. FFmpeg is operational -- PowerShell output for ffmpeg: ffmpeg version 4.0 ...
3
votes
0answers
121 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 ...
0
votes
1answer
2k views

How can youtube-dl download videos that require user authentication and 2FA? [closed]

When I try to download on of my private videos I get the following: youtube-dl https://youtu.be/Q-xxxx-xxxx [youtube] Q-xxxx-xxxx: Downloading webpage [youtube] Q-xxxx-xxxx: Downloading video info ...
0
votes
0answers
15 views

Unable to use youtube-dl in any other directory than the one where it's located [duplicate]

I installed youtube-dl on windows and put it on my path but I still can't use it anywhere on the commandline.I tried echo %PATH% after logging in and out but still no luck
2
votes
2answers
2k views

Recommended settings to convert Opus to AAC

I am downloading some music from Youtube, and it seems that in most cases (popular videos), the best quality audio is an opus file. I know that (1) Opus is the newest and more efficient codec, and (2)...
0
votes
1answer
588 views

How to correctly pass arguments to a function? [batch]

I wrote myself a script that will download a playlist. But I have two questions, and I do not know how to solve them. Why do I get an error if I enter a link of the form: https://www.youtube.com/...
0
votes
0answers
34 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. ...
1
vote
1answer
183 views

How to add track numbers to the filename with youtube-dl?

I want to name downloaded audio files in playlists and albums by the track order. Only the track_number output path command seems to be directly related and results in every file being prefixed with ...
0
votes
1answer
592 views

“No such file or directory” error when merging

I use bestvideo+bestaudiocommand to download higher than 720p videos from YouTube as audio and video streams are seperated. On my secondary machine I always get No such file or directory error after ...
0
votes
1answer
894 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 ...
3
votes
1answer
4k views

How to use ffmpeg -t when using a live YouTube source with youtube-dl?

I wanted to download a youtube stream from https://www.youtube.com/watch?v=0R0T0mQmx7I adding the amount of time that I like. Therefore using youtube-dl, I get all its formats: $ youtube-dl --list-...
0
votes
0answers
298 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.
-4
votes
2answers
376 views

I'm trying to upload a Youtube video using a command line tool for Ubuntu?

Here is the link to the utility: https://github.com/tokland/youtube-upload Would like to know Whether the developer will have access to my Videos?
1
vote
0answers
468 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: [...
0
votes
1answer
459 views

youtube-dl set sample rate on mp3?

I am using youtube-dl and I'm using the following command: youtube-dl --extract-audio --audio-quality 0 --audio-format mp3 %dl% This appears to use 48000Hz sample rate by default. I want to use ...
1
vote
1answer
2k views

How to embed subtitle to youtube videos using youtube-dl

How do i embed subtitle to youtube videos using youtube-dl?Usingyoutube-dl --embed-sub --write-auto-sub produce an error displaying Invalid data found when processing input input=youtube-dl -v --...
0
votes
1answer
322 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
1answer
60 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....
1
vote
1answer
1k views

How to manually select video and audio format while using youtube-dl?

If I like to choose -f 248 for video and -f 171 for audio, how should I do it? I remember there is a single line command that can merge manually selected audio and video after downloading.
2
votes
1answer
1k views

Is it ok to rename webm (audio-only) files to .opus?

For .webm files obtained with youtube-dl-f bestaudio containing no video stream, is it preferable to run ffmpeg -i input.webm -vn -c:a copy output.opus or can one simply rename the source file, ...
0
votes
1answer
117 views

How to remove unwanted content from downloaded subtitles?

Auto-generated YouTube subtitles contain timestamps for every word and other content that hampers readability: 00:00:30.230 --> 00:00:33.900 align:start position:19% you<00:00:31.230>&...
1
vote
0answers
251 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
1answer
980 views

How to completely uninstall youtube-dl from windows?

I am not comfortable using this and would like to uninstall it completely from my system. EDIT: I had downloaded an extension file through their website which had the python support inbuilt in it ...
0
votes
1answer
198 views

Youtube-dl batch file - “TypeError: %c requires int or char”

When I run a batch file containing the following: @echo off set /p userinput=C:/youtube-dl.exe -o "%%cd%%/%%(title)s.%%(ext)s" C:/youtube-dl.exe -o "%%cd%%/%%(title)s.%%(ext)s" %userinput% pause I ...
1
vote
1answer
428 views

Download all my youtube playlists to separate folders using youtube-dl

I am trying to use youtube-dl to download all my public playlists from youtube in Windows 7 using the following taken from the documentation: youtube-dl -o "%(playlist)s/%(playlist_index)s - %(title)...
0
votes
1answer
4k views

How to specify download path for youtube-dl on Windows?

I have created config.txt in ~\AppData\Roaming\youtube-dl\. When using -o ~%(title)s.%(ext)s command the downloaded files are saved to C:\Users. I may want to save the files to the Windows' downloads ...
1
vote
1answer
3k views

youtube-dl how to download multiple playlists in individual folders

With youtube-dl I can do # Download YouTube playlist videos in separate directory indexed by video order in a playlist $ youtube-dl -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://...
0
votes
1answer
861 views

How to download above 720p video with audio from YouTube?

Starting from 1080p resolution YouTube has separate audio and video tracks. In the following example youtube-dl considers 1280x720 stream (22) as the best because higher resolution video lacks audio ...
0
votes
2answers
80 views

youtube-dl Chocolatey package

youtube-dl on Chocolatey packages When running youtube-dl --version command the output is 2016.06.16. The latest youtube-dl version at the moment is 2017.01.05. At first I thought that the package ...
1
vote
1answer
2k views

youtube-dl - download video from YouTube with subtitles - Tutorial

I downloaded Python and youtube-dl, on my desktop I saved the file yt-dl.py. My goal is to download video with subtitles. I opened cmd, wrote cd Desktop, pressed enter, after I dragged the file yt-dl....
-2
votes
1answer
586 views

Basic commands for Youtube-DL [closed]

So I recently installed youtube-dl for the sole purpose of downloading music. Unfortunately I don't currently have time to learn it. So what i am asking for is a few basic commands that i can use to ...
2
votes
0answers
290 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 ...
4
votes
3answers
11k views

Download an entire YouTube channel with youtube-dl and automatically resume if interrupted

I'm downloading an entire YouTube channel consisting of about 10,000 videos. Sometimes the download stops due to errors like "content too short" or "connection interrupted". However, is there a way to ...
1
vote
3answers
4k views

Save video playing in mpv --ytdl to a file while playing

I would like to be able to play and save a video with mpv --ytdl. How do I got about doing that? What's particularly important is that the buffer gets saved too. Basically, I would like to play a ...