Forum › Forums › New users › New Users and General Questions › mpv package updates
- This topic has 8 replies, 3 voices, and was last updated Oct 29-4:57 pm by olsztyn.
-
AuthorPosts
-
October 29, 2021 at 1:11 pm #69723Member
blur13
Hi!
I’m curios what the procedure is with regard to package updates. Specifically regarding mpv, but the general process would also be of interest.
Antix 19.4 is based on debian buster. The mpv package in debian buster is mpv (0.29.1-1), that version was released in oct 2018. The mpv package in the antix repos is 0.32.0-3.0antix1, that version of mpv was released in jan 2020. The current version of mpv (0.33.0) was released in nov 2020 with a security patch in april 2021.
Is the new version going to be provided as a package in the antix repos? Is there a reasoning process behind which packages get upgraded? Does it have to be a major update?
This shouldnt be construed as a complaint, its really not. Its more a question of insight in how the antiX packages are maintained. Compiling mpv from source is trivial, so thats not the issue.
As a sidenote, the latest MPV allows the use of yt-dlp, a fork of youtube-dl, when streaming youtube videos. This doesnt work in v32. Since youtube-dl is deprecated (as far as I can tell), and has the streaming speed throttled to unusability, this is quite a major update (if this is your use-case).
In order to activate this, install yt-dlp:
sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlpcreate ~/.config/mpv/mpv.conf with the line:
script-opts-append=ytdl_hook-ytdl_path=yt-dlpEnjoy streaming youtube videos via mpv
October 29, 2021 at 1:37 pm #69724Memberolsztyn
::Enjoy streaming youtube videos via mpv
Thanks blur13 for this.
As for the above quote, do you mean videos started in mpv using right click on video in SMtube and selecting mpv? Or mpv alone, without SMtube, which would be more inconvenient, as it needs dropping a link on mpv?
To simplify: Does this yt-dlp work starts automatically when starting video from SMtube using mpv?
Thanks and Regards.Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersOctober 29, 2021 at 2:07 pm #69726Member
blur13
::I think it works out of the box if you change the config. If the videos aren’t constantly buffering bc the download rate is less than 56k then its working đ
I use https://gitlab.com/uoou/ytp to search youtube and view videos via mpv. Its terminal based. Its fast. Its efficient. I can confirm that yt-dlp works with this setup. I dont use SMtube.
October 29, 2021 at 2:08 pm #69727Forum Admin
anticapitalista
::yt-dlp is now in our repos (19 and 21).
It will remove youtube-dl and it works (at least in my tests) with smtube, and ytfzfAbout mpv, I’ll take a look.
If it doesn’t break anything and doesn’t need any newer libraries not in buster/antiX-19 repos then it can be included.Apps are basically cherrypicked by me or requested by users.
I don’t want to do what MX does with their package requests since it is too much work for our team.I try to keep our major apps up to date as much as possible eg IceWM, fluxbox, jwm, herbstluftwm.
BobC requested an update of mtpaint, which we have.
Very latest connman 1.40 is undergoing testing. It is not even in Debian experimental.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 29, 2021 at 2:16 pm #69729Memberolsztyn
::The mpv package in the antix repos is 0.32.0-3.0antix1, that version of mpv was released in jan 2020. The current version of mpv (0.33.0) was released in nov 2020 with a security patch in april 2021.
Checking mpv version on my antiX 21 – it is 0.33. Not sure if it came from antiX repos or debian multimedia repo. Works fine.
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersOctober 29, 2021 at 2:17 pm #69730Forum Admin
anticapitalista
::Continued – for example trying to build mpv on antiX-19 would mean also building and installing the libs that are required, but not present in buster.
So, I’m reluctant to do so.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
October 29, 2021 at 2:27 pm #69732Member
blur13
::anticapitalista, thanks for clarifying!
I guess it goes without saying that users installing a derivative of debian buster probably aren’t expecting bleeding edge. Its a trade off between stability and usability. I was pleasantly surprised how much more up to date the antix repos were, compared to buster. Anyways, thanks for the great work you do.
October 29, 2021 at 3:32 pm #69733Memberolsztyn
::Very latest connman 1.40 is undergoing testing. It is not even in Debian experimental.
Good example of how antiX is way ahead of Debian.
I guess it goes without saying that users installing a derivative of debian buster probably arenât expecting bleeding edge. Its a trade off between stability and usability.
It appears that Connman is a good example where the later (bleeding edge) version 1.40 is much more stable than the established (called stable?) version 1.36…
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_ParametersOctober 29, 2021 at 4:57 pm #69738Memberolsztyn
::yt-dlp is now in our repos (19 and 21).
It will remove youtube-dl and it works (at least in my tests) with smtube, and ytfzfIndeed. It is there.Seems to work fine too.
Just a strange peculiarity:
– After upgrade to current SMtube – upon right click on video in SMtube to start playing selecting mpv (great finding from I think Christophe or PPC, if I remember), a pop-up says that download app not installed and asks whether to download. Upon ‘Yes’ it downloads and ‘installs’ yt-dlp. Playing works going forward. Works just fine, no buffering issue.
– However looking at Synaptic: It shows yt-dlp as not installed. So perhaps when it SMtube downloads and ‘installs’ it does not actually install but somehow integrates with SMtube. Actual installing yt-dlp from Synaptic does not seem to change anything.
– On the other end – Explicit installing yt-dlp from Synaptic does not seem to remove youtube-dl. Explicit removing youtube-dl in Synaptic does not seem to break anything though.So it looks to me youtube-dl is no longer used as it is deprecated and replaced with yt-dlp and can be safely removed…
If my conjecture is incorrect please someone correct me.I do not treat this entire kaboodle trivial mostly because of this great discovery by PPC or Christophe (I apologize that I do not exactly remember which one of these great contributors it was) that on SMTube, playing through mpv by right-click redirecting actually plays videos without distracting adds, which with longer concerts makes a huge difference…
- This reply was modified 1 year, 6 months ago by olsztyn.
Live antiX Boot Options (Previously posted by Xecure):
https://antixlinuxfan.miraheze.org/wiki/Table_of_antiX_Boot_Parameters -
AuthorPosts
- You must be logged in to reply to this topic.