SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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!
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!
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.
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!
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.
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.
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.