Questions tagged [youtube-dl]
youtube-dl is a command-line program to download videos from YouTube.com and a few more sites.
68
questions
0
votes
0
answers
25
views
ytp-dlp with external downloader has black frames
I have the following fish shell script for downloading a slice of a video using yt-dlp and ffmpeg
function yt-dlp-trim -d "Download a slice of a video with yt-dlp"
if test (count $argv) ...
1
vote
1
answer
43
views
what starts youtube-dl automatically in linux?
In the last two days, I've noticed that something starts youtube-dl when I start my system (Debian 11); it seems to be as soon as I login. The reason I noticed is that it steals all resources and I ...
0
votes
2
answers
150
views
"Unsupported URL: https://www.youtube.com/"
How to grab a youtube video if youtube-dl reports "ERROR: Unsupported URL: https://www.youtube.com/"?
Complete error:
[generic] watch?app=desktop: Requesting header
[redirect] Following ...
2
votes
1
answer
35
views
Separate the "youtube-dl -g" results
I am using the following command:
youtube-dl -g "video-url" > file-path
and I want to separate the two results into two different files; how would I do this?
2
votes
1
answer
174
views
How to list chapters titles from a YouTube video using youtube-dl
Some YouTube content creators split their videos into chapters. A subset of them kindly offer the list of chapters titles on description video, with their starting timestamp. Sometimes they decide not ...
0
votes
1
answer
556
views
Download and sort list of all videos from a youtube channel with youtube-dl
I want to download a list of all videos of a youtube channel and sort it by duration. Here is what I tried with youtube-dl resp. yt-dlp:
yt-dlp --skip-download "url_to_channel" --get-...
-3
votes
2
answers
50
views
Youtube on Linux
I downloaded youtube_dl and found it where it is on my C drive - being a New User for Linux Mint Cinnamon I do not know how to Run the youtube_dl to DOWNLOAD Songs etc. like I did on Realplayer in the ...
0
votes
1
answer
257
views
youtube-dl — optimizing transcoded videos with regard to file size
When I use youtube-dl, I use --recode-video mp4 to ensure output to MP4 (as well as -f bestvideo[height<=1080]+bestaudio/best[height<=1080]/best to limit downloads to 1080p resolution, max). So, ...
0
votes
1
answer
574
views
With youtube-dl how to download all videos before a specific date more efficiently?
I want to downloand all videos by a specific YouTube channel uploaded before a specific date with youtube-dl. Hence, I did youtube-dl <url_to_youtube_channel> --datebefore <date>. Before ...
1
vote
1
answer
727
views
What is the right way to set header in the youtube-dl config file
I checked the documentation:
--add-header FIELD:VALUE Specify a custom HTTP header and its value,
separated by a colon ':'. You can use this
...
0
votes
1
answer
1k
views
Output file #0 does not contain any stream [duplicate]
ffmpeg $(youtube-dl -g 'https://www.youtube.com/watch?v=zSyNOO_gvUY' | sed "s/.*/-ss 02:04 -i &/") -t 02:18 -c copy out.mkv
from How to download portion of video with youtube-dl command?
...
0
votes
0
answers
41
views
download part of video up to certain resolution
This command will download part of the video
youtube-dl -g "https://www.youtube.com/watch?v=mFlrc16xjik" | awk '{ if(NR==1) print $0 }' | sed "s/^/'/;s/$/'/" | xargs -I {} ffmpeg -...
1
vote
0
answers
42
views
youtube-dl with replay of live events
I used youtube-dl to get a live event. The result is a file of over 3 GB that plays on VLC and Quicktime in 5 seconds and skims over the several hours of footage.
How can I download a live event onto ...
0
votes
3
answers
8k
views
How can you download 4k youtube videos in mp4 using youtube-dl?
I have observed that the size of mp4 videos are larger than webm for a same resolution video. Which makes me wonder that either there is some quality loss or compression in webm.
youtube-dl -F url
...
0
votes
0
answers
9k
views
youtube-dl error -- YouTube said: Unable to extract video data
My youtube-dl is the latest version:
youtube-dl --version
2020.07.28
I found that some url can be downloaded, some can't.
#url which can be downloaded
url='https://www.youtube.com/watch?v=5dZ_lvDgevk'...
3
votes
2
answers
2k
views
How do I get the path of the downloaded Youtube-DL file?
I have designed a script to easily and quickly download videos from YouTube that uses options at the end to ask if you want to download another.
Here's my script:
#!/bin/bash
cd ~/Videos
read -p &...
0
votes
1
answer
3k
views
Watch and download video from YouTube with MPV only
I watch YouTube videos by piping URLs to mpv. Sometimes I would like to keep the video file after having watching it; just like if I had downloaded it with youtube-dl. I was wondering if there is a ...
0
votes
1
answer
2k
views
"Not a valid identifier" on file read
In a Putty remote connection, I am trying to read a file line by line, cut each line by delimiter (";"), and run a command if the variables satisfy a condition. However, I get "not a valid identifier" ...
0
votes
1
answer
64
views
Most efficient way to partially match filenames to textfile and delete accordingly?
I have a file that has about 1000 entries that look like this:
...
U9FzgsF2T-s
...
Basicly full of youtube video ids. Then I have a folder that is full of videos that are named like this:
007 - ...
-2
votes
1
answer
542
views
Youtube-dl fails on youtube and works on other sites
I started having this issue a few days ago: youtube-dl no longer works for links to YouTube, but works fine for other sites such as Instagram:
$ youtube-dl https://www.instagram.com/p/B47c667AKPo/
[...
3
votes
1
answer
1k
views
How to execute a script after a youtube-dl download is finished?
I would like to execute a script via youtube-dl's own options/settings/adjustments after a download is finished.
Reading through the documentation, I have not found anything that is relevant or ...
0
votes
0
answers
52
views
Upload video given youtube-dl's .json
I have downloaded some public domain videos using youtube-dl --write-info-json.
Is there a tool to upload the videos to another site (Minds/Peer-Tube/Vimeo/Bitchute/or similar) and have most of the ...
0
votes
1
answer
337
views
Automaticly download and update youtube playlist
I am using youtube-dl to download my music playlist.
Theres only one problem: youtube-dl doesn't realize which videos it has already downloaded, so it simply redownloads every single video. I would ...
0
votes
1
answer
238
views
How to set bitrate for ffmpeg's native Opus encoder using youtube-dl?
I don't have libopus library. According to ffmpeg docs
there is have basic control over bitrate settings.
Passing params to ffmpeg with -postprocessor-args ARGS.
--no-check-certificate --prefer-...
3
votes
1
answer
2k
views
way to transform vtt, ttml, srv3, srv2 or srv1 insto srt?
When I use youtube-dl to list-subs I usualy get something like the following -
en vtt, ttml, srv3, srv2, srv1
Is there a way to transform any of these subtitle formats to .srt format using ...
0
votes
1
answer
916
views
How to get a specific configuration in youtube-dl?
I want to make the following as my best parameter to youtube-dl to consider while downloading a media file.
/media/$ youtube-dl -c -f youtube-dl 'bestvideo[height<=720]+bestaudio/best[height<=...
9
votes
2
answers
10k
views
How can I download just the info-json files using youtube-dl, without downloading the actual video?
I'm a novice data hoarder, and have a few hundred videos archived from YouTube, using the following youtube-dl config file:
-i
-o "%(uploader)s (%(uploader_id)s)/%(upload_date)s - %(title)s - (%(...
0
votes
1
answer
190
views
youtube-dl : how to skip downloads lower than 480p resolution?
When using the popular program youtube-dl, how can I skip download of certain videos, particularly ones that have a lower quality than 480p resolution?
1
vote
1
answer
3k
views
youtube-dl 'Filename too long' error
I am storing a url inside a variable in bash. It has nothing to do with real file paths but it keeps giving me the error File name too long.
How do I tell bash to ignore looking for filenames and ...
0
votes
2
answers
84
views
Phantom binary installed with curl
I upgraded binary youtube-dl following this instruction. locate seems to find it, not ls, and it cannot be invoked. What is happening?
/usr/bin $ sudo apt-get remove youtube-dl
/usr/bin $ sudo curl -...
3
votes
2
answers
329
views
How to list all files less than 1080p
There are a number of Youtube channels that I archive using a daily cron script that runs youtube-dl. However, in checking over the videos to make sure my script is working, I noticed for one of the ...
2
votes
1
answer
1k
views
youtube-dl, how to write all subs of a youtube playlist to ONE single file?
I'm on Fedora 28 OS and have youtube-dl version 2019.03.18 and I wanted to download all the subs and only the subs of a Crashcourse playlist off of youtube, consisting of 45 videos.
I want all the ...
1
vote
1
answer
2k
views
Download error with youtube-dl and axel
I am trying to download following video:
https://www.youtube.com/watch?v=pQWj2Fgxdrc
by combining 'youtube-dl' and 'axel'. I am trying to download this video in such a way that I want these two ...
-1
votes
1
answer
44
views
Grab last youtube video index and re-download .description
after I had download youtube videos with youtube-dl -cit -f 140 ' , I forget to download the .description as well... so I have bunch of files without description, I want to redownload the description ...
6
votes
1
answer
7k
views
Combining youtube-dl and VLC without a pipe
youtube-dl -o - <webpage> | vlc - shows a video in VLC. However, the video is piped (through something like fd://0), which inhibits the possibility to jump forwards/backwards.
However, youtube-...
4
votes
4
answers
5k
views
CLI utility to search and view/download YouTube videos
Is there a utility that can search YouTube from the command line, and then either view or download the search results according to user input?
$ youtube-search madonna
1 Madonna - Hung Up (Official ...
3
votes
2
answers
2k
views
How do I embed a JPG thumbnail to a ogg/opus audio file with a script?
I am using youtube-dl to download ogg audio files with their respective thumbnail, but I am not sure how to embed the thumbnail into the audio file.
0
votes
1
answer
2k
views
How to queue up videos or media using mpv?
In particular I'd like a command for mpv that will automatically play youtube links I add in order. For example, at a party I might want to queue up songs as we think of them, and have them ...
9
votes
1
answer
6k
views
youtube-dl download autotranslate subs
I would like to download auto-generated subtitles with youtube-dl
as follows
$ youtube-dl --write-auto-sub \
--skip-download \
https://www.youtube.com/watch?v=vbLEf4HR74E
It ...
0
votes
1
answer
175
views
Why Windows download under VirtualBox is 20x faster than in native Linux? [closed]
I'm using Linux Debian Jessie 64-bit (Host), and have Windows 7 (Guest) running on Oracle VirtualBox. I'm using youtube-dl to download a video from YouTube. Since a friend asked me how to use it and ...
1
vote
1
answer
1k
views
Ffmpeg - youtube-dl
I have try to use ffmpeg to download youtube media in mp3.
ffmpeg -i <url> -f mp3 output.mp3
It's working with other urls, but not with youtube-dl retrived youtube video urls. Ffmpeg returns ...
-5
votes
1
answer
608
views
Downloading a playlist youtube-dl
I have been trying to use this command on mac:
youtube-dl "link" ffmpeg -i Lec*.mp4 -map_channel 0.1.1 -ac 1 -vcodec copy fixed.mp4
to download a playlist which has some audio cut off but I keep on ...
1
vote
2
answers
1k
views
EOF error when using youtube-dl
I am currently trying to download a youtube video as usual with youtube-dl but keep getting a strange EOF error. When I check my download folder i have the download file split into various parts one ...
3
votes
1
answer
11k
views
How to download the highest quality .mp3 with youtube-dl on Sierra?
I'm trying to use youtube-dl to download the highest quality .mp3 files from youtube videos. I've installed youtube-dl and ffmpeg and downloaded libav.
I found this command:
youtube-dl -f bestaudio ...
0
votes
0
answers
678
views
youtube-dl delete files that are no longer in a playlist
I have a watch later playlist on YouTube. I both add videos to it and remove watched ones constantly. I use
youtube-dl <playlist_url>
to download the entire playlist into a current folder. The ...
4
votes
1
answer
4k
views
youtube-dl and --no-mtime what does it mean?
I was looking at youtube-dl documentation and it says - -
-no-mtime Do not use the Last-modified header to set
the file modification time
Can ...
7
votes
2
answers
10k
views
how to download with youtube-dl without merging
How can I disable audio and video merging in youtube-dl? In other words, how do I force youtube-dl to download a single incrementally playable video?
The problem with separate audio and video files ...
0
votes
1
answer
630
views
Print youtube video id to file from mpv stdout
Here's part of my script:
mpv https://www.youtube.com/playlist?list=PLNQL50H--29oy5MOaxEVjcxhX-5Vvskji --shuffle --no-video --input-file=~/.config/mpv/mpv-fifo > data.txt
Here's an example of ...
2
votes
1
answer
2k
views
How do i download videos which have duration more than certain time( like 10 minutes ) from youtube playlist using youtube-dl? [closed]
I want to download the videos which are more than 10 minutes from
youtube playlist
1
vote
1
answer
2k
views
youtube-dl not downloading the whole playlist [closed]
Youtube-dl not downloading the whole playlist even though I give the link to a playlist. It downloads and stops after one video. Here are the exact commands I used.
youtube-dl --version
2017.05.09
...