xine

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.
dmoran
Posts: 20
Joined: Tue Feb 25, 2003 1:47 pm

xine

Unread postby dmoran » Mon Mar 17, 2003 10:27 am

Has anyone gotten xine to compile correctly in IRIX? I was able to compile it but am getting core dumps.

User avatar
Shtoink
Posts: 839
Joined: Mon Jan 27, 2003 2:46 am
Location: Port Orchard, WA

Unread postby Shtoink » Wed Mar 19, 2003 10:22 am

I know fo someone who managed to get it to compile and work. The only problem is that he can't rememeber how he did it so he can't duplicate it. He was telling me it was one of those nights where he had ben trying to get it to compile many hours too long and tried a last ditch effort of symlinks to a bazillion diferent things things.

I'll bug him about coming in here to try and explain it a bit better, or even better, try and get him to make a tardist out of it.

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8001
Joined: Thu Jan 23, 2003 2:31 am
Location: Pleasanton, California
Contact:

Re: xine

Unread postby nekonoko » Mon Jun 23, 2003 2:56 pm

dmoran wrote:Has anyone gotten xine to compile correctly in IRIX? I was able to compile it but am getting core dumps.


I've been working on this one for a little bit. I can get it to compile and run successfully, though I used GCC so it isn't as speedy as it could (should) be.

The major problem I've encountered is that while the 'configure' script identifies the presence of both OpenGL and IRIX audio and claims both plugins will be built, neither plugin is built, leaving only XShm video and ESD audio. XShm is okay as long as the video is kept at 1x resolution, but the ESD audio starts/stops throughout playback making the player fairly useless to most. I confirmed the existence of the OpenGL/IRIX audio source code in the package and tried a manual compile of just those parts, then added them to the XINE plugins directory manually. This still did not work, so apparently a step is missing someplace in the chain.


Code: Select all

xine-lib summary:
----------------
 * input plugins:
   - file          - net
   - stdin_fifo    - rtp
   - http          - mms
   - pnm           - rtsp
   - dvb

 * demultiplexer plugins:
   - avi           - mpeg
   - mpeg_block    - mpeg_audio
   - mpeg_elem     - mpeg_pes
   - mpeg_ts       - qt/mpeg-4
   - film          - roq
   - fli           - smjpeg
   - idcin         - wav
   - wc3 mve       - voc
   - vqa           - aiff
   - cdda          - snd/au
   - yuv4mpeg2     - real/realaudio
   - ea wve        - raw dv
   - interplay mve - psx str
   - ws aud        - pva
   - vox           - nsf
   - ac3
   - asf

 * video decoder plugins:
   - mpeg2           - ffmpeg
   - cyuv            - divx4
   - cinepak         - msvc
   - fli             - msrle
   - rgb             - yuv
   - roqvideo        - svq1
   - idcin           - smc
   - rpza            - wc3video
   - qtrle           - interplayvideo

 * audio decoder plugins:
   - a52/ra-dnet     - dts
   - mad             - adpcm
   - linear pcm      - roqaudio
   - log pcm         - gsm610
   - ffmpeg          - interplayaudio
   - nosefart
   - faad

 * subtitle decoder plugins:
   - spu             - spucc
   - sputext

 * post effect plugins:
  * planar video effects:
   - invert
  * SFX:
   - goom            - oscope
   - fftscope        - mosaico

 * video driver plugins:
   - XShm (X11 shared memory)
   - SyncFB (for Matrox G200/G400 cards)
   - OpenGL
   - aa (Ascii ART)
   - sdl (Simple DirectMedia Layer)

 * audio driver plugins:
   - esd (Enlightened Sound Daemon)
   - irixal (Irix audio library)
Last edited by nekonoko on Thu Aug 19, 2004 2:50 pm, edited 1 time in total.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

User avatar
Hakimoto
Moderator
Moderator
Posts: 2483
Joined: Sun Mar 30, 2003 5:29 am
Location: Kabul, Afghanistan, Asia
Contact:

Bugger....

Unread postby Hakimoto » Tue Jun 24, 2003 11:16 am

This is one of these.... it was the first program I ever tried to compile under IRIX. And it utterly failed.

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

re: xine

Unread postby nvukovlj » Tue Jun 24, 2003 3:35 pm

I could compile it without too much hassle using gcc. No point even attempting to try with MipsPro unless you have months of spare time.
The code is pretty ugly...
I've had to hard-code configure script in a few places as it won't find the correct libs (looks in /usr/freeware/lib instead of /usr/freeware/lib32 no matter what switches I try) and I've had to do a few small fixes in the code where warnings appear during compile - some of those warning really mean - 'fix this or it'll coredump', but there really is only a few...
Mind you last version I compiled is 0.9.13.
Works except that it seems like it has slowed down from the previous version I had (0.9.8).
No problems with sound - on my machine it has always used IRIX AL.
Nekonoko, what version were you compiling when you had the option for OpenGL - maybe I missed something there, but I've always had XShm only. Maybe I should try to compile a newer version...
The thing is, as it is now, it is too slow - I have an Octane R12K 300Mhz, MXI graphics and MPlayer kicks its butt.
The IRIX DivX player is the fastest, but it has nowhere near the codec coverage that xine or MPlayer have. Heck you can play back MS DIVX (i.e . DIVX 3 ) with these, although not at full speed with xine.

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8001
Joined: Thu Jan 23, 2003 2:31 am
Location: Pleasanton, California
Contact:

Re: re: xine

Unread postby nekonoko » Tue Jun 24, 2003 5:15 pm

I'm working with xine-lib-1-beta12. I have an Octane R12K/360 MXE and it seems to do pretty well, but I've always had better performance with OpenGL output than XShm on MPlayer.

The OpenGL plugin lives in xine-lib-1-beta12/src/video_out/video_out_opengl.c and the irixal is at xine-lib-1-beta12/src/audio_out/audio_irixal_out.c

Both are detected during the configure process but are not built.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

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

Unread postby nvukovlj » Wed Jun 25, 2003 2:05 am

Hmm, I'll have to give it a go at some point when I get back from holidays.
I tried to compile one of the beta versions some time back, and it failed all over the place.
Looks like they broke a lot of things by changing the code, that is why I have so far
stayed with the 0.9.x part. More stable.

Nik.

User avatar
edefault
Posts: 609
Joined: Fri Nov 28, 2003 6:02 am
Location: Germany
Contact:

Unread postby edefault » Wed Aug 18, 2004 3:24 am

a year passes like nothing...
still no IRIX xine binaries available, neither here nor at http://xinehq.de/index.php/releases#binaries
(please correct me if I´m wrong!).

Since it is quite easy to put a DVD drive into SGI boxes...
wouldn´t it be nice to have Nemo, Arnie, Harry, Luke... and Brian (whom ever) perform on SGI hardware?

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

Unread postby nvukovlj » Thu Aug 19, 2004 3:03 am

Amazing how time passes. :)
I have to admit I gave up on xine ever since mplayer was made available here.
mplayer is faster, has good codec coverage, so I found I no longer had any need for xine on my box.

Nik.

User avatar
edefault
Posts: 609
Joined: Fri Nov 28, 2003 6:02 am
Location: Germany
Contact:

Unread postby edefault » Thu Aug 19, 2004 4:16 am

sorry, I didn´t know that mplayer is capaple to watch DVDs...
is it really? In full screen mode?
Eventually out there are pretty few SGI boxes with DVD drives...
Anybody else?

User avatar
wolflord
Posts: 603
Joined: Thu Apr 03, 2003 12:31 pm
Location: Maryland
Contact:

Unread postby wolflord » Thu Aug 19, 2004 5:14 am

Mplayer doesn't allow you to play dvds or VCDs under irix. Atleast not with the configure script that it comes with(along with the disable of libpng, because you're on a mips machine). I tried a few different things but couldn't make it work. I wasn't going for encrypted dvds either. But on other archs, yes...mplayer can play dvds and such.
WolfLord - :4D70G: :Octane2:

"Two Minus Three Equals Negative Fun" - Troy McClure

User avatar
nekonoko
Site Admin
Site Admin
Posts: 8001
Joined: Thu Jan 23, 2003 2:31 am
Location: Pleasanton, California
Contact:

Unread postby nekonoko » Thu Aug 19, 2004 9:13 am

It's not just a matter of the software supporting DVD on IRIX. See lewis' post below:

viewtopic.php?t=3171


IRIX doesn't have any DVD key exchange ioctls. I mailed the guy who was writing them - he got sacked along with most of the IRIX dev team before he was done. So you won't be playing encrypted DVDs any time soon :) Some obscure BSD had the same problem, and someone implemented the ioctls in userspace with the ds SCSI library - it's in libdvdcss somewhere.

Any volunteers? :)

VCD support should be easy though.
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

User avatar
wolflord
Posts: 603
Joined: Thu Apr 03, 2003 12:31 pm
Location: Maryland
Contact:

Unread postby wolflord » Thu Aug 19, 2004 11:33 am

That doesn't seem to have anything to do with playing UN-encrypted dvds though...only puts the stopper on ones with encryption.
WolfLord - :4D70G: :Octane2:

"Two Minus Three Equals Negative Fun" - Troy McClure

User avatar
edefault
Posts: 609
Joined: Fri Nov 28, 2003 6:02 am
Location: Germany
Contact:

Unread postby edefault » Thu Aug 19, 2004 2:35 pm

ahem... nekonoko;
the link to your xine/octane screenshot appears to be broken.
Last edited by edefault on Fri Aug 20, 2004 12:18 am, edited 1 time in total.

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

Unread postby unixmuseum » Thu Aug 19, 2004 2:49 pm

edefault wrote:ahem... nekonoko;
the link to your xine/octane screenshot appears to be brolen.

working fine from where I'm standing...
I don't know if it's just me, but the web has been strange these last few days... some servers seem on and off intermittently...


Return to “SGI: Video”

Who is online

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