New package: Updated MPlayer

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
Axatax
Posts: 85
Joined: Tue Jun 16, 2009 3:09 pm
Location: Fort Lauderdale, Florida USA

New package: Updated MPlayer

Unread postby Axatax » Sun Oct 05, 2014 1:17 am

Sent an updated version of MPlayer and some libraries to /incomming.

This version is a small modification to the existing distribution with the following changes:

- The CSS code has been "backported" into the mainstream libdvdcss source, and MPlayer now uses external versions of libdvdcss, libdvdnav, and libdvdread instead of mpdvdkit. This esentially means we now have modern DVD access libraries available on this platform, and I'm working to to make use of them with a modern MPlayer. These three libs are used by all of the manstream Linux media players, AFAIK.

- DTS audio support was added. This will eliminate the white noise barrage on titles such as FOTR during the transitions during certain chapter breaks, etc. MPlayer is now able to handle all DVD audio formats used by movie disks.

Compatibility is now 100% on all the commercailly pressed DVDs I've tested.

Review the release notes, as the DVDGENDEV variable has been changed to DVDCSS_GENDEV to maintain consistency with other variables used by libdvdcss.

I took _extreme_ care to make sure this is a 1:1 drop-in replacement for the existing (excellent) MPlayer/libdvdread. All the original material and patches have been retained in the .tardist. Please test and report any problems.

neko_libdts-0.0.2.tardist
neko_libdvdcss-1.2.9.tardist
neko_libdvdnav-4.2.1.tardist
neko_libdvdread-4.2.1.tardist
neko_mplayer-1.0rc1-1.tardist
Last edited by Axatax on Sun Oct 05, 2014 1:50 am, edited 3 times in total.
:Octane2: Dual R14K@600MHz, 2GB RAM, V12, 1x72GB HDD
:O2: R10K@175MHz, 512MB RAM, 1x72GB HDD
:Cube: 68040@33MHz, 128MB RAM, NeXTdimension 32MB, 2x 4.3GB HDD

...And lots of other UNIX-like systems for which there is no icon.

Axatax
Posts: 85
Joined: Tue Jun 16, 2009 3:09 pm
Location: Fort Lauderdale, Florida USA

Re: New package: Updated MPlayer

Unread postby Axatax » Sun Oct 05, 2014 1:37 am

I have a GTK1 version of the mplayer binary avail also, but I don't know what the consenus here is WRT to this toolkit so I'll keep it out of a nekodist for now. This is what I use myself as bringing up the menus won't bog the whole player down, etc.

http://home.ix.netcom.com/~jjingber/mpl ... tk1.tar.gz
:Octane2: Dual R14K@600MHz, 2GB RAM, V12, 1x72GB HDD
:O2: R10K@175MHz, 512MB RAM, 1x72GB HDD
:Cube: 68040@33MHz, 128MB RAM, NeXTdimension 32MB, 2x 4.3GB HDD

...And lots of other UNIX-like systems for which there is no icon.

User avatar
hamei
Posts: 10435
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: New package: Updated MPlayer

Unread postby hamei » Sun Oct 05, 2014 2:05 am

Axatax wrote:Sent an updated version of MPlayer and some libraries to /incoming.

I'm sitting in front of /incoming like the RCA Victor dog ... thank you very much, ax. Can hardly wait to get this on the disk.

Out of curiosity, there was some friction within the mplayer group about multi-processor support. There was a fork to develop multi-core, then I read that MPlayer had relented and added better multicore support themselves.

Is that factual ? If so, this one should be even better for 2p SGI's than the prior version. :D :D :D
I spent a fortune on booze, birds, and fast cars ... the rest I just squandered

User avatar
Geoman
Donor
Donor
Posts: 825
Joined: Thu May 26, 2005 3:37 am
Location: Munich, Germany
Contact:

Re: New package: Updated MPlayer

Unread postby Geoman » Sun Oct 05, 2014 2:28 am

Thank you!! This is highly appreceated! Now I have to get myself an SCSI DVD. that I want to try out! Cool!
:Indy: :O2: :O2: :Indigo: :Indigo2IMP: :Octane: :Octane2: :Octane2:
SGI - the legend will never die!!

Axatax
Posts: 85
Joined: Tue Jun 16, 2009 3:09 pm
Location: Fort Lauderdale, Florida USA

Re: New package: Updated MPlayer

Unread postby Axatax » Mon Oct 06, 2014 11:54 pm

Out of curiosity, there was some friction within the mplayer group about multi-processor support. There was a fork to develop multi-core, then I read that MPlayer had relented and added better multicore support themselves.

Is that factual ? If so, this one should be even better for 2p SGI's than the prior version.


Keep in mind this is the same version of MPlayer, just with updated DVD libraries.

I'm actually working on the latest MPlayer, which is why I split these libs out of the old build.
:Octane2: Dual R14K@600MHz, 2GB RAM, V12, 1x72GB HDD
:O2: R10K@175MHz, 512MB RAM, 1x72GB HDD
:Cube: 68040@33MHz, 128MB RAM, NeXTdimension 32MB, 2x 4.3GB HDD

...And lots of other UNIX-like systems for which there is no icon.

vegac
Posts: 745
Joined: Thu Jan 23, 2003 11:34 am
Contact:

Re: New package: Updated MPlayer

Unread postby vegac » Fri Dec 05, 2014 11:35 am

I don't envy you! I helped back on the original mplayer ports (did some of the platform-specific code to get things playing faster on these machines) and have a few nightmares of the pain...

User avatar
hamei
Posts: 10435
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: New package: Updated MPlayer

Unread postby hamei » Tue Dec 09, 2014 6:39 am

Axatax wrote:Sent an updated version of MPlayer and some libraries to /incomming.

Finally got it ! Hooray ! thanks jp, I kept looking in all the wrong places.

but alas, much sadness in Mudville :(

Code: Select all

urchin 19% mplayer "George Foreman vs Ron Lyle 1976.avi"
 1825:mplayer: rld: Fatal Error: Cannot Successfully map soname 'libdvdread.so.4' version 'sgi4.0' under any of the filenames /usr/nekoware/lib/libdvdread.so.4:/usr/nekoware//lib/libdvdread.so.4:/opt/build/pango-1.12.4/pango/.libs/libdvdread.so.4:/usr/local/lib/libdvdread.so.4:/usr/lib32/libdvdread.so.4:/usr/lib32/internal/libdvdread.so.4:/lib32/libdvdread.so.4:/opt/lib32/libdvdread.so.4:/usr/nekoware/lib/libdvdread.so.4.4:/usr/nekoware//lib/libdvdread.so.4.4:/opt/build/pango-1.12.4/pango/.libs/libdvdread.so.4.4:/usr/local/lib/libdvdread.so.4.4:/usr/lib32/libdvdread.so.4.4:/usr/lib32/internal/libdvdread.so.4.4:/lib32/libdvdread.so.4.4:/opt/lib32/libdvdread.so.4.4:


Oh poo :(

Code: Select all

urchin 3% pwd
/usr/nekoware/lib
urchin 4% ls
...
libdvdread.so
libdvdread.so.4
libdvdread.so.4.0
libdvdread.so.5
libdvdread.so.5.2
...


so ...

Code: Select all

urchin 20% versions -n neko_libdvdread
I = Installed, R = Removed

   Name                 Version     Description

I  neko_libdvdread               2  DVD video disk access library, 4.2.1
I  neko_libdvdread.opt           2  optional software
I  neko_libdvdread.opt.relnotes           2  release notes
I  neko_libdvdread.sw            2  software
I  neko_libdvdread.sw.hdr           2  headers
I  neko_libdvdread.sw.lib           2  shared libraries
urchin 21% versions -n neko_libdvdread.sw.lib
I = Installed, R = Removed

   Name                 Version     Description

I  neko_libdvdread               2  DVD video disk access library, 4.2.1
I  neko_libdvdread.sw            2  software
I  neko_libdvdread.sw.lib           2  shared libraries

Oh where oh where is my version sgi4.0 ? Plus now I can't watch George and Ron smack each other around for twenty minutes :(

Mr Axatax, are you out there somewhere ?
I spent a fortune on booze, birds, and fast cars ... the rest I just squandered

jpstewart
Donor
Donor
Posts: 435
Joined: Tue Sep 21, 2010 3:31 pm
Location: Southwestern Ontario, Canada

Re: New package: Updated MPlayer

Unread postby jpstewart » Tue Dec 09, 2014 1:26 pm

Hamei, it looks like you've got the libdvdread package from /beta installed. All the libdvdread.so.4* files are just symlinks to the version 5 library in that package. Check with 'ls -l'. Also, if you do 'elfdump -L /usr/nekoware/lib/libdvdread.so.5.2' you'll see in the IVERSION field that it is indeed sgi5.2 (or similar) instead of the sgi4.0 that mplayer is looking for.

I'm guessing that Axatax linked mplayer against the version of libdvdread from /current instead of /beta. And this looks like one case where the library symlink trick isn't good enough. The runtime linker is looking inside the library for version numbers rather than just at the filename. In that case, there's a problem (IMHO) with the dependencies in the mplayer beta package: it should depend on neko_libdvdread serial number = 1 rather than >= 1. Or, if the newer libdvdread package is compatible, the binary could be re-linked to it.
:Indigo2IMP: :Octane: :Indigo: :O3x0:
Sun SPARCstation 20, Blade 2500, T5240
HP C8000

vegac
Posts: 745
Joined: Thu Jan 23, 2003 11:34 am
Contact:

Re: New package: Updated MPlayer

Unread postby vegac » Tue Dec 09, 2014 2:04 pm

That's weird, since wasn't the point of this release that he moved it to the new separate libs?

User avatar
hamei
Posts: 10435
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: New package: Updated MPlayer

Unread postby hamei » Wed Dec 10, 2014 12:54 am

Well shee-(expletive deleted) ...

So the original problem was my fault, there are two mplayer versions, one with a gui and one without. I got them mixed together so one of each was present. Bad bad :oops:

Fixed that.

Now ...

Code: Select all

 urchin 26% mplayer "Test Me Deeply.avi"
 2329:mplayer: rld: Fatal Error: Cannot Successfully map soname 'libspeex.so.2' under any of the filenames /usr/nekoware/lib/libspeex.so.2:/work/pango-1.28.4/pango/.libs/libspeex.so.2:/usr/local/lib/libspeex.so.2:/opt/build/pango-1.12.4/pango/.libs/libspeex.so.2:/usr/nekoware//lib/libspeex.so.2:/usr/lib32/libspeex.so.2:/usr/lib32/internal/libspeex.so.2:/lib32/libspeex.so.2:/opt/lib32/libspeex.so.2:/usr/nekoware/lib/libspeex.so.2.2:/work/pango-1.28.4/pango/.libs/libspeex.so.2.2:/usr/local/lib/libspeex.so.2.2:/opt/build/pango-1.12.4/pango/.libs/libspeex.so.2.2:/usr/nekoware//lib/libspeex.so.2.2:/usr/lib32/libspeex.so.2.2:/usr/lib32/internal/libspeex.so.2.2:/lib32/libspeex.so.2.2:/opt/lib32/libspeex.so.2.2:
urchin 27%

libspeex ? wtf ? Not in current, not in beta. Here it is, whoopee

http://www.speex.org/

It's been outdated by Opie that's better in every way but I ain't going there ...

So, speex-1.2rc1,

./configure--prefix=/usr/nekoware

looks okay until the very end

Code: Select all

source='skeleton.c' object='skeleton.o' libtool=no \
depfile='.deps/skeleton.Po' tmpdepfile='.deps/skeleton.TPo' \
depmode=sgi /bin/sh ../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I.. -I/usr/nekoware/include    -mips4 -O3 -c99  -I/usr/nekoware/include -I/usr/include -c skeleton.c
/bin/sh ../libtool --mode=link cc  -mips4 -O3 -c99  -I/usr/nekoware/include -I/usr/include  -mips4 -L/usr/nekoware/lib -L/usr/lib32 -Wl,-rpath -Wl,/usr/nekoware/lib -o speexenc  speexenc.o wav_io.o skeleton.o ../libspeex/libspeex.la ../libspeex/libspeexdsp.la -L/usr/nekoware/lib -logg    -lm
mkdir .libs
cc -mips4 -O3 -c99 -I/usr/nekoware/include -I/usr/include -mips4 -Wl,-rpath -Wl,/usr/nekoware/lib -o .libs/speexenc speexenc.o wav_io.o skeleton.o  -L/usr/nekoware/lib -L/usr/lib32 ../libspeex/.libs/libspeex.so ../libspeex/.libs/libspeexdsp.so /usr/nekoware/lib/libogg.so -lm -Wl,-rpath -Wl,/usr/nekoware/lib
ld32: ERROR   33 : Unresolved text symbol "getopt_long" -- 1st referenced by speexenc.o.

"getopt_long", isn't that kinda normal ? Should be easy to fix ?

edit: I see the problem. gcc, we luvs you to death. Emphasis on the object of the preposition. If anyone smarter than me wants to hit this, it seems like the only thing standing between us and a fresher MPlayer with the Irix optimizations included ...

About to step off the high dive here, ref :

viewtopic.php?f=15&t=16726751

and

http://www.gnu.org/software/gnulib/MODU ... topt-posix

can I just put the #include <unistd.h> into whichever pos is using getopt_long then place the .c and .h files into the relevant directories ?

'spose I could just try it but would like to understand the principles ...
I spent a fortune on booze, birds, and fast cars ... the rest I just squandered

User avatar
hamei
Posts: 10435
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: New package: Updated MPlayer

Unread postby hamei » Wed Dec 10, 2014 5:42 am

On the off chance that this would be helpful to someone who knows what they are doing ...

This version does need libspeex. I guess in the confusion Axatax forgot to build a tardist.

Libspeex is weird (to me, anyhow.) It has an if-def to create getopt_long already, but I couldn't get it to work. However, by accident I built it ./configure but without the --prefix=/usr/nekoware flag and it couldn't find Ogg. Why ? that's totally strange. But then it commenced to build the library without the encoder and decoder. Fine, at least it's a step forward and Mplayer v 1 never had speex. Opie is better in every way anyhow.

Built the library, manhandled it into /usr/nekoware/lib and .....
hi-there-bigboy.jpg


This could be an optical illusion but I think it's better. Slightly sharper, sound seems cleaner. And it is a first step on the way to updating the base code of MPlayer while still keeping the SGI enhancements we already had.


To me, this is a worthwhile project. Calling all coders, man your stations ! This is not a drill ...

(If you are not afraid of the devil, attached are the libspeex libraries and links I built. Put them into /usr/nekoware and the beta MPlayer should work. This is not a good permanent solution but if you don't have a compiler and want to play ...)

testspeex.zip
(317.01 KiB) Downloaded 37 times


Hmm. Only one file is supposed to be a file, the other two are links but zip turned them all into files. Anyway, it's just for testing so ....
I spent a fortune on booze, birds, and fast cars ... the rest I just squandered

jpstewart
Donor
Donor
Posts: 435
Joined: Tue Sep 21, 2010 3:31 pm
Location: Southwestern Ontario, Canada

Re: New package: Updated MPlayer

Unread postby jpstewart » Thu Dec 11, 2014 3:31 pm

hamei wrote:libspeex ? wtf ? Not in current, not in beta.

:?: Anybody want to chip in to buy hamei some new reading glasses? :lol:

There is indeed a neko_speex-1.2rc1.tardist file in beta and it looks like it's been there for more than 5 years. (It's dated 24-10-09!) There's an even older neko_speex in current, too.
:Indigo2IMP: :Octane: :Indigo: :O3x0:
Sun SPARCstation 20, Blade 2500, T5240
HP C8000

User avatar
hamei
Posts: 10435
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: New package: Updated MPlayer

Unread postby hamei » Thu Dec 11, 2014 6:58 pm

jpstewart wrote: :?: Anybody want to chip in to buy hamei some new reading glasses? :lol:

Or maybe a brain :D

I'll be a monkey's uncle, it's hiding right there in plain sight as speex, not libspeex !

Gottit installed, runs about the same as with my phony one. Cool. Better than cool, this is a real tardist. Have to look and see how they got around the getopt_long thingy ...

One hit against the MPlayer beta, it doesn't list speex as a requirement. Other than that tho ... so far so good --
william_zanziger.jpg
Look, no iPad ! how could he ever innovate those acclaimed eponymous breakthrough modern artworks ?


Mr Vegac, while you're here, can you expound on this ?

Code: Select all

VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [sgi] 320x240 => 320x240 Planar YV12
[sgi] VPro (Odyssey) Hardware with Dual Channel Display detected:
        using software colorspace conversion (rgb)
        drawing via textures
I spent a fortune on booze, birds, and fast cars ... the rest I just squandered

Axatax_
Posts: 92
Joined: Wed Jan 21, 2015 3:08 pm

Re: New package: Updated MPlayer

Unread postby Axatax_ » Wed Jan 21, 2015 3:28 pm

Hey guys -- this is the old "Axatax". Sorry for not following up on this. I just moved so have been offline for awhile. My PW for my old account is on a machine I'm nowhere near @ the moment.

Beside the speex dependency, is there any other major issues with this package? I can fix the speex issue and U/L a better .tardist for beta.

I'd like to know if there is anyone else besides Hamei that has tried this release.

If you're really feeling brave -- when you get the MPlayer from beta installed, you can try the following patches and maybe LMK how it's working for you (you need all the MPlayer beta suff installed first). This is my work on the 1.1 MPlayer branch. It's not complete/perfect yet, which is why I'm not sending a .tardist at this time. DVD playback from physical media does work quite nicely, however --

http://home.ix.netcom.com/~jjingber/nek ... irix.patch
http://home.ix.netcom.com/~jjingber/nek ... irix.patch (this one is somewhat sloppy, as I couldn't figure out how to translate those two large macros in pixel.c -- the library works, however).
http://home.ix.netcom.com/~jjingber/nek ... irix.patch

Patches should be up in a few mins -- gotta run over to another computer...
Last edited by Axatax_ on Wed Jan 21, 2015 3:54 pm, edited 3 times in total.

Axatax_
Posts: 92
Joined: Wed Jan 21, 2015 3:08 pm

Re: New package: Updated MPlayer

Unread postby Axatax_ » Wed Jan 21, 2015 3:30 pm

I'm guessing that Axatax linked mplayer against the version of libdvdread from /current instead of /beta.


Confused, as I don't have the dvdread from current on my system AFAIK. -- Is this is still an issue?

The stuff I sent to beta shouldnt't work with the /current libdvdread, as it requires libdvdcss (ie. if you can view commercial DVDs with the MPlayer in /beta, you're running the proper software stack). The new libs don't require libdvdcss, however, as libdvdread dlopen's libdvdcss at runtime. If the MPlayer from /beta can view commercial disks, the software stack is OK.


Return to “SGI: Development”

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests