Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mplayer / Mplayerplug-in / Firefox on AMD64
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
kingmanowar
n00b
n00b


Joined: 15 Oct 2005
Posts: 20

PostPosted: Sun Jun 18, 2006 9:20 am    Post subject: Reply with quote

Hello

I have just tried to emerge the latest mplayer-bin (1.0_pre8) today and I had the same problem with the pangocairo libs. I finally understood what was the issue and found a fix for it. The 32 bits version of cairo libs are only included in version 2.8.8 of the emul-linux-x86-gtklibs package. However it is masked with ~amd64. Unmask it in package.keywords and emerge it and it should work. You will probably have to unmask and re-emerge some other emul-linux-* packages too because of some dependences.
I guess the ebuild for mplayerplug-in from http://sh.nu/download/ebuilds/mplayer/ should work the same now.

Eric
Back to top
View user's profile Send private message
WonderClown
n00b
n00b


Joined: 27 Jul 2004
Posts: 22

PostPosted: Sun Jun 18, 2006 2:23 pm    Post subject: Reply with quote

pinr wrote:
First thanks for this great guide I now have the mplayer plugin installed on my AMD64 system. Still I can't seem to watch any movies or at least not the ones I wanted to watch (haven't tried any others yet). The movies in question are here:
http://www.pbs.org/wgbh/nova/elegant/program_d.html
when I click on any of the movie links the mplayer plugin loads up and says it is connecting to the site it then just says stopped and does not show the videos.
Any suggestions.
Thanks


Those particular movies don't work for me, either, because the codec is not supported. If you try playing them outside of firefox with the command-line mplayer-bin, you'll see the error that the video codec is not supported. Try some different movies to make sure the plugin works, but I think you're probably just not going to be able to play those on Linux, no matter what player you use. (I could be wrong...)
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun Jun 25, 2006 1:58 pm    Post subject: Reply with quote

for those who prefer keeping binary packages out of the system, modified the mplayerplug-in ebuild to build a 32bit library on amd64.

Code:

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mplayerplug-in/mplayerplug-in-3.25.ebuild,v 1.2 2006/05/04 09:43:47 josejx Exp $

inherit eutils multilib nsplugins flag-o-matic multilib

DESCRIPTION="mplayer plug-in for Gecko based browsers"
HOMEPAGE="http://mplayerplug-in.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 -hppa ~ia64 ~ppc ~sparc ~x86"
IUSE="gecko-sdk gtk 32bit"

DEPEND=">=media-video/mplayer-1.0_pre5
      gecko-sdk? ( net-libs/gecko-sdk )
      !gecko-sdk? ( || ( >=www-client/mozilla-1.6
                     www-client/mozilla-firefox
                     www-client/seamonkey ) )
      || ( ( x11-libs/libXpm
            x11-proto/xextproto
         )
         virtual/x11
      )
      gtk? (
         >=x11-libs/gtk+-2.2.0
         dev-libs/atk
         >=dev-libs/glib-2.2.0
         >=x11-libs/pango-1.2.1
      )
      32bit? (
         >=app-emulation/emul-linux-x86-gtklibs-2.8.8
         www-client/mozilla-firefox-bin
      )"

S=${WORKDIR}/${PN}

src_unpack() {
   unpack ${A}
   cd ${S}
   epatch ${FILESDIR}/${PN}-gcc4.patch
   epatch ${FILESDIR}/${PN}-mplayerbin.patch

}

src_compile() {
   local myconf

   if use gecko-sdk; then
      myconf="${myconf} --with-gecko-sdk=/usr/$(get_libdir)/gecko-sdk"
   fi

   # We force gtk2 now because moz only compiles against gtk2
   if use gtk; then
      myconf="${myconf} --enable-gtk2"
   else
      ewarn "For playback controls, you must enable gtk support."
      myconf="${myconf} --enable-x"
   fi

   use 32bit && append-flags -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib -L/usr/lib32 -L/opt/firefox/
   use 32bit && multilib_toolchain_setup x86
   use 32bit && myconf="${myconf} --enable-x86_64"
   filter-flags -fvisibility=hidden -fvisibility-inlines-hidden

   econf ${myconf} || die "econf failed"
   emake || die "emake failed"
}

src_install() {
   exeinto /opt/netscape/plugins
   doexe mplayerplug-in.so || die "plugin failed"
   inst_plugin /opt/netscape/plugins/mplayerplug-in.so

   insinto /opt/netscape/plugins
   doins mplayerplug-in.xpt || die "xpt failed"
   inst_plugin /opt/netscape/plugins/mplayerplug-in.xpt

   PLUGINS="gmp rm qt wmp"

   for plugin in ${PLUGINS}; do
      ### Install the plugin
      exeinto /opt/netscape/plugins
      doexe "mplayerplug-in-${plugin}.so" || die "plugin ${plugin} failed"
      inst_plugin "/opt/netscape/plugins/mplayerplug-in-${plugin}.so"
      ### Install the xpt
      insinto /opt/netscape/plugins
       doins "mplayerplug-in-${plugin}.xpt" || die "plugin ${plugin} xpt failed"
      inst_plugin "/opt/netscape/plugins/mplayerplug-in-${plugin}.xpt"
   done

   insinto /etc
   doins mplayerplug-in.conf

   dodoc ChangeLog INSTALL README DOCS/tech/*.txt
}


the mplayerplug-in-mplayerbin.patch is from http://bugs.gentoo.org/show_bug.cgi?id=107922 (more specificaly, http://bugs.gentoo.org/attachment.cgi?id=76487&action=view ).
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2515
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Fri Jan 12, 2007 12:31 pm    Post subject: Reply with quote

neuron wrote:
for those who prefer keeping binary packages out of the system, modified the mplayerplug-in ebuild to build a 32bit library on amd64.


nice ebuild, it works for mplayerplug-in-3.35 too
i did only a small change:
Code:

-PLUGINS="gmp rm qt wmp"
+PLUGINS="dvx rm qt wmp"

_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5345
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Jan 13, 2007 11:07 pm    Post subject: Reply with quote

I'm at the moment newly installing my amd64 system, a more easier approach would be:

Code:
emerge mozilla-firefox


Code:
emerge netscape-flash nspluginwrapper


Code:
emerge amd64codecs mplayer mplayerplug-in


you can also write all in one line :wink:

so no 32bit chroot or binary is needed anymore :D

yay! GNU/Gentoo once again made my day :!:

I'm lovin' it (TM) :P
_________________
Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Scullder
Guru
Guru


Joined: 16 Mar 2006
Posts: 466
Location: France

PostPosted: Sat Jan 13, 2007 11:30 pm    Post subject: Reply with quote

64bits proprietary codecs are not necessary anymore with the latest version of ffmpeg and mplayer. :)
_________________
Linux gentoo 2.6.18-ck1-r2 #1 PREEMPT Fri Nov 17 01:37:56 CET 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
bandreabis
Veteran
Veteran


Joined: 18 Feb 2005
Posts: 1946
Location: Somewhere over the rainbow... bluebirds fly!

PostPosted: Sun Jan 14, 2007 12:01 am    Post subject: Reply with quote

I'm going to install Gentoo also on my notebook, but I'm afraid about 64bit.... what have I to do not to have problems?

I know about problem with firefox, mplayer, codecs, java, flash and so on....

Which is the best choice?

Thank you.
Andrea
_________________
JUVE: Un forum nuovo, intrigante e tutto bianconero.... http://www.magazinebianconero.com
Back to top
View user's profile Send private message
FeatherMonkey
n00b
n00b


Joined: 10 Jan 2007
Posts: 15

PostPosted: Sun Jan 14, 2007 3:27 am    Post subject: Ok I give in whats the magic word. Reply with quote

Hi all I'm a bit of a newbie with Gentoo can any one help please, what am I missing.

I've tried what kernelOfTruth suggested but it doesn't work! :(

If I go to the bbc I can't see any stream. Real Media or windows media format.

gmplayer shows ==> this Compiled for x86 CPU with extensions, though using cpudetection gets rid of that line.

ldd /usr/bin/mplayer shows just a couple of 64bit libs related to nvidia, opengl , and libgii.

file gives me this ==> ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped.

Whatever I seem to do I end up stuck I end up with a 64bit browser with a 64bit mplayerplug-in but mplayer seems to be 32bit I 've added to package.use =>
media-video/mplayer cpudetection avi aac dts live mad matroska real theora xanim xvid aalib alsa arts dga directfb esd fbcon ggi libcaca nas opengl oss sdl xv 3dnow 3dnowext cdparanoia dvb dvd dvdread mmx mmxex nvidia sse sse2 encode truetype X nvidia

about:plugins shows me

mplayerplug-in 3.31
File name: mplayerplug-in.so
mplayerplug-in 3.31

<---snip-->
audio/mpeg2 MPEG audio mp2 Yes
audio/x-mpeg2 MPEG audio mp2 Yes
video/mp4 MPEG 4 Video mp4 Yes
audio/mpeg3 MPEG audio mp3 Yes
etc
<---snip-->

my make.conf
CFLAGS="-O2 -pipe" <<== should I have something else in here AMD athlon 64 3400+ (newcastle think)
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
PORTDIR_OVERLAY="/usr/local/portage"
USE="symlink"
ALSA_CARDS="cs46xx"

I don't mind sticking to the 32bit mplayer but I seem to get a 64bit mplayer plug-in, could some one please point me in the right direction. Many thanks in advance FM
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2632
Location: Bay Area, CA

PostPosted: Sun Jan 14, 2007 4:05 am    Post subject: Reply with quote

kernelOfTruth wrote:

so no 32bit chroot or binary is needed anymore :D
what about java plugin? does that work with 64-bit firefox as well?

And how much memory/cpu does nspluginwrapper eat these days? when I tried it last, it was a big hog and forced me to 32-bit swiftfox.
Back to top
View user's profile Send private message
Scullder
Guru
Guru


Joined: 16 Mar 2006
Posts: 466
Location: France

PostPosted: Sun Jan 14, 2007 4:36 pm    Post subject: Reply with quote

devsk wrote:
kernelOfTruth wrote:

so no 32bit chroot or binary is needed anymore :D
what about java plugin? does that work with 64-bit firefox as well?

And how much memory/cpu does nspluginwrapper eat these days? when I tried it last, it was a big hog and forced me to 32-bit swiftfox.


I have not noticed anything about nspluginwrapper, except that the last version (really) works well with flash 9 beta 2.
Java plugin is for me the last problem of x86_64 on desktop, you can use the one included in blackdown-jre, but it's buggy.
_________________
Linux gentoo 2.6.18-ck1-r2 #1 PREEMPT Fri Nov 17 01:37:56 CET 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Mon Feb 19, 2007 10:08 pm    Post subject: Reply with quote

http://sh.nu/download/ebuilds/mplayer/ is dead.
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Fri Feb 23, 2007 5:17 am    Post subject: Reply with quote

but are you able to use the acrobat reader plugin in 64 bits?
Back to top
View user's profile Send private message
aproan
Guru
Guru


Joined: 30 Apr 2005
Posts: 415

PostPosted: Sat Feb 24, 2007 5:28 am    Post subject: Reply with quote

nspluginwrapper works well.

what do you guys recommend for java?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum