LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-28-2017, 08:06 AM   #31
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled

Well, that was interesting!

orbea: Your slackbuild found everything - which implies that there is something in the official slackbuild that is incompatible with -current, rather than it being a system issue at this end - but crashed out later on:

Code:
libmpcodecs/vd_ffmpeg.o: In function `set_format_params':
vd_ffmpeg.c:(.text+0x7f1): undefined reference to `av_alloc_vdpaucontext'
libmpcodecs/vd_ffmpeg.o: In function `update_configuration.isra.4':
vd_ffmpeg.c:(.text+0x1445): undefined reference to `av_alloc_vdpaucontext'
collect2: error: ld returned 1 exit status
make: *** [Makefile:746: mplayer] Error 1
Not quite sure what is going on there!

marrowsuck: Thanks for the tip. I might give that earlier revision a try and see if it is compatible with the latest intel drivers. If it is, it will save me a lot of grief with MPlayer!

Thanks to all for your suggestions and help!

--
Pete
 
Old 11-28-2017, 08:15 AM   #32
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
P.S. marrowsuck: How do you clone a specific version using git? Google gives lots of hints that it is possible, but nothing that gives a clear indication of how to achieve it in this instance!

--
Pete
 
Old 11-28-2017, 08:32 AM   #33
marrowsuck
Member
 
Registered: Sep 2006
Posts: 202

Rep: Reputation: 89
Clone the master branch. Then cd into your git-repo and checkout the concerning commit.
Code:
git clone git://github.com/mpv-player/mpv.git
cd mpv
git checkout f36d152eb7
 
3 members found this post helpful.
Old 11-28-2017, 08:41 AM   #34
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
You beat me to it! I did it a slightly different way, going to https://github.com/mpv-player/mpv/tree/f36d152eb7 and then downloading a zip file from the option box on the RHS!

I've built it, and it works against the latest intel drivers! WooHoo! No sound at the moment, but that's probably because I've messed up the configuration somewhere with all the messing around I've been doing!

orbea: Thinking about it, that error was probably because I built ffmpeg before I installed the vdpau libraries. I'd lost track of the order I'd done things in! Still, thanks to marrowsuck, I now have a version of mpv that works again, so I can get rid of all the unnecessary vdpau stuff off my system!

Again, thanks to all for your assistance and moral support!

--
Pete
 
Old 11-28-2017, 09:00 AM   #35
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
Code:
libmpcodecs/vd_ffmpeg.o: In function `set_format_params':
vd_ffmpeg.c:(.text+0x7f1): undefined reference to `av_alloc_vdpaucontext'
libmpcodecs/vd_ffmpeg.o: In function `update_configuration.isra.4':
vd_ffmpeg.c:(.text+0x1445): undefined reference to `av_alloc_vdpaucontext'
collect2: error: ld returned 1 exit status
make: *** [Makefile:746: mplayer] Error 1
You're hitting undefined ffmpeg/vdpau references. There are a few ways I can think of this could happen.

1. Your MPlayer or your ffmpeg is too new/old. ffmpeg-3.4 and the MPlayer svn trunk should be compatible.
2. You have an incomplete install and your dependencies are missing dependencies that they were compiled against. You can try this script which will ldd your entire system and report anything that is "not found". It will not work with python, perl or ruby dependencies however (Not an issue in this case) and is kind of slow. With this knowledge you could replace missing dependencies or recompile programs without them.

https://notabug.org/orbea/SlackBuild...ipts/brokenpkg
 
Old 11-28-2017, 09:15 AM   #36
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
orbea: I think what happened was that I built ffmpeg before I installed libvdpau, so it wouldn't have picked it up. Anyway, its academic now, as I have a version of mpv that works again - for the time being, anyway!

--
Pete
 
Old 11-28-2017, 10:23 AM   #37
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
@marrowsuck, thank you!

Yep that revision is building/working nicely with the stock slackware 3.4 ffmpeg and this mornings libva/intel-vaapi-driver packages.


BTW, does anyone have a list of the packages that depend on ffmpeg in slackware-current? I have a vague
recollection of someone posting a list a while back (might have even been Pat), but my search-fu is failing me as I can't seem to find it again.
 
Old 11-28-2017, 11:58 AM   #38
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by orbea View Post
It should find the standard Slackware ffmpeg just fine if its installed. For building with a shared ffmpeg you should pass this to MPlayer's configure.
Code:
--disable-ffmpeg_a
Also you can use this to see more build options.
Code:
./configure --help | less
Probably easier to just rebuild ffmpeg. That's what I had to do here.
 
Old 11-28-2017, 12:29 PM   #39
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by GazL View Post
BTW, does anyone have a list of the packages that depend on ffmpeg in slackware-current?
This is the list I have here:

MPlayer
alsa-plugins
audacious-plugins
gegl
gst-plugins-libav
k3b
kfilemetadata
nepomuk-core
xine-lib
 
4 members found this post helpful.
Old 11-28-2017, 12:43 PM   #40
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Thanks Pat. Much appreciated.
 
Old 11-28-2017, 12:45 PM   #41
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by Lenard Spencer View Post
Probably easier to just rebuild ffmpeg. That's what I had to do here.
Easier than what? If its not clear '--disable-ffmpeg_a' disables the static ffmpeg build in MPlayer, not the shared ffmpeg build.
 
Old 11-28-2017, 01:01 PM   #42
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,119

Original Poster
Rep: Reputation: Disabled
A Final Word:

Isn't it just great when you spend ages building the latest package, because the stock one hasn't been updated for ages, working through all the knock on effects, finally getting it sorted - only to find that they are now in the official distribution!

Seriously, though, thanks to Pat and the team for all their hard work, and to the community here for their support!

--
Pete
 
Old 11-28-2017, 01:45 PM   #43
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 329

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by orbea View Post
Quote:
Originally Posted by Lenard Spencer View Post
Probably easier to just rebuild ffmpeg. That's what I had to do here.
Easier than what? If its not clear '--disable-ffmpeg_a' disables the static ffmpeg build in MPlayer, not the shared ffmpeg build.
Sorry, I forgot in 14.2 ffmpeg is not a separate package. That's what I get for using -current almost exclusively here (except for my server).
 
Old 11-28-2017, 04:50 PM   #44
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
You may want to check QMPLay2 out sometime. Its constantly being updated. I really like how they did the playlist. You can watch and download youtube videos with it.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20171128_174328.png
Views:	26
Size:	77.6 KB
ID:	26432  
 
Old 11-28-2017, 06:59 PM   #45
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
As it turns out the rejected patches that started the ffmpeg-mpv fork were rewritten and merged in ffmpeg in a more acceptable manner by other people (Not sure why this wasn't done to begin with...) and the current mpv master will build with the ffmpeg master. However I have no idea if this will last or if there aren't any issues associated with removing compatibility for upstream ffmpeg in the mpv repo...

This build option will be needed to be passed to waf though. Regardless this will result in an "unsupported" build, not that upstream mpv does much support beyond blaming users and other projects for their own failings... For example, reporting issues for their 'vaapi' vo apparently results in this.

Code:
--enable-ffmpeg-upstream

Last edited by orbea; 11-28-2017 at 07:02 PM.
 
  


Reply

Tags
intel, libva, vaapi, vainfo



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
libva crash (Maximum number of clients reached) Bad Blue Bull Slackware 12 07-26-2017 01:49 AM
libva updates chrisVV Slackware 1 04-13-2017 04:45 PM
[SOLVED] vdpauinfo libva error slackartist Slackware 14 01-18-2016 09:25 PM
VLC Slackware 14 libva stormtracknole Slackware 4 10-05-2012 05:05 AM
alien's vlc, -current and SBo's libva grissiom Slackware 2 10-28-2010 08:50 AM

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

All times are GMT -5. The time now is 07:05 AM.

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