request update of yt-dlp  [Solved]

Message
Author
User avatar
MikeR
Posts: 265
Joined: Sun Jun 25, 2023 6:42 am

request update of yt-dlp

#1 Post by MikeR »

Current version: stable@2025.06.30 from yt-dlp/yt-dlp
Latest version: stable@2025.08.20 from yt-dlp/yt-dlp

Current version fails with some downloads, while newer version succeeds.
Not urgent, nice to have
Thanks,
Mike
Old RSTS hack
Registered Linux user #542196

User avatar
AVLinux
Posts: 3188
Joined: Wed Jul 15, 2020 1:15 am

Re: request update of yt-dlp

#2 Post by AVLinux »

Agree,

Unfortunately almost needs packaging every 6 weeks or so... what a PITA!

Would yt-dlp be a candidate for some of that slippery MXPI stuff where you wget/grab a binary from the developer site and install that somewhere/somehow? Rather than having to create a whole new Deb so often..?

BV206
Posts: 586
Joined: Sat Mar 09, 2019 10:55 am

Re: request update of yt-dlp

#3 Post by BV206 »

There is a couple ways around this depending on how you use yt-dlp and if your computer has multiple user accounts.

Sometimes yt-dlp is a dependency of other programs. Those will install the old MX or Debian repo version (and any depenenceis yt-dlp needs). You can download yt-dlp executable from Gitbub (https://github.com/yt-dlp/yt-dlp) yourself and replace the installed version in /usr/bin with that (copy it as sudo/root). Then when a new version is released you can do "sudo yt-dlp -U" in a terminal and it will update itself. That seems to work for me but the only problem is if the repo version changes it will upgrade and you will have to manually install it again.

You can install SMPlayer. It can get the latest yt-dlp from Github and saves it in your ~/bin or ~/.local/bin folder which should be in your path so other programs may be able to use it.

User avatar
Mauser
Posts: 1507
Joined: Mon Jun 27, 2016 7:32 pm

Re: request update of yt-dlp

#4 Post by Mauser »

That yt-dlp is more trouble than you can shake a stick at because it keeps on breaking ClipGrab due to yt-dlp requiring frequent updates in order to get ClipGrab to work. :rolleyes:
I am command line illiterate. :confused: I copy & paste to the terminal. Liars, Wiseguys, Trolls, and those without manners will be added to my ignore list. :mad:

User avatar
DukeComposed
Posts: 1506
Joined: Thu Mar 16, 2023 1:57 pm

Re: request update of yt-dlp

#5 Post by DukeComposed »

Mauser wrote: Thu Aug 21, 2025 3:02 pm That yt-dlp is more trouble than you can shake a stick at because it keeps on breaking ClipGrab due to yt-dlp requiring frequent updates
Let's be honest with ourselves here. It's not yt-dlp setting the update schedule. yt-dlp gets updated so often because of frequent actions taken by Google to break YouTube's compatibility with it.

User avatar
siamhie
Global Moderator
Posts: 3779
Joined: Fri Aug 20, 2021 5:45 pm

Re: request update of yt-dlp

#6 Post by siamhie »

Mauser wrote: Thu Aug 21, 2025 3:02 pm That yt-dlp is more trouble than you can shake a stick at because it keeps on breaking ClipGrab due to yt-dlp requiring frequent updates in order to get ClipGrab to work. :rolleyes:
ClipGrab downloads it's own version of yt-dlp and stores it in ~/.local/share/ClipGrab/ClipGrab.

CG.jpg
You do not have the required permissions to view the files attached to this post.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
jeffreyC
Posts: 541
Joined: Mon May 27, 2019 10:39 am

Re: request update of yt-dlp

#7 Post by jeffreyC »

I do not even have yt-dlp installed as a .deb because of their rapid release cycle resulting from the attempts to block it.
ClipGrab updates yt-dlp from their GitHub when there is a new release, as needed.
Debian packagers do not keep up, and it would be an unnecessary load on MX packagers.

User avatar
RedGreen925
Posts: 49
Joined: Sat Feb 01, 2025 3:21 pm

Re: request update of yt-dlp

#8 Post by RedGreen925 »

Grab a copy of it put it in a directory in your path and update it any time it needs from the command line. It updates itself perfectly fine doing this, my output from yesterday doing it.

Code: Select all

zeus@9600k:~/bin$ ./yt-dlp -U
Current version: stable@2025.08.11 from yt-dlp/yt-dlp
Latest version: stable@2025.08.20 from yt-dlp/yt-dlp
Current Build Hash: 940c36fad9001cbbd050cc8c113a4a3db69beeef2469e577adddcf16ee71d5c5
Updating to stable@2025.08.20 from yt-dlp/yt-dlp ...
Updated yt-dlp to stable@2025.08.20 from yt-dlp/yt-dlp

User avatar
AVLinux
Posts: 3188
Joined: Wed Jul 15, 2020 1:15 am

Re: request update of yt-dlp

#9 Post by AVLinux »

RedGreen925 wrote: Thu Aug 21, 2025 6:32 pm Grab a copy of it put it in a directory in your path and update it any time it needs from the command line. It updates itself perfectly fine doing this, my output from yesterday doing it.

Code: Select all

zeus@9600k:~/bin$ ./yt-dlp -U
Current version: stable@2025.08.11 from yt-dlp/yt-dlp
Latest version: stable@2025.08.20 from yt-dlp/yt-dlp
Current Build Hash: 940c36fad9001cbbd050cc8c113a4a3db69beeef2469e577adddcf16ee71d5c5
Updating to stable@2025.08.20 from yt-dlp/yt-dlp ...
Updated yt-dlp to stable@2025.08.20 from yt-dlp/yt-dlp
Nice tip, will give it a whirl..

User avatar
siamhie
Global Moderator
Posts: 3779
Joined: Fri Aug 20, 2021 5:45 pm

Re: request update of yt-dlp

#10 Post by siamhie »

When I have problems with clipgrab crashing after pasting an URL, I'll open a terminal and use yt-dlp instead.

Here's an example. Clipgrab closes when I paste this URL in.

Watch the moment an A Line train crashes into semi in Aurora
https://www.youtube.com/watch?v=jYaAkktsotE

When I check it out the information from the terminal, I get this.

Code: Select all

yt-dlp -F https://www.youtube.com/watch?v=jYaAkktsotE
[youtube] Extracting URL: https://www.youtube.com/watch?v=jYaAkktsotE
[youtube] jYaAkktsotE: Downloading webpage
[youtube] jYaAkktsotE: Downloading tv client config
[youtube] jYaAkktsotE: Downloading tv player API JSON
[youtube] jYaAkktsotE: Downloading ios player API JSON
[youtube] jYaAkktsotE: Downloading m3u8 information
[info] Available formats for jYaAkktsotE:
ID      EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR ASR MORE INFO
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb3     mhtml 48x27        1    │                  mhtml │ images                                  storyboard
sb2     mhtml 80x45        1    │                  mhtml │ images                                  storyboard
sb1     mhtml 160x90       1    │                  mhtml │ images                                  storyboard
sb0     mhtml 320x180      1    │                  mhtml │ images                                  storyboard
233     mp4   audio only        │                  m3u8  │ audio only          unknown             Untested, Default, low
234     mp4   audio only        │                  m3u8  │ audio only          unknown             Untested, Default, high
249-drc webm  audio only      2 │  536.21KiB   47k https │ audio only          opus        47k 48k low, DRC, webm_dash
250-drc webm  audio only      2 │  703.97KiB   61k https │ audio only          opus        61k 48k low, DRC, webm_dash
249     webm  audio only      2 │  163.67KiB   14k https │ audio only          opus        14k 48k low, webm_dash
250     webm  audio only      2 │  677.77KiB   59k https │ audio only          opus        59k 48k low, webm_dash
140-drc m4a   audio only      2 │    1.45MiB  130k https │ audio only          mp4a.40.2  130k 44k medium, DRC, m4a_dash
251-drc webm  audio only      2 │    1.39MiB  124k https │ audio only          opus       124k 48k medium, DRC, webm_dash
140     m4a   audio only      2 │    1.45MiB  130k https │ audio only          mp4a.40.2  130k 44k medium, m4a_dash
251     webm  audio only      2 │    1.29MiB  116k https │ audio only          opus       116k 48k medium, webm_dash
602     mp4   256x144     15    │ ~930.17KiB   81k m3u8  │ vp09.00.10.08   81k video only          Untested
269     mp4   256x144     30    │ ~  1.69MiB  150k m3u8  │ avc1.4D400C    150k video only          Untested
160     mp4   256x144     30    │  552.17KiB   48k https │ avc1.4d400c     48k video only          144p, mp4_dash
603     mp4   256x144     30    │ ~  1.72MiB  153k m3u8  │ vp09.00.11.08  153k video only          Untested
278     webm  256x144     30    │  829.20KiB   72k https │ vp9             72k video only          144p, webm_dash
394     mp4   256x144     30    │  759.62KiB   66k https │ av01.0.00M.08   66k video only          144p, mp4_dash
229     mp4   426x240     30    │ ~  3.15MiB  281k m3u8  │ avc1.4D4015    281k video only          Untested
133     mp4   426x240     30    │    1.35MiB  121k https │ avc1.4d4015    121k video only          240p, mp4_dash
604     mp4   426x240     30    │ ~  2.82MiB  252k m3u8  │ vp09.00.20.08  252k video only          Untested
242     webm  426x240     30    │    1.60MiB  143k https │ vp9            143k video only          240p, webm_dash
395     mp4   426x240     30    │    1.68MiB  150k https │ av01.0.00M.08  150k video only          240p, mp4_dash
230     mp4   640x360     30    │ ~  6.45MiB  576k m3u8  │ avc1.4D401E    576k video only          Untested
134     mp4   640x360     30    │    2.77MiB  248k https │ avc1.4d401e    248k video only          360p, mp4_dash
18      mp4   640x360     30  2 │    6.64MiB  593k https │ avc1.42001E         mp4a.40.2       44k 360p
605     mp4   640x360     30    │ ~  6.16MiB  550k m3u8  │ vp09.00.21.08  550k video only          Untested
243     webm  640x360     30    │    3.24MiB  289k https │ vp9            289k video only          360p, webm_dash
396     mp4   640x360     30    │    3.70MiB  331k https │ av01.0.01M.08  331k video only          360p, mp4_dash
231     mp4   854x480     30    │ ~  9.55MiB  852k m3u8  │ avc1.4D401F    852k video only          Untested
135     mp4   854x480     30    │    4.63MiB  415k https │ avc1.4d401f    415k video only          480p, mp4_dash
606     mp4   854x480     30    │ ~  8.99MiB  802k m3u8  │ vp09.00.30.08  802k video only          Untested
244     webm  854x480     30    │    5.08MiB  455k https │ vp9            455k video only          480p, webm_dash
397     mp4   854x480     30    │    6.68MiB  598k https │ av01.0.04M.08  598k video only          480p, mp4_dash
232     mp4   1280x720    30    │ ~ 13.70MiB 1223k m3u8  │ avc1.4D401F   1223k video only          Untested
136     mp4   1280x720    30    │    7.12MiB  637k https │ avc1.4d401f    637k video only          720p, mp4_dash
609     mp4   1280x720    30    │ ~ 16.79MiB 1499k m3u8  │ vp09.00.31.08 1499k video only          Untested
247     webm  1280x720    30    │    9.21MiB  824k https │ vp9            824k video only          720p, webm_dash
398     mp4   1280x720    30    │   12.17MiB 1089k https │ av01.0.05M.08 1089k video only          720p, mp4_dash
270     mp4   1920x1080   30    │ ~ 52.49MiB 4685k m3u8  │ avc1.640028   4685k video only          Untested
137     mp4   1920x1080   30    │   32.11MiB 2872k https │ avc1.640028   2872k video only          1080p, mp4_dash
614     mp4   1920x1080   30    │ ~ 31.62MiB 2821k m3u8  │ vp09.00.40.08 2821k video only          Untested
248     webm  1920x1080   30    │   19.46MiB 1741k https │ vp9           1741k video only          1080p, webm_dash
399     mp4   1920x1080   30    │   22.68MiB 2029k https │ av01.0.08M.08 2029k video only          1080p, mp4_dash
616     mp4   1920x1080   30    │ ~ 63.72MiB 5687k m3u8  │ vp09.00.40.08 5687k video only          Untested, Premium

Now all I do is select the video number and the audio number from the output to get the video. In this case I selected 399 for the video and 234 for the audio.

Code: Select all

yt-dlp -f 399+234 https://www.youtube.com/watch?v=jYaAkktsotE
[youtube] Extracting URL: https://www.youtube.com/watch?v=jYaAkktsotE
[youtube] jYaAkktsotE: Downloading webpage
[youtube] jYaAkktsotE: Downloading tv client config
[youtube] jYaAkktsotE: Downloading tv player API JSON
[youtube] jYaAkktsotE: Downloading ios player API JSON
[youtube] jYaAkktsotE: Downloading m3u8 information
[info] Testing format 234
[info] jYaAkktsotE: Downloading 1 format(s): 399+234
[download] Destination: Watch the moment an A Line train crashes into semi in Aurora [jYaAkktsotE].f399.mp4
[download] 100% of   22.68MiB in 00:00:00 at 23.75MiB/s
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 17
[download] Destination: Watch the moment an A Line train crashes into semi in Aurora [jYaAkktsotE].f234.mp4
[download] 100% of    1.46MiB in 00:00:01 at 1.24MiB/s
[Merger] Merging formats into "Watch the moment an A Line train crashes into semi in Aurora [jYaAkktsotE].mp4"
Deleting original file Watch the moment an A Line train crashes into semi in Aurora [jYaAkktsotE].f234.mp4 (pass -k to keep)
Deleting original file Watch the moment an A Line train crashes into semi in Aurora [jYaAkktsotE].f399.mp4 (pass -k to keep)
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

Post Reply

Return to “Package Requests - MX-23”