Per tutto questo dobbiamo ringraziare Primer che ha fatto davvero un buon lavoro.
Topic originale
Riporto le istruzioni per installare mplayer32:
Buoni wmv a tuttiMake 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


