Page 1 of 5 123 ... LastLast
Results 1 to 10 of 51

Thread: HOWTO: 32bit mplayer on amd64 (wmv9)

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Trondheim, Norw
    Beans
    56
    Distro
    Ubuntu 6.10 Edgy

    Arrow 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"
    Last edited by Conq; June 23rd, 2006 at 09:48 AM.

  2. #2
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    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.

  3. #3
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    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?

  4. #4
    Join Date
    Sep 2005
    Location
    Trondheim, Norw
    Beans
    56
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: 32bit mplayer on amd64 (wmv9)

    Thats strange, do you have the same problem with all files?

  5. #5
    Join Date
    May 2005
    Location
    Lecce, Italy
    Beans
    6,168
    Distro
    Ubuntu

    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)

  6. #6
    Join Date
    Sep 2005
    Location
    Trondheim, Norw
    Beans
    56
    Distro
    Ubuntu 6.10 Edgy

    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.

  7. #7
    Join Date
    Apr 2005
    Location
    Athens
    Beans
    88
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: HOWTO: 32bit mplayer on amd64 (wmv9)

    it works!...thanks!
    Only one problem audio sync on live stream.... any ideas?

  8. #8
    Join Date
    Jan 2006
    Beans
    7

    Unhappy Re: HOWTO: 32bit mplayer on amd64 (wmv9)

    root@stallman:/home/fmmarzoa# mplayer32
    mplayer32: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
    root@stallman:/home/fmmarzoa# ls -la /usr/lib/libpng12.so.*
    lrwxrwxrwx 1 root root 19 2006-01-02 23:45 /usr/lib/libpng12.so.0 -> libpng12.so.0.1.2.8
    -rw-r--r-- 1 root root 161032 2005-08-22 18:52 /usr/lib/libpng12.so.0.1.2.8
    root@stallman:/home/fmmarzoa# ldconfig
    root@stallman:/home/fmmarzoa# mplayer32
    mplayer32: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

    The libraries seems to be right there. Unfortunatly, I cannot use ltrace over mplayer32 due architecture incompatiblities to do a deeper debug, but if someone knows what's happen without further information...

  9. #9
    Join Date
    Jan 2006
    Beans
    7

    Re: HOWTO: 32bit mplayer on amd64 (wmv9)

    The previous problem was solved just installing ia32-libs-gtk, for some reason I didn't see that package before but it appear after an apt update and then I could install it. Anyway I've another library missing problem now:

    root@stallman:/etc# mplayer32
    mplayer32: error while loading shared libraries: libdrm.so.1: cannot open shared object file: No such file or directory

    I think I've now installed everything, so I do not figure out what's the problem.

  10. #10
    Join Date
    Jan 2006
    Beans
    7

    Smile Re: HOWTO: 32bit mplayer on amd64 (wmv9)

    Ok, things can be done this way (I got these ideas from this thread on skype):

    Download a 32bit version of libdrm, such as this:

    libdrm1_1.0.3-2_i386.deb

    Extract its files, this can be done with dpkg like:

    dpkg -x libdrm1_1.0.3-2_i386.deb .

    (The last dot means that files will be extracted in current directory).

    After that, you should have an 'usr' subdirectory below your current one. So if you do:

    #ls usr/lib/

    from your current directory, it should show:

    libdrm.so.1 libdrm.so.1.0.0

    Ok, now we'll move these files to our /usr/lib32 directory, in which mplayer32 expects find them, to do that:

    mv usr/lib/* /usr/lib32

    Now if you do a:

    ls -l /usr/lib32/libdrm*

    You should get:

    lrwxrwxrwx 1 root root 15 2006-01-03 23:37 /usr/lib32/libdrm.so.1 -> libdrm.so.1.0.0
    -rw-r--r-- 1 root root 23032 2005-08-24 12:18 /usr/lib32/libdrm.so.1.0.0

    Now just run ldconfig to update library cache:

    ldconfig

    And the problem with libdrm should be history.

    (Of course, the majority of these actions needs root priviledges, so you should need to log as root or use sudo in each step.)
    Last edited by Buenaventura Durruti; January 3rd, 2006 at 11:58 PM.

Page 1 of 5 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •