Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

32 bit MPlayer compile without 32 bit chroot?

Have an x86-64 problem? Post here.
Locked
Advanced search
251 posts
  • Page 10 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next
Author
Message
riven
n00b
n00b
Posts: 44
Joined: Sat Jul 10, 2004 9:04 pm

  • Quote

Post by riven » Thu Sep 08, 2005 5:45 pm

I'm getting a strange error with mplayerplug-in32. On starting firefox (from a console) i get the message

Code: Select all

LoadPlugin: failed to initialize shared library /opt/netscape/plugins/mplayerplug-in.so [/opt/netscape/plugins/mplayerplug-in.so: cannot open shared object file: No such file or directory]
It seams like a very odd error, can anyone shed any light on the problem? Its the binary install version 2.85, and about:plugins in firefox doesn't show the plugin at all.

Thanks anyone!
Top
Voyageur
Developer
Developer
User avatar
Posts: 342
Joined: Sun Mar 06, 2005 8:04 pm
Location: Paris, France
Contact:
Contact Voyageur
Website

  • Quote

Post by Voyageur » Thu Sep 08, 2005 6:09 pm

Hum... which firefox do you use? It looks like you are running a 64bit one, which can explain why it does not see the 32bit mplayerplug-in32
Routinely breaking NX, GNUstep, net-ftp, miscellaneous (llvm, filezilla, rdesktop, chromium, ...) packages
Top
riven
n00b
n00b
Posts: 44
Joined: Sat Jul 10, 2004 9:04 pm

  • Quote

Post by riven » Thu Sep 08, 2005 6:14 pm

Voyageur wrote:Hum... which firefox do you use? It looks like you are running a 64bit one, which can explain why it does not see the 32bit mplayerplug-in32
Indeed, its 1.0.6 build in a 64 bit environment. Does that mean I would need firefox-bin for mplayerplug-in32?
Top
Voyageur
Developer
Developer
User avatar
Posts: 342
Joined: Sun Mar 06, 2005 8:04 pm
Location: Paris, France
Contact:
Contact Voyageur
Website

  • Quote

Post by Voyageur » Thu Sep 08, 2005 6:29 pm

I've not tried these (I run firefox-bin for the flash plugin), but here are two suggestions taken from Primer's site:
I've also found that one can use a 64 bit mplayerplug-in and have it spawn the
32 bit mplayer32. If you want to compile mplayerplug-in32 as a 64 bit plugin, simply
open the ebuild in your favorite editor:

$EDITOR /usr/local/portage/net-www/mplayerplug-in32/mplayerplug-in32-2.70.ebuild

and change the dependency of mplayer32 to mplayer32-bin and emerge in your 64
bit OS. Note that you might hit a bug with the gecko-sdk dependency. You could
also simply symlink mplayer32 to mplayer (If you don't have the 64 mplayer installed)
and use the normal mplayerplug-in.
Hope this helps!
Routinely breaking NX, GNUstep, net-ftp, miscellaneous (llvm, filezilla, rdesktop, chromium, ...) packages
Top
riven
n00b
n00b
Posts: 44
Joined: Sat Jul 10, 2004 9:04 pm

  • Quote

Post by riven » Thu Sep 08, 2005 9:42 pm

hmmm, in the 2.85 ebuild mplayer32-bin is already in as the dependancy. I also have a 64 bit mplayer compiled, which I use for a lot of stuff like x264 encoding, which mplayer-bin doesn't do.

Thanks for the suggestions though.
Top
Voyageur
Developer
Developer
User avatar
Posts: 342
Joined: Sun Mar 06, 2005 8:04 pm
Location: Paris, France
Contact:
Contact Voyageur
Website

  • Quote

Post by Voyageur » Fri Sep 09, 2005 6:05 am

If the ebuild is already fixed, what did

Code: Select all

emerge -av mplayerplug-in32
do? (ie without the "use binary packages" option)

There's no ABI change in it, so emerging it should produce a 64bit version of the plugin
Routinely breaking NX, GNUstep, net-ftp, miscellaneous (llvm, filezilla, rdesktop, chromium, ...) packages
Top
Tanisete
Guru
Guru
User avatar
Posts: 312
Joined: Fri Mar 12, 2004 10:13 am

  • Quote

Post by Tanisete » Sat Sep 24, 2005 4:25 pm

Hi to all!!

I'm having only one problem with mplayer-bin. It seems that oss cannot take the dsp to output sound. I know this is because of arts, but i was supposed to have dmix for oss too. This is my .asoundrc:

Code: Select all

# ~/.asoundrc file for ALSA try to do mixing here
pcm.intel8x0 {
           type hw
           card 0
}
ctl.intel8x0 {
           type hw
           card 0
}

#asym fun start here. we define one pcm device called "dmixed"
pcm.dmixed {
    ipc_key 1025
    type dmix
    slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 8192 bindings {
        0 0
        1 1
    }
}

#one called "dsnooped" for capturing
pcm.dsnooped {
    ipc_key 1026
    type dsnoop
    slave.pcm "hw:0,0"
}

#and this is the real magic
pcm.asymed {
    type asym
    playback.pcm "dmixed"
    capture.pcm "dsnooped"
}

#a quick plug plugin for above device to do the converting magic. saves
#typing when settng the pctype plug
    slave.pcm "asymed"
}

#a ctl device to keep xmms happy
ctl.pasymed {
    type hw
    card 0
}

#here we try to point the aoss script to our asymed device
pcm.dsp0 {
    type plug
    slave.pcm "dmixed"
}

ctl.mixer0 {
    type hw
    card 0
}

#this sets the default device
pcm.!default {
 type plug
             slave.pcm "asymed"
   }
Can anyone help to get dmix working with mplayer-bin? The strangest thing is that i think it's working, because "aoss" produces sound...

Thanks!!
Top
Sheepdogj15
Guru
Guru
User avatar
Posts: 430
Joined: Fri Jan 07, 2005 9:02 am
Location: Backyard
Contact:
Contact Sheepdogj15
Website

  • Quote

Post by Sheepdogj15 » Tue Oct 11, 2005 7:43 pm

Does anyone else have a problem where mplayerplug-in will just stop playing any sound? or gmplayer32 (mplayer32? i tested it by for the life of me don't remember the results) will freeze if you are streaming from a URL? it only happens for me with WMP audio streams.

i've done some initial troubleshooting (fiddling with the cache size and such), but i haven't figured out what's wrong. unfortunately, i only know of one site i have this problem with, so i can't say if it's mplayer32-bin and mplayerplug-in32, or the site. :?
Sheepdog
Why Risk It? | Samba Howto
Top
Sheepdogj15
Guru
Guru
User avatar
Posts: 430
Joined: Fri Jan 07, 2005 9:02 am
Location: Backyard
Contact:
Contact Sheepdogj15
Website

  • Quote

Post by Sheepdogj15 » Tue Oct 11, 2005 7:56 pm

Tanisete wrote:Hi to all!!

I'm having only one problem with mplayer-bin. It seems that oss cannot take the dsp to output sound. I know this is because of arts, but i was supposed to have dmix for oss too. This is my .asoundrc:



Can anyone help to get dmix working with mplayer-bin? The strangest thing is that i think it's working, because "aoss" produces sound...

Thanks!!
well, unfortunately this won't get fixed until designers get away from OSS-by-default for good. but the good news is there is a workaround.

open up your ~/.mplayer/config file (if it's there, we shall make a new one). change the "ao" setting to "ao=esd". there is an existing "alsa" setting and in fact an "arts" setting, but the for some reason i could only get Esd to mix and produce acceptable sound. i don't know why.

you will also have to have the Elightenment Sound Daemon installed and configured to use Dmix.
it's a rather simple process, just emerge esound, and change the esd conf file (/etc/esd/esd.conf):

Code: Select all

[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options=
change that third line:

Code: Select all

[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2 -d default -b
spawn_wait_ms=100
# default options are used in spawned and non-spawned mode
default_options=
Sheepdog
Why Risk It? | Samba Howto
Top
Primer
n00b
n00b
Posts: 54
Joined: Fri Dec 03, 2004 12:00 am
Location: Torrance, CA, USA
Contact:
Contact Primer
Website

  • Quote

Post by Primer » Tue Oct 11, 2005 9:03 pm

Sheepdogj15 wrote:Does anyone else have a problem where mplayerplug-in will just stop playing any sound? or gmplayer32 (mplayer32? i tested it by for the life of me don't remember the results) will freeze if you are streaming from a URL? it only happens for me with WMP audio streams.

i've done some initial troubleshooting (fiddling with the cache size and such), but i haven't figured out what's wrong. unfortunately, i only know of one site i have this problem with, so i can't say if it's mplayer32-bin and mplayerplug-in32, or the site. :?
I've seen mplayerplug-in 2.8x have these issues. I've since switched to mplayer-bin, and due to the lack of mplayerplug-in for mplayer-bin, made mplayerplug-in-bin-3.11, located here: http://sh.nu/mplayer. It seems that mplayerplug-in 3.11 solves many of the issues that plagued 2.8x. One issue I saw a lot was that the video would stop playing once the file was fully downloaded but not done playing, and the other was sound cutting out. Perhaps this version would work better for you?

Daniel
This is necessary...life, feeds on life...
Top
Sheepdogj15
Guru
Guru
User avatar
Posts: 430
Joined: Fri Jan 07, 2005 9:02 am
Location: Backyard
Contact:
Contact Sheepdogj15
Website

  • Quote

Post by Sheepdogj15 » Tue Oct 11, 2005 9:30 pm

does mplayer-bin work now? heh, i forgot to check your site before posting... i'll try the new mplayerplug-in now.

*edit to add* BTW, i also have the problem with the same site using Real Player (the Linux Helix thing). but strangely, my Windows box has no problem with the wmp stream
Sheepdog
Why Risk It? | Samba Howto
Top
Sheepdogj15
Guru
Guru
User avatar
Posts: 430
Joined: Fri Jan 07, 2005 9:02 am
Location: Backyard
Contact:
Contact Sheepdogj15
Website

  • Quote

Post by Sheepdogj15 » Tue Oct 11, 2005 11:04 pm

with 3.11, it's just not playing at all. :?

it looks like it is finding mplayer32, it starts to connect, but then it just stops and never plays.
Sheepdog
Why Risk It? | Samba Howto
Top
Primer
n00b
n00b
Posts: 54
Joined: Fri Dec 03, 2004 12:00 am
Location: Torrance, CA, USA
Contact:
Contact Primer
Website

  • Quote

Post by Primer » Tue Oct 11, 2005 11:06 pm

It seems to work fine for me so far.

Daniel
This is necessary...life, feeds on life...
Top
Primer
n00b
n00b
Posts: 54
Joined: Fri Dec 03, 2004 12:00 am
Location: Torrance, CA, USA
Contact:
Contact Primer
Website

  • Quote

Post by Primer » Tue Oct 11, 2005 11:08 pm

Sheepdogj15 wrote:with 3.11, it's just not playing at all. :?

it looks like it is finding mplayer32, it starts to connect, but then it just stops and never plays.
My mplayerplug-in-bin 3.11 on http://sh.nu/mplayer shells out to mplayer-bin in $PATH. Is this what you used? If not, did you build a 32 bit mplayerplug-in 3.11 and do the mplayer symlink trick? Kinda confused here...

Daniel
This is necessary...life, feeds on life...
Top
Tanisete
Guru
Guru
User avatar
Posts: 312
Joined: Fri Mar 12, 2004 10:13 am

  • Quote

Post by Tanisete » Tue Oct 11, 2005 11:09 pm

Thanks for the esd tip! I saw it lately on Gentoo Wiki.
About mplayer-bin, i'm using it right now, but i had the mplayerplug-in problem Primer describres. I'll try the new compilation tomorrow.

Thanks a lot to all!!
Top
Sheepdogj15
Guru
Guru
User avatar
Posts: 430
Joined: Fri Jan 07, 2005 9:02 am
Location: Backyard
Contact:
Contact Sheepdogj15
Website

  • Quote

Post by Sheepdogj15 » Tue Oct 11, 2005 11:51 pm

i used your prebuilt package.

sorry i wasn't specific. i don't think i missed a step, but maybe something went awry?
Sheepdog
Why Risk It? | Samba Howto
Top
Sheepdogj15
Guru
Guru
User avatar
Posts: 430
Joined: Fri Jan 07, 2005 9:02 am
Location: Backyard
Contact:
Contact Sheepdogj15
Website

  • Quote

Post by Sheepdogj15 » Fri Oct 21, 2005 5:59 am

hey. i finally got a chance to try out mplayer-bin. mplayerplug-in seems to work now.

time will tell if it works to me satisfaction, i suppose.
Primer wrote:[
My mplayerplug-in-bin 3.11 on http://sh.nu/mplayer shells out to mplayer-bin in $PATH. Is this what you used? If not, did you build a 32 bit mplayerplug-in 3.11 and do the mplayer symlink trick? Kinda confused here...

Daniel
Sheepdog
Why Risk It? | Samba Howto
Top
Pajarico
Guru
Guru
User avatar
Posts: 493
Joined: Sat May 01, 2004 5:44 pm
Location: Madrid, España.
Contact:
Contact Pajarico
Website

  • Quote

Post by Pajarico » Tue Feb 14, 2006 4:37 pm

Hi,

I'm using mplayer-bin-1.0_pre7-r3 and since I upgraded to xorg-server-1.0.1-r3 and libX11-1.0.0-r1 I run into this:

Code: Select all

$ mplayer-bin
/opt/mplayer-bin/bin/mplayer-bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
libGL.so.1 belongs to app-emulation/emul-linux-x86-xlibs-2.2.1-r, re-emerging it didn't help.

Any thoughts?
Gentoo: the only software worth paying that is free.
Top
Primer
n00b
n00b
Posts: 54
Joined: Fri Dec 03, 2004 12:00 am
Location: Torrance, CA, USA
Contact:
Contact Primer
Website

  • Quote

Post by Primer » Tue Feb 14, 2006 5:57 pm

Your video card driver should provide a 32 bit libGL.so.1. I know the nvidia-glx package is multilib aware, and ATI's driver should be too. If you have neither an ATI nor nvidia video card, ensure that the libGL.so.1 you have from the app-emulation/emul-linux-x86-xlibs package actually points to a real 32 bit library.

Daniel
This is necessary...life, feeds on life...
Top
Pajarico
Guru
Guru
User avatar
Posts: 493
Joined: Sat May 01, 2004 5:44 pm
Location: Madrid, España.
Contact:
Contact Pajarico
Website

  • Quote

Post by Pajarico » Tue Feb 14, 2006 8:20 pm

I have 2 libGL.so.1:

Code: Select all

$ ls -l /emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1
lrwxrwxrwx  1 root root 12 Feb 14 17:11 /emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1 -> libGL.so.1.2

$ ls -l /usr/lib32/opengl/nvidia/lib/libGL.so.1
lrwxrwxrwx  1 root root 17 Feb 14 17:09 /usr/lib32/opengl/nvidia/lib/libGL.so.1 -> libGL.so.1.0.8178
One is provided by emul libs and the other by nvidia drivers.
Both are 32 bit libs:

Code: Select all

$ file /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8178 
/usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8178: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped

$ file /emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 
/emul/linux/x86/usr/lib/opengl/xorg-x11/lib/libGL.so.1.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
See anything strange?
Gentoo: the only software worth paying that is free.
Top
Pajarico
Guru
Guru
User avatar
Posts: 493
Joined: Sat May 01, 2004 5:44 pm
Location: Madrid, España.
Contact:
Contact Pajarico
Website

  • Quote

Post by Pajarico » Sat Feb 18, 2006 10:34 pm

Seems like something is breaking the opengl layout. Some of the symlinks were missing:

Code: Select all

ln -s /usr/lib32/opengl/nvidia/lib/libGL.so.1.0.8178 /usr/lib32/libGL.so.1
ln -s /usr/lib32/opengl/nvidia/lib/libGLcore.so.1.0.8178 /usr/lib32/libGLcore.so.1
ln -s /usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.1.0.8178 /usr/lib32/libnvidia-tls.so.1
Now 32 bits apps works but 64 doesn't. Probably is related to modularized xorg, but i'm going off-topic here because the missing symlinks affects both 32 and 64 bit libs, and also xorg can't load the glx module (which is there in the right path) so this is not a mplayer-bin issue.

Regards.
Gentoo: the only software worth paying that is free.
Top
feminista
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Fri Mar 25, 2005 6:56 am

  • Quote

Post by feminista » Wed Mar 15, 2006 6:29 am

EDIT: never mind, just forgot to copy over the .so files to ~/.mozilla/plugins
Top
Luper
n00b
n00b
Posts: 11
Joined: Fri Apr 28, 2006 1:31 am

  • Quote

Post by Luper » Sat Apr 29, 2006 9:44 pm

Hi,

mplayerplug-in-bin does not work for me, as it seems to be linked against pangocairo :

Code: Select all

LoadPlugin: failed to initialize shared library /opt/netscape/plugins/mplayerplug-in-gmp.so [libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
Which is 64bit :

Code: Select all

file /usr/lib/libpangocairo-1.0.so.0.1003.0 
/usr/lib/libpangocairo-1.0.so.0.1003.0: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
Is there a clean way to have the 32 bit version of pangocairo in /usr/lib32 ?
Top
wklam
n00b
n00b
Posts: 44
Joined: Mon May 09, 2005 1:50 am

  • Quote

Post by wklam » Tue Jun 13, 2006 2:10 pm

Luper wrote:Hi,

mplayerplug-in-bin does not work for me, as it seems to be linked against pangocairo :

Code: Select all

LoadPlugin: failed to initialize shared library /opt/netscape/plugins/mplayerplug-in-gmp.so [libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
Which is 64bit :

Code: Select all

file /usr/lib/libpangocairo-1.0.so.0.1003.0 
/usr/lib/libpangocairo-1.0.so.0.1003.0: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
Is there a clean way to have the 32 bit version of pangocairo in /usr/lib32 ?
I had the same problem. Use 3.11 instead of 3.25. See this thread.

http://forums.gentoo.org/viewtopic-t-44 ... rt-25.html

-William
Top
Luper
n00b
n00b
Posts: 11
Joined: Fri Apr 28, 2006 1:31 am

  • Quote

Post by Luper » Tue Jun 13, 2006 3:11 pm

Thanks it works now (just had to symlink /usr/lib/nsbrowser/plugins/mplayerplug-in* in /usr/lib32/nsbrowser/plugins in addition to installing mplayer-plugin-bin 3.11)
Top
Locked

251 posts
  • Page 10 of 11
    • Jump to page:
  • Previous
  • 1
  • …
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic