MPlayer 1.0pre5 tardist

Video, software tools and techniques on SGI systems.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
vegac
Posts: 730
Joined: Thu Jan 23, 2003 12:34 pm
Contact:

Unread postby vegac » Thu Sep 09, 2004 8:14 pm

In regards to funky colors: it's odd that green would be left out, since green is in the middle, if it was no blue or no red I'd assume it was was a pixel format issue... I'm leaning towards some pixel format issue or something, I don't know, but really at texture upload time it should do all conversions.

For ultimatevision: screw it all I could write up the color conversion to be done in a pixel shader and it'd be nice and fast :) But really, if you have UltimateVision, you have fast enough cpus to do decoding and it's not an issue.

For O2: Thanks for the compliments, it works well and will likely not get much faster...unless we come up with some faster way to do the YUV planar unpacking.

For pixeltex: It's known buggy, along with multithreading support, and assync drawpixels support. What do you expect, writing code for systems I don't have :)

At this point vo_sgi support will be mostly up to Schleusel/Dexter I have a feeling, as I'm no longer an SGI owner...and probably won't pick another up until after I move in October...so maybe November you can expect new things :)

hamei
Posts: 9877
Joined: Tue Feb 24, 2004 5:10 pm

Unread postby hamei » Thu Sep 09, 2004 8:28 pm

vegac wrote: At this point vo_sgi support will be mostly up to Schleusel/Dexter I have a feeling, as I'm no longer an SGI owner...and probably won't pick another up until after I move in October...


artherd's got an Onyx up for offers and it's in the Bay Area, too. Multiple cpu's as well :-)

User avatar
dexter1
Moderator
Moderator
Posts: 2062
Joined: Thu Feb 20, 2003 7:57 am
Location: Voorburg, The Netherlands
Contact:

Unread postby dexter1 » Tue Sep 14, 2004 2:41 am

Looks like i've fixed Newport/Express support for MPlayer. I'll be sending a patch to Schleusel today, so he can incorporate that into his future builds. I have tested it on an 8 bit Newport and 24bit XZ Indy and they both produce correct colors. Can't say anything about Elan/Extreme yet, but i venture it will work just fine.

User avatar
squeen
Moderator
Moderator
Posts: 2931
Joined: Fri May 09, 2003 6:10 am
Location: Maryland, USA

Unread postby squeen » Tue Sep 14, 2004 4:03 am

Dexter1 you are unstoppable!

BTW, which of the SGI native format (i.e. things I can export from mediaconvert) will work well with mplayer. So far, Quicktime has given me grief.

jdboyd
Posts: 560
Joined: Thu Aug 21, 2003 11:47 am
Location: Southern PA

Unread postby jdboyd » Tue Sep 14, 2004 8:09 am

A question. Yes, I'm too lazy to look through the source code at work to find the answer.

Is there any work done making vo_sgi support output to YUV video devices? IndyVideo, Indigo2Video for Impact, and MVP come to mind. Is the EVO option take YUV, or is it RGA native? How hard would it be to add?

Also, dexter1 what sort of performance were you getting on that Indy XZ?

User avatar
dexter1
Moderator
Moderator
Posts: 2062
Joined: Thu Feb 20, 2003 7:57 am
Location: Voorburg, The Netherlands
Contact:

Unread postby dexter1 » Thu Sep 16, 2004 2:58 am

jdboyd wrote:Is there any work done making vo_sgi support output to YUV video devices? IndyVideo, Indigo2Video for Impact, and MVP come to mind. Is the EVO option take YUV, or is it RGA native? How hard would it be to add?

I think this would require a plugin of its own, since the current vo_sgi.c code is already a bit bloated. Would eliminate the need for conversion routines, but the exact API's are not easy to code for. And the fact that few people have these boards, well' atleast not the developers, means that it would be pretty hard to come up with support for any of Indigo2Video,Cosmo/Galileo/PVO/DM2 etc. But if anybody is wanting to make me a reasonable offer on a Cosmo2 for my Impact I2, i'm all ears. It's my birthday, y'know :)

jdboyd wrote:Also, dexter1 what sort of performance were you getting on that Indy XZ?


http://www.habanera.nl/expertise/images/bullet.jpg is a nice mpeg i used in testing Indy MPlayer support. It takes 12.6 seconds on an R5K180MHz XZ with 6.5.22m. An XL is faster, as expected, about 11.9 seconds. You should also run -vo sgi:rgb for fun, it's dog slow :)
Pity the double buffering visuals have too limited bitdepths, so everything comes out dithered. :(

User avatar
SkyBound
Posts: 136
Joined: Tue Jan 13, 2004 11:57 am
Location: Enschede, The Netherlands
Contact:

Unread postby SkyBound » Thu Sep 16, 2004 4:15 am

dexter1 wrote:Pity the double buffering visuals have too limited bitdepths, so everything comes out dithered. :(


Which means you could speed it up a bit by disabling dithering at the expense of image quality:

glDisable(GL_DITHER);
http://www.ac3.edu.au/SGI_Developer/books/OpenGLonSGI/sgi_html/ch15.html#id5518383

Erik

User avatar
dexter1
Moderator
Moderator
Posts: 2062
Joined: Thu Feb 20, 2003 7:57 am
Location: Voorburg, The Netherlands
Contact:

Unread postby dexter1 » Thu Sep 16, 2004 4:41 am

SkyBound wrote:
dexter1 wrote:Pity the double buffering visuals have too limited bitdepths, so everything comes out dithered. :(


Which means you could speed it up a bit by disabling dithering at the expense of image quality:

Vegac and i know this document by heart, and tried most of the glDisable() switches. :) . The GL_DITHER and other glDisable()'s are in the current vo_sgi.c code already, though doing glDisable(GL_DITHER) would place too severe a restriction on Express machines with larger framebuffers which actually *can* display the proper visuals like Extreme, though i haven't ran it on an Extreme yet (will do that tonight).

Let's wait until Schleusel finds some time to build a tardist with the latest patches. Chances are good that i will have my I2 Extreme running MPlayer very soon

User avatar
SkyBound
Posts: 136
Joined: Tue Jan 13, 2004 11:57 am
Location: Enschede, The Netherlands
Contact:

Unread postby SkyBound » Thu Sep 16, 2004 6:37 am

dexter1 wrote:
SkyBound wrote:
dexter1 wrote:Pity the double buffering visuals have too limited bitdepths, so everything comes out dithered. :(

Which means you could speed it up a bit by disabling dithering at the expense of image quality:

Vegac and i know this document by heart, and tried most of the glDisable() switches. :) .


Well' I don't ... and I did found the document recetly ... :)

I tried a number of the options described there but they don't seem to influence the framerate of FlightGear much (at least not on an O2 and an Octane/MXI).

Erik

User avatar
foetz
Posts: 5418
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Unread postby foetz » Thu Sep 16, 2004 11:59 am

hello,

tried it, too. seems like the mt is working fine but stopping by around 160% cpu usage. can't
this be tuned? ;-)
or real smp??

fps are not that good. used it on an onyx2, 8x250/ir2e. i guess with r12k and up it's very nice!

some output:

Code: Select all

from top:
       921        921 root      20   60M   24M ready    1:58  144 160.2 mplayer


# /opt/mplayer/bin/mplayer WarIII_Trailer1024.avi
MPlayer 1.0pre5 - MIPSpro Compilers: Version 7.4.2m (C) 2000-2004 MPlayer Team

CPU: SGI MIPS
Reading config file /opt/mplayer/etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 66 audio & 176 video codecs
font: can't open file: /root/.mplayer/font/font.desc
Font /opt/mplayer/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /opt/mplayer/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config

Playing WarIII_Trailer1024.avi.
Cache fill:  1.37% (114688 bytes)    AVI file format detected.
VIDEO:  [XVID]  1024x468  16bpp  24.000 fps  1505.3 kbps (183.8 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x20), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 2560x1024 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, big endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Big-Endian)
ao_sgi, init: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Big-Endian)
AO: [sgi] 44100Hz 2ch Signed 16-bit (Big-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
[mpeg4 @ 10772a60]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo config request - 1024 x 468 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [sgi] 1024x468 => 1024x468 Planar YV12
[sgi] Unknown Hardware detected:
        running multithreaded,
        using software colorspace conversion (rgb)
        drawing via glDrawPixels
A: 122.6 V: 122.6 A-V: -0.000 ct: -0.047  2944/2944  91%  0%  4.1% 939 0 0%%
Broken frame at 0x351808                                                 
[mpeg4 @ 10772a60]ac-tex damaged at 14 20 2971/2971  91%  0%  4.1% 939 0 0%
[mpeg4 @ 10772a60]Error at MB: 1314
[mpeg4 @ 10772a60]concealing 2147483647 errors
A: 123.8 V: 123.8 A-V:  0.001 ct: -0.025  2972/2972  91%  0%  4.1% 939 0 0%
ao_sgi, uninit: ...

Exiting... (End of file)
#
r-a-c.de

schleusel
Posts: 495
Joined: Mon Oct 20, 2003 6:49 am
Location: NRW, Germany
Contact:

Unread postby schleusel » Thu Sep 16, 2004 12:22 pm

dexter1 wrote:It's my birthday, y'know :)


happy birthday! :-)

dexter1 wrote:Let's wait until Schleusel finds some time to build a tardist with the latest patches.

i'll try to update it this weekend or early next week. University got me back for the moment (preparing for some exams)

I tried the fresh version on the indy yesterday, :abgr works nice now :-) :rgba still gives wrong colors though and the OSD is seriously broken with both :rgba and :abgr

unixmuseum
Posts: 2783
Joined: Mon Apr 19, 2004 4:25 pm
Location: Los Angeles, CA

Unread postby unixmuseum » Mon Sep 20, 2004 9:50 pm

I uploaded an ftr/fti for mplayer... The icon is based on Macromedia's IRIX icon, I think it is pretty appropriate... Drag & Drop a movie on the icon and it plays...
I uploaded it in /incoming, so it's going to be in the download area soon...
For now, check the gallery http://forums.nekochan.net/modules.php?set_albumName=album95&id=Desktop&op=modload&name=gallery&file=index&include=view_photo.php

Quick quizz for the movie buffs: who is the pretty lady in the mplayer window, and what movie is it?

User avatar
SkyBound
Posts: 136
Joined: Tue Jan 13, 2004 11:57 am
Location: Enschede, The Netherlands
Contact:

Unread postby SkyBound » Tue Sep 21, 2004 1:40 am

[quote="unixmuseum"Quick quizz for the movie buffs: who is the pretty lady in the mplayer window, and what movie is it?[/quote]

Tom Cruise, I can't remember the movie but was it TopGun?

Erik

User avatar
nvukovlj
Posts: 356
Joined: Mon Jun 09, 2003 8:27 am
Location: London, UK
Contact:

Unread postby nvukovlj » Tue Sep 21, 2004 5:42 am

Don't think that it is Tom Cruise, but his ex - Nicole Kidman.
Movie isn't Top Gun, but not sure what it is...

The icon is nice btw.

Nik.

unixmuseum
Posts: 2783
Joined: Mon Apr 19, 2004 4:25 pm
Location: Los Angeles, CA

Unread postby unixmuseum » Tue Sep 21, 2004 8:31 am

nvukovlj wrote:Don't think that it is Tom Cruise, but his ex - Nicole Kidman.
Movie isn't Top Gun, but not sure what it is...

The icon is nice btw.

Nik.

That is Nicole, correct!


Return to “SGI: Video”

Who is online

Users browsing this forum: No registered users and 1 guest