Error Messages When Using YouTube DL
Forum rules
Before you post please read how to get help
Before you post please read how to get help
-
- Level 4
- Posts: 273
- Joined: Wed May 06, 2020 12:19 am
Error Messages When Using YouTube DL
Every so often when I'm using YouTube DL, one of the videos will stop dead in it's tracks and will list "error" under it's status. While restarting the download sometimes helps, there are other times when it doesn't. Just now, I tried closing out YTDL, bringing it back up again, and restarting the download, but that didn't work either.
Last edited by SpongebobFan1994 on Wed Aug 05, 2020 3:29 pm, edited 2 times in total.
- kukamuumuka
- Level 16
- Posts: 6730
- Joined: Tue Sep 03, 2013 4:51 am
- Location: Finland
- Contact:
Re: Error Messages When Using YouTube DL
Have you upgraded
https://ytdl-org.github.io/youtube-dl/download.html
youtube-dl
?
Code: Select all
sudo youtube-dl -U
-
- Level 11
- Posts: 3721
- Joined: Tue Feb 21, 2017 8:13 pm
- Location: Alamogordo, New Mexico, USA
Re: Error Messages When Using YouTube DL
I do not use youtube-dl i use "clipgrab"...works flawlessly...DAMIEN
https://clipgrab.org/
https://clipgrab.org/support
https://clipgrab.org/
https://clipgrab.org/support
ORDO AB CHAO
"I refuse to be assimilated, I refuse to become one with the Borg Collective"
"I refuse to be assimilated, I refuse to become one with the Borg Collective"
-
- Level 4
- Posts: 273
- Joined: Wed May 06, 2020 12:19 am
Re: Error Messages When Using YouTube DL
I upgraded it just now, and while I managed to get some videos redownloaded, others still end up with error messageskukamuumuka wrote: ↑Wed Aug 05, 2020 1:08 pmHave you upgradedyoutube-dl
?https://ytdl-org.github.io/youtube-dl/download.htmlCode: Select all
sudo youtube-dl -U
-
- Level 4
- Posts: 273
- Joined: Wed May 06, 2020 12:19 am
Re: Error Messages When Using YouTube DL
I'll try that and see how it is in comparisonDAMIEN1307 wrote: ↑Wed Aug 05, 2020 1:28 pmI do not use youtube-dl i use "clipgrab"...works flawlessly...DAMIEN
https://clipgrab.org/
https://clipgrab.org/support
Re: Error Messages When Using YouTube DL
Check your version: if you installed thru the "software manager" or the rest of the package system, you'll have an old version.
Code: Select all
youtube-dl --version
2020.07.28
If it doesn't return that, remove your installed version and then install
youtube-dl
from the instructions on their website.Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
-
- Level 4
- Posts: 273
- Joined: Wed May 06, 2020 12:19 am
Re: Error Messages When Using YouTube DL
Actually, it does sayFlemur wrote: ↑Wed Aug 05, 2020 3:38 pmCheck your version: if you installed thru the "software manager" or the rest of the package system, you'll have an old version.
should returnCode: Select all
youtube-dl --version
2020.07.28
If it doesn't return that, remove your installed version and then installyoutube-dl
from the instructions on their website.
Code: Select all
2020.07.28
- nicolaasjan
- Level 1
- Posts: 40
- Joined: Sun Sep 23, 2012 2:26 pm
- Location: The Netherlands
Re: Error Messages When Using YouTube DL
At the moment there is an open issue about youtube-dl not handling restricted video's on YouTube.
See: https://github.com/ytdl-org/youtube-dl/issues/26152
Could that be your issue as well?
I have applied the - not yet implemented - fix to the source code and then compiled youtube-dl and that worked for the case mentioned above.
Otherwise you can always open an issue at:
https://github.com/ytdl-org/youtube-dl/issues.
Linux Mint 19.3 Mate
-
- Level 4
- Posts: 273
- Joined: Wed May 06, 2020 12:19 am
Re: Error Messages When Using YouTube DL
None of the videos I've tried to download are restricted, so it can't be anything related to thatnicolaasjan wrote: ↑Thu Aug 06, 2020 10:36 amAt the moment there is an open issue about youtube-dl not handling restricted video's on YouTube.
See: https://github.com/ytdl-org/youtube-dl/issues/26152
Could that be your issue as well?
I have applied the - not yet implemented - fix to the source code and then compiled youtube-dl and that worked for the case mentioned above.
Otherwise you can always open an issue at:
https://github.com/ytdl-org/youtube-dl/issues.
- nicolaasjan
- Level 1
- Posts: 40
- Joined: Sun Sep 23, 2012 2:26 pm
- Location: The Netherlands
Re: Error Messages When Using YouTube DL
1. Do you haveSpongebobFan1994 wrote: ↑Thu Aug 06, 2020 11:08 am
None of the videos I've tried to download are restricted, so it can't be anything related to that
ffmpeg
(or avconv
) and ffprobe
(or avprobe
) installed?2. If you're using Linux Mint 20, then be aware that
python2
is no longer installed by default (youtube-dl uses that by default, but can use python3
as well, if told so).See also here.
The easiest way of solving that, is by making an alias in the file
.bash_aliases
in the /home
folder:
Code: Select all
alias youtube-dl='python3 /usr/local/bin/youtube-dl'
Then I can see if it fails here or not.

Linux Mint 19.3 Mate
Re: Error Messages When Using YouTube DL
Do you use VPN?
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
- Level 4
- Posts: 273
- Joined: Wed May 06, 2020 12:19 am
Re: Error Messages When Using YouTube DL
1) I just installed ffmpeg, but ffprobe wasn't listed in software manager. Do I need both?nicolaasjan wrote: ↑Thu Aug 06, 2020 12:26 pm1. Do you haveSpongebobFan1994 wrote: ↑Thu Aug 06, 2020 11:08 am
None of the videos I've tried to download are restricted, so it can't be anything related to thatffmpeg
(oravconv
) andffprobe
(oravprobe
) installed?
2. If you're using Linux Mint 20, then be aware thatpython2
is no longer installed by default (youtube-dl uses that by default, but can usepython3
as well, if told so).
See also here.
The easiest way of solving that, is by making an alias in the file.bash_aliases
in the/home
folder:And could you provide us a link to one of the failing video's?Code: Select all
alias youtube-dl='python3 /usr/local/bin/youtube-dl'
Then I can see if it fails here or not.![]()
2) I'm currently running 19.3
3) Here's one of the links: https://invidio.us/watch?v=v-WmQ-ebwxM. Because of YouTube has clearly fallen from grace, I now use alternative YouTube players, such as Invidious or HookTube. I'm not sure if those have something to do with this problem or not.
Re: Error Messages When Using YouTube DL
Code: Select all
[brian@BG-T440-MANJARO Downloads] $ youtube-dl https://invidio.us/watch?v=v-WmQ-ebwxM
[youtube] v-WmQ-ebwxM: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: Zombieland 2 is a Lazy, Unfunny, Cash Grab! - Junk Film Review-v-WmQ-ebwxM.f137.mp4
[download] 100% of 357.40MiB in 00:44
[download] Destination: Zombieland 2 is a Lazy, Unfunny, Cash Grab! - Junk Film Review-v-WmQ-ebwxM.f251.webm
[download] 100% of 27.79MiB in 00:03
[ffmpeg] Merging formats into "Zombieland 2 is a Lazy, Unfunny, Cash Grab! - Junk Film Review-v-WmQ-ebwxM.mkv"
Deleting original file Zombieland 2 is a Lazy, Unfunny, Cash Grab! - Junk Film Review-v-WmQ-ebwxM.f137.mp4 (pass -k to keep)
Deleting original file Zombieland 2 is a Lazy, Unfunny, Cash Grab! - Junk Film Review-v-WmQ-ebwxM.f251.webm (pass -k to keep)
[brian@BG-T440-MANJARO Downloads] $ youtube-dl --version
2020.06.16.1
Code: Select all
[brian@BG-T440-MANJARO Downloads] $ sudo youtube-dl -U
[sudo] password for brian:
Updating to version 2020.07.28 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
Code: Select all
[brian@BG-T440-MANJARO Downloads] $ youtube-dl https://invidio.us/watch?v=v-WmQ-ebwxM -o updatetest.mp4
[youtube] v-WmQ-ebwxM: Downloading webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: updatetest.f137.mp4
[download] 100% of 357.40MiB in 00:48
[download] Destination: updatetest.mp4.f251
[download] 100% of 27.79MiB in 00:03
[ffmpeg] Merging formats into "updatetest.mkv"
Deleting original file updatetest.f137.mp4 (pass -k to keep)
Deleting original file updatetest.mp4.f251 (pass -k to keep)

This is just a FYI (for your information) and I will be testing this on a Mint system or two today to attempt to determine if it's a problem with that or something specific to your setup. I suspect the latter, due to it working on some content for you.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 8GB - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...
- nicolaasjan
- Level 1
- Posts: 40
- Joined: Sun Sep 23, 2012 2:26 pm
- Location: The Netherlands
Re: Error Messages When Using YouTube DL
Info about ffmpeg in Synaptic package manager:SpongebobFan1994 wrote: ↑Thu Aug 06, 2020 3:18 pm
1) I just installed ffmpeg, but ffprobe wasn't listed in software manager. Do I need both?
2) I'm currently running 19.3
3) Here's one of the links: https://invidio.us/watch?v=v-WmQ-ebwxM. Because of YouTube has clearly fallen from grace, I now use alternative YouTube players, such as Invidious or HookTube. I'm not sure if those have something to do with this problem or not.
Code: Select all
FFmpeg is the leading multimedia framework, able to decode, encode, transcode,
mux, demux, stream, filter and play pretty much anything that humans and
machines have created. It supports the most obscure ancient formats up to the
cutting edge.
This package contains:
* ffmpeg: a command line tool to convert multimedia files between formats
* ffserver: a multimedia streaming server for live broadcasts
* ffplay: a simple media player based on SDL and the FFmpeg libraries
* ffprobe: a simple multimedia stream analyzer
* qt-faststart: a utility to rearrange Quicktime files
ffprobe
will be included. 
https://invidio.us/watch?v=v-WmQ-ebwxM downloads fine here.
I run 19.3 as well.
But I have the alias for the youtube-dl command in
.bash_aliases
to let it use python3
:
Code: Select all
alias youtube-dl='python3 /usr/local/bin/youtube-dl'
Code: Select all
youtube-dl -v https://invidio.us/watch?v=v-WmQ-ebwxM
Linux Mint 19.3 Mate