Код отслеживания Google Analytics.

Oct 15, 2009

mplayer32 on debian amd64

Well actually mplayer on 64bit debian is good enough. But today evening I could not play old movie from old CD. After investigating it was clear mplayer cannot find an audio codec:
...
Requested audio codec family [voxware] (afm=dshow) not available.
Enable it at compilation.
Cannot find codec for audio format 0x75.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
...
But I was absolutely sure everything was nice in the past. The investigation of the issue showed the codec was accessible only for 32-bit version. Therefore I've found fast way to install mplayer32.



The main ideas are described here http://ubuntuguide.org/wiki/Ubuntu:Gutsy#Mplayer_on_64bit_with_wmv9_support and here http://www.gs1.ubuntuforums.org/showthread.php?t=62685). All it was about Ubuntu and with moving into general directories like /usr - so I've udapted it about my way. Probably I've missed somthing, but the the main steps were:

$ mkdir -p ~/bin/mplayer32
$ cd ~/bin/mplayer32/
$ su
# wget http://folk.ntnu.no/grannas/debs/mplayer32_20070130-1_amd64.deb
# dpkg -x mplayer32_20070130-1_amd64.deb
# wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2
# tar xjf essential-20071007.tar.bz2
# mkdir -p usr/lib/win32/
# mv essential-20071007/* usr/lib/win32/
# rmdir  essential-20071007
# wget http://ftp.uk.debian.org/debian/pool/main/l/lzo/liblzo1_1.08-3_i386.deb
# dpkg -x ./liblzo1_1.08-3_i386.deb ./
# wget http://ftp.uk.debian.org/debian/pool/main/o/openldap2.3/libldap-2.3-0_2.3.30-5+etch2_i386.deb
# dpkg -x ./libldap-2.3-0_2.3.30-5+etch2_i386.deb ./
# cd usr/lib
# ln -s libldap_r-2.3.so.0 libldap_r.so.2
# ln -s liblber-2.3.so.0 liblber.so.2
# cd -
# ln -s /home/ns/bin/mplayer32/usr/lib/win32 /usr/local/lib/win32
# chown : -R ./*


after it I was using following shell script for see the movie:

#!/bin/bash

cd ~/bin/mplayer32
LD_LIBRARY_PATH="./usr/lib32:./usr/lib:${LD_LIBRARY_PATH:-/usr/lib}" ./usr/bin/mplayer32 $@

2 comments:

Anonymous said...

Many thanks for describing the procedure to get mplayer working on ubuntu/amd64.

I make a deb package that can temporarily be downloaded at
http://www.lirmm.fr/~mancheron/

Beggy said...

I'm really glad to see it helpful :) Unfortunately I have no connection with you Anonymous and cannot comment your deb package :))