OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: MrSquishy on October 18, 2004, 04:29:21 pm

Title: Got Mplayer working on 3.5.1
Post by: MrSquishy 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.
Title: Got Mplayer working on 3.5.1
Post by: deegy 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
Title: Got Mplayer working on 3.5.1
Post by: MrSquishy 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.
Title: Got Mplayer working on 3.5.1
Post by: zenyatta 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.
Title: Got Mplayer working on 3.5.1
Post by: katufzed 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
Title: Got Mplayer working on 3.5.1
Post by: Apage43 on October 31, 2004, 09:39:42 pm
Mplayer is my favorite mediaplayer.
Always.
Title: Got Mplayer working on 3.5.1
Post by: marsupilami23 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.
Title: Got Mplayer working on 3.5.1
Post by: Teletubbie 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