LinuxQuestions.org
Review your favorite Linux distribution.
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 10-16-2011, 08:53 AM   #1
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Rep: Reputation: 28
MPlayer Compile From Subversion


Has anyone tried compiling MPlayer today from subversion with libdvdcss, vdpau, and the internal GUI enabled?
 
Old 10-16-2011, 10:03 AM   #2
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
I used to compile the mplayer export snapshot until the 20th of September, but without vdpau and gui. Plus, libdvdcss is an addon, mplayer doesnt link against it, it just uses it if it finds it at run time. Since then i switched to mplayer2 for better matroska support since some files couldn't be handled by mplayer.
Why, whats up?
 
Old 10-16-2011, 12:03 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
I compiled and installed from svn yesterday (without gui), and I've just updated and recompiled now, enabling gui, vdpau and libdvdcss, without issue (other than the usual 6342 warnings (+/- 231))

cheers,
 
Old 10-16-2011, 12:57 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Here's my edited slackbuild that builds from svn. I have turned off the gui but you can probably fix that yourself.

http://www.dawoodfall.net/slackbuilds/13.37/mplayer/
 
Old 10-16-2011, 01:56 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Alternatively you could try this MPlayer.SlackBuild (or grab the readymade packages that are provided alongside): http://taper.alienbase.nl/mirrors/pe...uilds/MPlayer/

The version of the script as provided at that URL was used to build a package from a SVN snapshot of end June 2011 but it will build today's SVN snapshot without issues.

Eric
 
Old 10-16-2011, 03:24 PM   #6
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Original Poster
Rep: Reputation: 28
Have the pre-built slackware64 packages enabled the radio interface as well?

For some reason, the autodetect feature of MPlayer isn't working with some SlackBuilds using today's source from subversion. My computer system has been acting a bit strange lately, though, as well. Maybe, I'm beginning to suffer hardware problems, e.g. a memory failure. I don't really know at this point.

Last edited by tpreitzel; 10-16-2011 at 03:25 PM.
 
Old 10-16-2011, 03:41 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I've built from SVN before. As far as the support factors go, often I just edit up the SlackBuild to suit my liking for the options used by the system. Haven't had any builds fail yet except due to a missing library, but those are easily fixed by installing the required dependencies.
 
Old 10-16-2011, 03:55 PM   #8
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Original Poster
Rep: Reputation: 28
My problems seem to be related to --enable-vdpau. If I don't manually enable it, the configure script doesn't locate it. When enabled, many of the other options don't autodetect as well so I apparently need to look at my installation of libvdpau. I'm trying to use NVidia's -285 binary driver and I made some changes to libvdpau when I installed it.... so back to the drawing board. I haven't used a NVidia GPU in years so I'm a bit rusty.

Last edited by tpreitzel; 10-16-2011 at 03:56 PM.
 
Old 10-16-2011, 04:08 PM   #9
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Did you install LibVA and VDPAU-Video as well?
 
Old 10-16-2011, 08:09 PM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by tpreitzel View Post
I'm trying to use NVidia's -285 binary driver and I made some changes to libvdpau when I installed it.... so back to the drawing board.
I don't know what you did to libvdpau, but you shouldn't have a problem if you just use the SlackBuilds.org scripts for nvidia-kernel, nvidia-driver and libvdpau. Just edit them (bump the VERSION) to have them build the 285.05.09 drivers.

Quote:
Did you install LibVA and VDPAU-Video as well?
Why? This is completely irrelevant.

Last edited by dugan; 10-16-2011 at 08:21 PM.
 
Old 10-16-2011, 09:41 PM   #11
tpreitzel
Member
 
Registered: Aug 2007
Posts: 253

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by dugan View Post
I don't know what you did to libvdpau, but you shouldn't have a problem if you just use the SlackBuilds.org scripts for nvidia-kernel, nvidia-driver and libvdpau. Just edit them (bump the VERSION) to have them build the 285.05.09 drivers.
Yeah, I tried to use nVidia's installer for their binary driver with libvdpau at first since I already had the driver installed. After I decided to uninstall the binary driver and use SlackBuilds instead, everything went smoothly after changing the version. The only other major hurdle was MPlayer's internal libdvdnav.. After messing around with some include files for the internal version of libdvdnav, I finally decompressed the source for MPlayer and renamed the libdvdnav directory to libdvdnav_bak and recompressed the source. Then I downloaded libdvdnav from trunk and built it as an external library and then installed it as a separate package. Only then did mplayer finally compile with my required options. I now have MPlayer just like I want it including support for VDPAU.

Thanks to everyone!
 
  


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
MPlayer.Slackbuild cant compile. Scuzz Slackware 26 09-26-2009 03:54 PM
Cannot compile mplayer Smokey Slackware 4 02-18-2006 07:54 AM
Mplayer Compile Error oxleyk Slackware 9 12-13-2004 09:42 AM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM
MPlayer-0.90pre8 compile pixelV Linux - Software 1 12-28-2002 01:50 PM

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

All times are GMT -5. The time now is 03:13 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