Author Topic: Got Mplayer working on 3.5.1  (Read 3444 times)

MrSquishy

  • Full Member
  • ***
  • Posts: 159
    • View Profile
    • http://
Got Mplayer working on 3.5.1
« on: October 18, 2004, 04:29:21 pm »
After trying for a while to get mplayer working on 3.5.1, I finally got it.  I installed XMMS already which I believe setup a lot of the symlinks for me.

I used the following packages from xmms-embedded.sourceforge.net/feed/oz32

mplayer_20030614-10_armv4l-strongarm.ipk
libvorbisidec1_20030614-1_armv4l-strongarm.ipk


Extract them manually with:

ar -x mplayer_20030614-10_armv4l-strongarm.ipk
tar zxvf data.tar.gz

Copy the usr/bin/mplayer to /mnt/card/usr/bin/mplayer (or appropriate destination)
and etc/mplayer to /mnt/card/etc/mplayer (again, XMMS already has symlinks created at root, I believe)

Then you need usr/lib/libvorbisidec.so.1.0.2 out of the libvorbisidec package. (otherwise it'll complain about an ogg format and you cant play anything, even non-ogg)

You dont need to bother with the symlinks out of that directory.
Replace the old (newer) libvorbisidec.so.1.0.2 with the one from the package.

I had to remove /root/.mplayer/config and /root/.mplayer/codecs.conf to finish it up.

Mplayer is working in XMMS for me now, just like it did in 3.3.6pre1.

deegy

  • Newbie
  • *
  • Posts: 10
    • View Profile
Got Mplayer working on 3.5.1
« Reply #1 on: October 18, 2004, 05:51:01 pm »
 
You star
that works very well

I just extracted the mplayer and put it in /mnt/card/usr/lib
and
ln -s /mnt/card/usr/bin/mplayer /usr/bin/mplayer
and it works
I already had all of the xmms packages installed.....

woooot

I had tried it with other feeds of mplayer but that is obviously the one



I can now watch black books all the way to work .....dum dum dum


thanks and may i be the first to wish you a merry christmas and happy new year ......

Dg

MrSquishy

  • Full Member
  • ***
  • Posts: 159
    • View Profile
    • http://
Got Mplayer working on 3.5.1
« Reply #2 on: October 18, 2004, 06:39:15 pm »
Well there seems to be a small problem...

XMMS wont play any .ogg's if you switch that lib.
It will still play .ogm's if you have any ogg encoded movies.

So for those of you who need oggs and movies, Im sorry if I caused any hassles.  You can swap them around to get what you need working.

Not elegant, but hopefully 3.5.2 will be out soon with a native mplayer.
« Last Edit: October 19, 2004, 12:20:01 am by MrSquishy »

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Got Mplayer working on 3.5.1
« Reply #3 on: October 18, 2004, 06:59:31 pm »
This situation with mediaplayer is quite irritating to me - if an old version of a package can be made to work in a new version of OZ then what causes the regression? I definitely don't mean to be rude to people who work on this - I'd run screaming if it was my job - I just wish we had a stable, reliable and useable media player in OZ. Hopefully that time is not too far away. Keep up the good work, guys...

z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

katufzed

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.projectgalileo.org.uk
Got Mplayer working on 3.5.1
« Reply #4 on: October 19, 2004, 11:35:11 am »
Try this:
xmms_movie.sh:
#!/bin/sh
rm -rf /usr/lib/libvorbisidec.so.1.0.2
ln -s /mnt/card//usr/lib/libvorbisidec.so.1.0.2a /usr/lib/libvorbisidec.so.1.0.2
xmms

the file:
/mnt/card//usr/lib/libvorbisidec.so.1.0.2a
comes from the libvorbis file  in the xmms-sourceforge site above

xmms_audio.sh:
#!/bin/sh
rm -rf /usr/lib/libvorbisidec.so.1.0.2
ln -s /mnt/card//usr/lib/libvorbisidec.so.1.0.2 /usr/lib/libvorbisidec.so.1.0.2
xmms

where:
/usr/lib/libvorbisidec.so.1.0.2 softlinks to /mnt/card/usr/lib/libvorbisidec.so.1.0.2


..you can then put a couple of desktop shortcuts to play either movies or sound files

Apage43

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://apage43.afreehost.org
Got Mplayer working on 3.5.1
« Reply #5 on: October 31, 2004, 09:39:42 pm »
Mplayer is my favorite mediaplayer.
Always.

marsupilami23

  • Newbie
  • *
  • Posts: 5
    • View Profile
Got Mplayer working on 3.5.1
« Reply #6 on: October 31, 2004, 11:30:41 pm »
How where you able to extract the files from both libvorbis and mplayer? I've tried tar -x, tar -xvf, and other variables but with no luck.

Teletubbie

  • Sr. Member
  • ****
  • Posts: 252
    • View Profile
    • http://
Got Mplayer working on 3.5.1
« Reply #7 on: November 01, 2004, 06:28:14 am »
Hi,
you can extract the ipks with ar if tar dont works:
ar -x blabla.ipk
Cheers,
Sam
SL-5500G
OZ 3.3.6-pre1
Opie 1.1.4