HOWTO: 32bit mplayer on amd64 (wmv9)
UPDATE: I Have now made a package for Dapper Drake as well. See http://ubuntuforums.org/showthread.php?t=62685
I quick search through the forum suggested that there is quite a lot of confusion around the issue
of playing wmv9 files on amd64. I'll try to clarify and give you a way to play wmv9 on amd64 without resorting
to a chroot.
WMV9 is a closed format. There are no open source decoders available. Mplayer uses the closed source 32 bits
windows dll's to get around this issue. But a 64 bit mplayer cannot use 32 bit dll's.
So - to get 32 bits dll's to work you need a 32 bit mplayer. But mplayer requires a lot of extra libraries, and they too have to be made 32 bits.
I have made a package that contains all the libraries and binaries (with the exception of the win32 codecs)
What you need to do to get things too work:
1. Download the essential codec package from "http://www.mplayerhq.hu/homepage/design7/dload.html"
2. Untar contents into /usr/lib/win32
3. Get the .deb from my website:
wget http://www.stud.ntnu.no/~grannas/deb...e6-1_amd64.deb
4. Install it:
sudo dpkg -i mplayer32_1.0pre6-1_amd64.deb
5. Update ldconfig to make sure it gets the new libraries
sudo ldconfig
6. Run mplayer32
The binary is called mplayer32 too avoid collisions with the binary from the "official" mplayer package.
NOTE: The package is a kludge, it has a lot of binaries and libraries from all over the place, it should
be split up in many packages, but it's put in a single place
NOTE: The -vo:gl might break, I have nvidia on my system, this might break yours.
NOTE: If you are getting missing libraries, please make sure that you have installed the 32 bit compability
libraries
UPDATE: The libraries are called "ia32-libs-gtk" and "ia32-libs".
UPDATE2: If you want realmedia support - grab the "all" w32codecs instead of the essential package in step 1.
UPDATE3: In addition, you need "ia32-libs-openoffice.org"
UPDATE4: If you are using this package on Breezy, and experience no sound, you might want to try "ln -s /tmp/.esd-1000 /tmp/.esd"
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
I can't try it right now (several problems with my RAM) but if this really solves the lack of wmv9 support in 64 bit systems you're GREAT.
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
This thing happens to me:
alberto@ubuntu:~$ mplayer32 /home/alberto/daniel.wmv
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE2 supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /home/alberto/daniel.wmv.
File not found: '/home/alberto/daniel.wmv'
Failed to open /home/alberto/daniel.wmv
And the file does exist. Any ideas?
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
Thats strange, do you have the same problem with all files?
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
Quote:
Originally Posted by Conq
Thats strange, do you have the same problem with all files?
Yes, I do. And I have the same problem with mplayer 64bit (I installed it after yours so as to see if one of them worked)
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
Try to cat the file directly into mplayer like this:
cat foo.wmv | mplayer -
and see if that helps.
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
I got this
cat: daniel.wmv: No such file or directory
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
Cannot test OS support for SSE, disabling to be safe.
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes) XMMS: found plugin: libmpg123.so (MPEG Layer 1/2/3 Player 1.2.10)
XMMS: found plugin: libwav.so (Wave Player 1.2.10)
XMMS: found plugin: libmikmod.so (MikMod Player 1.2.10)
XMMS: found plugin: libcdaudio.so (CD Audio Player 1.2.10)
XMMS: found plugin: libtonegen.so (Tone Generator 1.2.10)
XMMS: found plugin: libvorbis.so (Ogg Vorbis Player 1.2.10)
XMMS: found plugin: libxmms-flac.so (Reference FLAC Player v1.1.1)
XMMS: found plugin: libxmmsmad.so (MAD MPEG Decoder plugin 0.7)
XMMS: found plugin: libmpg123-ja.so (MPEG Layer 1/2/3 Player 1.2.10j_20040302)
XMMS: Closing plugin /usr/lib/xmms/Input/libmpg123-ja.so
XMMS: Closing plugin /usr/lib/xmms/Input/libxmmsmad.so
XMMS: Closing plugin /usr/lib/xmms/Input/libxmms-flac.so
XMMS: Closing plugin /usr/lib/xmms/Input/libvorbis.so
XMMS: Closing plugin /usr/lib/xmms/Input/libtonegen.so
XMMS: Closing plugin /usr/lib/xmms/Input/libcdaudio.so
XMMS: Closing plugin /usr/lib/xmms/Input/libmikmod.so
XMMS: Closing plugin /usr/lib/xmms/Input/libwav.so
XMMS: Closing plugin /usr/lib/xmms/Input/libmpg123.so
Exiting... (End of file)
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
This is not a problem with the mplayer32 binary. You can't even cat the file. See if your filesystem
is corrupted or try another file.
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
I agree with you. I'll try to solve the problem.
Re: HOWTO: 32bit mplayer on amd64 (wmv9)
it works!...thanks!
Only one problem audio sync on live stream.... any ideas?