Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian)
  • Search

[AMD64] mplayer32bit senza chroot

Questa è la sezione italiana del forum gentoo destinata a fornire supporto all'omonima distribuzione.

Moderator: ago

Post Reply
  • Print view
Advanced search
10 posts • Page 1 of 1
Author
Message
lavish
Bodhisattva
Bodhisattva
Posts: 4296
Joined: Mon Sep 13, 2004 10:33 am
Contact:
Contact lavish
Website

[AMD64] mplayer32bit senza chroot

  • Quote

Post by lavish » Mon Dec 13, 2004 5:54 am

E' stato creato un ebuild per utilizzare mplayer a 32bit su un sistema a 64bit senza chroot.
Per tutto questo dobbiamo ringraziare Primer che ha fatto davvero un buon lavoro.

Topic originale

Riporto le istruzioni per installare mplayer32:
Make sure you have a PORTDIR_OVERLAY defined, skip this step if
it's already defined:

echo 'PORTDIR_OVERLAY=/usr/local/portage' >> /etc/make.conf

Extract the tarball into your PORTDIR_OVERLAY:

cd /usr/local/portage
wget -O - http://sh.nu/download/ebuilds/mplayer/m ... in.tar.bz2 | tar xvfj -

Emerge everything:

USE="quicktime real" emerge -va mplayer32-bin

This will show a large list of dependencies if you don't have any supporting
32 bit emulation libraries. If you already have these libraries installed,
the minimun you'll see is three packages to be installed.

Review the output, and say "Yes".

Fix some rampant stupidity in the emul-linux-x86-soundlibs
ebuild:

cd /emul/linux/x86/usr/lib/
rm -f libasound.so.1
ln -s libasound.so.2 libasound.so.1

Test it:

wget http://www.sh.nu/download/ebuilds/star_ ... railer.mov
mplayer star_wars_episode_III_trailer.mov

(Turns out this video will still play without 32 bit codecs. I need to add
more videos to test)

Issues:

Seems that alsa doesn't like 32 emulation? Use mplayer -ao oss and it'll
work or modprobe snd-ioctl32, presuming you compiled that module or use
the alsa-driver package.

You might also want to set the default -vo to xv in either ~/.mplayer/config
or /opt/mplayer32/share/mplayer.conf in the event it doesn't work.

Mplayer was compiled with GL support, which presumes nvidia. It will install
32 bit nvidia GL libraries for now.

Additional:

I've compiled two special binary packages of my new mplayerplug-in32. It's
a 32 bit mplayerplug-in that spawns the mplayer32 binary instead of the
normal mplayer binary. One's gtk1, the other gtk2. I need gtk1 because my
mozilla is built with gtk1 because of an issue with mozilla and gtk2 that
I simply can't stand. If you're up to date on mozilla, you very likely have
the gtk2 version, since the latest mozilla ebuild doesn't even support the
gtk2 USE flag any more (which means you can't omit it. It's gtk2 or nothing)

To install, download, rename the file to remove the -gtkX suffix, put it in
/usr/portage/packages/All (make the dir if it doesn't exist) and:

emerge -vKOa mplayerplug-in32

Questions?

Primer vi@sh.nu
Buoni wmv a tutti ;)
minimalblue.com | secgroup.github.io/
Top
earcar
Guru
Guru
User avatar
Posts: 425
Joined: Mon Sep 20, 2004 12:50 pm
Location: Bologna, Italy

  • Quote

Post by earcar » Wed Dec 15, 2004 10:38 pm

Grande lavish! Stavo proprio cercando una guida così..... :wink:

PS: AMD64 rocks!
Bip... bip... bip... -- Sputnik 1
Top
wildancer
Guru
Guru
Posts: 472
Joined: Fri Apr 02, 2004 1:35 pm

  • Quote

Post by wildancer » Tue Jun 28, 2005 3:01 pm

ho solo un problema col plugin...

Code: Select all

emerge mplayerplug-in32
Calculating dependencies ...done!
>>> emerge (1 of 1) net-www/mplayerplug-in32-2.80 to /
>>> Downloading http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/distfiles/mplayerplug-in-2.80.tar.gz
--16:58:07--  http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/distfiles/mplayerplug-in-2.80.tar.gz
           => `/usr/portage/distfiles/mplayerplug-in-2.80.tar.gz'
Resolving www.die.unipd.it... 147.162.218.5
Connecting to www.die.unipd.it[147.162.218.5]:80... connected.
HTTP richiesta inviata, aspetto la risposta... 200 OK
Lunghezza: 174,111 [application/x-tar]

100%[====================================>] 174,111      194.24K/s

16:58:08 (193.63 KB/s) - `/usr/portage/distfiles/mplayerplug-in-2.80.tar.gz' saved [174,111/174,111]

!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/digest-mplayerplug-in32-2.70
Eppure ho messo l'ultima versione degli ebuild presente sul sito :(
Top
gutter
Bodhisattva
Bodhisattva
User avatar
Posts: 7162
Joined: Sat Mar 13, 2004 10:37 pm
Location: Aarau, Aargau, Switzerland
Contact:
Contact gutter
Website

  • Quote

Post by gutter » Tue Jun 28, 2005 8:54 pm

Hai provato a lanciare:

Code: Select all

ebuild <path_to_ebuild> digest
:?:
Registered as User #281564 and Machines #163761
Top
wildancer
Guru
Guru
Posts: 472
Joined: Fri Apr 02, 2004 1:35 pm

  • Quote

Post by wildancer » Tue Jun 28, 2005 9:21 pm

erano già belli e digeriti, secondo me ci deve essere qualche stupido problema al livello errore nel nom di qualche file... bah... perche vedo che mi scarica un pacchetto a cui manca un 32... devo leggere un altro 100naio di volte l'ebuild
Top
gutter
Bodhisattva
Bodhisattva
User avatar
Posts: 7162
Joined: Sat Mar 13, 2004 10:37 pm
Location: Aarau, Aargau, Switzerland
Contact:
Contact gutter
Website

  • Quote

Post by gutter » Tue Jun 28, 2005 9:42 pm

Proprio per il fatto che il digest esisteva ricrealo ;)
Registered as User #281564 and Machines #163761
Top
wildancer
Guru
Guru
Posts: 472
Joined: Fri Apr 02, 2004 1:35 pm

  • Quote

Post by wildancer » Tue Jun 28, 2005 10:15 pm

ho fatto, era da schiaffare nell'/usr/portage/package/All il pacchetto non avevo capito :) solo che ora che è compilato credo non sia per firefox64, non lo vede :/ beh ovvio... ufff, java a 64 va (per sentito dire... ancora devo capire dove sta il plugin nel jre di sun) e flash su firefox compilato pure, che peccato!
Top
earcar
Guru
Guru
User avatar
Posts: 425
Joined: Mon Sep 20, 2004 12:50 pm
Location: Bologna, Italy

  • Quote

Post by earcar » Wed Jun 29, 2005 11:27 am

wildancer wrote:flash su firefox compilato pure
8O What the hell??
Come hai fatto?

EDIT: mi sono accorto solo ora dell'altro 3d.... se ai mod da fastidio che tu mi risponda qui continuiamo nell'altro
Bip... bip... bip... -- Sputnik 1
Top
wildancer
Guru
Guru
Posts: 472
Joined: Fri Apr 02, 2004 1:35 pm

  • Quote

Post by wildancer » Wed Jun 29, 2005 1:32 pm

nada, falso allarme, se lo linki nella directory lo vedi in about:plugins ma non funziona (o meglio funziona male... vedo www.190.it ma non www.corveleno.com... scusate per i siti non proprio inerenti ma... Ergo: java e mplayerplug-in funzionano a patto che java sia blackdown, su firfox-bin però funziona solo flash e dovrebbe funzionare anche mplayerplug-in32... però mplayer32 a me non funziona ergo credo che non funzionerà nemmeno il plugin... soluzione? ora attacco a rompere e palle a macromedia ed intanto installo qualche altro flash...
Top
GiRa
l33t
l33t
Posts: 717
Joined: Thu Apr 07, 2005 1:33 pm

  • Quote

Post by GiRa » Mon Jul 04, 2005 7:59 pm

A me funzionano i .wmv senza aver fatto nulla! Ho solo il supporto per emulazione a 32bit nel kernel e le varie lib32 installate.

Code: Select all

 $ file /usr/bin/mplayer
/usr/bin/mplayer: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped
Top
Post Reply
  • Print view

10 posts • Page 1 of 1

Return to “Forum italiano (Italian)”

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