LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-30-2017, 10:29 AM   #16
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled

Quote:
Originally Posted by 1337_powerslacker View Post
In case my point was not clear, let me restate it. Personal developer issues are not my concern. I use mpv because it meets my needs. If it breaks again in the future, I will again find a patch to fix it (which is not tedious, IMO) and move on.
Yes, that's my sentiment too! I'm afraid my programming days ended with 8-bit 6502s, so writing a patch for mpv is somewhat beyond me! If you manage it, remember to let us know!

In the meantime, someone in the other thread has pointed out QMPlay2, which looks like a viable alternative....

--
Pete
 
Old 11-30-2017, 10:41 AM   #17
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862

Original Poster
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by pchristy View Post
Yes, that's my sentiment too! I'm afraid my programming days ended with 8-bit 6502s, so writing a patch for mpv is somewhat beyond me! If you manage it, remember to let us know!

In the meantime, someone in the other thread has pointed out QMPlay2, which looks like a viable alternative....

--
Pete
Hey, Pete. I have seen some of your other posts, and can truly empathize with some of the issues you've had with your system, as I have also struggled with my system having its own set of issues.

The patch I was referring to originally is referenced in my original post. My point of view is that if the program works for my needs, then that's all that matters. And there's always someone who has come across the same issues as I in any given program, and there's almost always a workaround or patch. Google is your friend.

Hope this helps.
 
Old 11-30-2017, 10:58 AM   #18
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Rep: Reputation: Disabled
Re-reading my post, I realise it wasn't as clear as I had intended! I meant if you write a patch in future, please let us know! Sorry for any confusion!

There has been a huge flurry of upgrades in -current recently (new release imminent?), and I would expect this to cause the odd breakage. Usually I manage to work around it, but this time I came unstuck! I still haven't figured out why the MPlayer build script threw a tantrum, but I don't need to any longer, and no doubt it will be picked up by the team in due course. I really don't want to use the vdpau workaround unless I absolutely have to. Its not that I have anything against vdpau - both my other machines use ati gfx and the kernel drivers, and vdpau works fine on them. But using a translation layer from vdpau to vaapi seems like a kludge - however well intended - that I would rather avoid!

Thanks for your help, and to all the other contributors to this, and the other, thread

--
Pete
 
Old 11-30-2017, 11:35 AM   #19
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 862

Original Poster
Blog Entries: 9

Rep: Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592Reputation: 592
Quote:
Originally Posted by pchristy View Post
Re-reading my post, I realise it wasn't as clear as I had intended! I meant if you write a patch in future, please let us know! Sorry for any confusion!

There has been a huge flurry of upgrades in -current recently (new release imminent?), and I would expect this to cause the odd breakage. Usually I manage to work around it, but this time I came unstuck! I still haven't figured out why the MPlayer build script threw a tantrum, but I don't need to any longer, and no doubt it will be picked up by the team in due course. I really don't want to use the vdpau workaround unless I absolutely have to. Its not that I have anything against vdpau - both my other machines use ati gfx and the kernel drivers, and vdpau works fine on them. But using a translation layer from vdpau to vaapi seems like a kludge - however well intended - that I would rather avoid!

Thanks for your help, and to all the other contributors to this, and the other, thread

--
Pete
You're very welcome. It's my contribution. I certainly enjoy using Slackware, and do my best to help others in some small way.

Happy Slacking!
 
Old 11-30-2017, 01:14 PM   #20
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
If they'd decided to continue with their FFMPEG fork, then my recommendation would have been to have one MPV SlackBuild that does the following:

1. installs ffmpeg (theirs) into $PKG/usr/lib$LIBDIRSUFFIX/mpv
2. builds mpv against it, using "-Wl,-rpath=/usr/lib/lib$LIBDIRSUFFIX/mpv -L$PKG/usr/lib$LIBDIRSUFFIX/mpv"

This is a fairly standard way of building dependencies into a package.

I did suggest this on the slackbuilds-users mailing list.

Last edited by dugan; 11-30-2017 at 01:43 PM.
 
Old 11-30-2017, 09:56 PM   #21
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
That is a really ugly hack as far as package distribution goes, but to be fair there are no good solutions here.
 
Old 12-01-2017, 12:32 AM   #22
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by orbea View Post
That is a really ugly hack as far as package distribution goes
I've actually seen it documented elsewhere, but I'm not going to look for it right now.

(EDIT: example 1, example 2).

Last edited by dugan; 12-01-2017 at 01:07 AM. Reason: Defensiveness on my part removed. Again.
 
Old 02-10-2018, 03:29 PM   #23
Coastal Disturbance
LQ Newbie
 
Registered: Feb 2018
Posts: 7

Rep: Reputation: Disabled
I wasn't aware of the helper build script mpv project provides:

https://github.com/mpv-player/mpv-build

It's as easy as this:

Code:
git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build
./rebuild -j5
It fetches latest ffmpeg and libass from git HEAD and links them statically. There are also options to use release versions instead, see README.

Works flawlessly, just copy the resulting mpv executable where you want.
 
Old 02-10-2018, 04:24 PM   #24
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I have a SlackBuild that uses that to build a proper Slackware package. It currently builds 0.28.

https://github.com/duganchen/my_slac...mpv.SlackBuild

I'd mentioned it in another thread about this issue, but I can't find that thread right now.
 
Old 02-12-2018, 09:50 PM   #25
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
I dont have any problem with mpv + ffmeg on the contrary, only hapiness.
I can play any kind of videos (4k, hvec, ts, hdr, 10bits, etc) with hardware off course.

Please do not judge me, i'm just an amateur.
My personal builds
first https://github.com/ericfernandesferreira/audio
second https://github.com/ericfernandesferreira/video

Last edited by Candelabrus; 02-12-2018 at 11:13 PM.
 
Old 02-13-2018, 05:53 AM   #26
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Just a heads up for anyone still using mpv. Nasty remote code execution: CVE-2018-6360

After a lot of prompting and resistance it looks like they've tagged a 0.27.1 and 0.28.1, but it's clear from the comments here that the mpv dev's don't consider security issues their responsibility to patch in anything other than git master, which kind of makes a mockery of tagging releases in the first place.

Anyway, be warned.
 
2 members found this post helpful.
Old 02-14-2018, 10:56 AM   #27
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Just use my SlackBuild to build 0.28.1.
 
Old 03-06-2018, 11:31 AM   #28
garynych
LQ Newbie
 
Registered: Mar 2018
Posts: 1

Rep: Reputation: Disabled
for good luck with version 0.28.2 you need to apply only one fourth patch

(mpv-do-not-fail-with-minor-ffmpeg-updates.patch)
 
Old 03-06-2018, 03:02 PM   #29
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Again: just use my SlackBuild to build 0.28.2. It will build all future versions without needing to be updated.

Last edited by dugan; 03-06-2018 at 04:01 PM.
 
Old 03-07-2018, 03:44 AM   #30
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Doesn't your mpv build pull down and embed it's own copy of ffmpeg? The reason I switched from mplayer to mpv in the first place was that it used the system installed ffmpeg library rather than it's own embedded version.

Now, somewhat ironically, it's easier to get mplayer to use the system library than it is mpv.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: FFmpeg's Player to Get Features Inspired from the MPV Media Player LXer Syndicated Linux News 1 09-29-2015 06:18 AM
Another successful LFS build! :-D Lufbery Linux From Scratch 7 06-07-2011 07:26 PM
Mostly Successful Build Report senjak Linux - Hardware 0 07-16-2009 10:32 AM
Successful R 2.4 Build trashbird1240 Linux - Software 2 10-06-2006 09:09 AM
Looking for ggc4 ffmpeg patch FunkyRes Linux - Software 0 04-25-2005 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration