Page 1 of 1
Youtube-dl update?
Posted: Wed Sep 23, 2020 4:23 pm
by TTwrs
Would it be possible to update youtube-dl in the MX-18.3 repo? I believe it may be the cause of problems playing 'some' youtube videos through SMPlayer. Thanks.
Re: Youtube-dl update?
Posted: Thu Sep 24, 2020 2:11 am
by Stevo
Please tell us what version you have installed, plus whether you have looked in our test repository for a newer one.
Re: Youtube-dl update?
Posted: Thu Sep 24, 2020 4:10 pm
by TTwrs
Thanks, Stevo.
Well, after much time down the rabbit hole, it turns out the problem is not with youtube-dl. For live streaming on SMPlayer, mpv is used. I saw somewhere that mpv has problems if compiled to use gnuTLS instead of openssl. Maybe that's the problem in this case, maybe not. But, updating mpv from Test fixes the problem. The problem with using the version from test is it also brings along with it all the latest ffmpeg lib files it needs, for a memory hit of 90M. Ouch!
So, I guess the new question should be: is there an 'in between' update of mpv that will fix the live streaming problem without such an impact.
Re: Youtube-dl update?
Posted: Thu Sep 24, 2020 4:28 pm
by Stevo
Is the newer ffmpeg using 90M more memory or disk space?
We don't maintain "in-between" versions of almost all packages, since they may have security vulnerabilities and would be a nightmare to keep separate in the repos. Mpv does use the system version of youtube-dl to do its downloading, though. MX 17/18's main repo has a rather old version of mpv, I think, though Stretch's is really really old. MX 19's main version is much more recent. We compiled our own mpv versions to support vapoursynth plugins so VP4Linux would work with it.
https://repology.org/project/mpv/versions
Re: Youtube-dl update?
Posted: Thu Sep 24, 2020 6:02 pm
by TTwrs
The newer ffmpeg lib files use 90MB of additional disk space (less when compressed, though I use the least agressive compression for perfomance reasons).
I will probably just need to bite the bullet and do the mpv update. If youtube-dl could be updated for Stretch I would be able to see if that fixes the problem first. Not sure if it will, but there didn't used to be a problem (until, I think, one of the recent youtube-dl updates?).
Thanks.
Re: Youtube-dl update?
Posted: Thu Sep 24, 2020 6:49 pm
by Stevo
Youtube-dl in the MX 17/18 test repo is the same as in the MX 19 test repo right now: 2020.09.06, so it's pretty recent.
Re: Youtube-dl update?
Posted: Sat Sep 26, 2020 11:52 am
by TTwrs
I'm not seeing then newer version in the test repo. The one I an accessing is:
http://la.mxrepo.com/mx/testrepo/
The version it shows is:
1:2020.07.28-1.0antix1
That is what I currently have installed. Is there another test repo I need to use?
Re: Youtube-dl update?
Posted: Sat Sep 26, 2020 12:06 pm
by anticapitalista
It is there:
http://la.mxrepo.com/mx/testrepo/pool/t ... outube-dl/
Have you updated the packages (apt update)?
Re: Youtube-dl update?
Posted: Sat Sep 26, 2020 12:08 pm
by tony37
I had a look and it's not there for MX 18...
Re: Youtube-dl update?
Posted: Sun Sep 27, 2020 12:40 am
by Stevo
I'll fix that tomorrow.
Re: Youtube-dl update?
Posted: Sun Sep 27, 2020 2:42 am
by LiD
And can this be the reason that not all videos from YouTube are played in vlc through the "open url" tab?
Re: Youtube-dl update?
Posted: Sun Sep 27, 2020 2:45 am
by LiD
As for youtube-dl, the default download has not been working on my version of MX18 for a long time. And this is how it works:
Code: Select all
youtube-dl -f 'bestvideo[height<=1080]+bestaudio/best[height<=1080]' https://youtu.be/...
Code: Select all
youtube-dl -f 'bestvideo[height<=720]+bestaudio/best[height<=720]' https://youtu.be/...
Re: Youtube-dl update?
Posted: Mon Sep 28, 2020 1:19 am
by Stevo
Youtube-dl 20.09.14 is now in the main MX 17-19 repos.
VLC uses some internal script to get Youtube URLs, not youtube-dl. They may have a fixed version of the script in a github update, though.
Re: Youtube-dl update?
Posted: Mon Sep 28, 2020 7:13 am
by LiD
Stevo wrote: Mon Sep 28, 2020 1:19 am
Youtube-dl 20.09.14 is now in the main MX 17-19 repos.
This is great!
Thank you very much!
Re: Youtube-dl update?
Posted: Mon Sep 28, 2020 8:24 am
by oops
FI: Not so great this new version of Youtube-dl 20.09.14 , I have now a lot of problems of dependencies. And I can not reinstall smplayer after (and it's worst within my amd64 version, ask to delete chromium, and a lot of softwares if I want this update)
Ex:
Code: Select all
Les paquets suivants ont été complètement supprimés :
youtube-dl
Les paquets suivants ont été supprimés :
smplayer
smplayer-l10n
smplayer-themes
Les paquets suivants ont été installés :
python3-pyxattr (0.6.1-1)
rtmpdump (2.4+20151223.gitfa8646d.1-2)
Re: Youtube-dl update?
Posted: Mon Sep 28, 2020 12:46 pm
by TTwrs
Thanks much for the youtube-dl update, Stevo. Although it works every bit as good as the previous version, it does NOT fix the problem originally reported. But that isn't a surprise since it appears that the real problem has to do with mpv. The problem is resolved after updating that, since it pulls in the latest ffmpeg libraries.
BTW, @oops: I haven't noticed any problems with dependencies or SMPlayer with the latest youtube-dl update.
Re: Youtube-dl update?
Posted: Mon Sep 28, 2020 3:49 pm
by oops
TTwrs wrote: Mon Sep 28, 2020 12:46 pm
... BTW, @oops: I haven't noticed any problems with dependencies or SMPlayer with the latest youtube-dl update.
Strange, maybe because I also have some MXPI tests libraries up to date ?
Re: Youtube-dl update?
Posted: Mon Sep 28, 2020 3:53 pm
by anticapitalista
oops wrote: Mon Sep 28, 2020 3:49 pm
Strange, maybe because I also have some MXPI tests libraries up to date ?
Almost certainly the cause.
Re: Youtube-dl update?
Posted: Mon Sep 28, 2020 5:13 pm
by oops
... Yes , it's the case, so I keep my old youtube.dll ... thanks @anticapitalista
Edit: FI solved by doing:
# Under synaptic
synaptic-pkexec
remove smplayer
remove youtube.dl
# Under MXPI:
su-to-root -x -c mx-packageinstaller &
install youtube.dl MXPI tab tests
# Under synaptic
install smplayer