instantreality forum
news: Welcome to the instantreality forums!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 24, 2018, 03:54:18 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: No audio - linux rh5.4  (Read 6035 times)
shpatric
Newbie
*
Posts: 29


View Profile
« on: September 10, 2010, 03:31:19 pm »

Hi,
We are using Instant_Player-RedHat_5.4-x86_64-2.0.0-b13629.5566.rpm and audio is not working. Tried various files including xj3d/parsetest/sound/loop.x3dv. If I use aplay, xmms, etc the audio files (.wav) play. I was also able to play the loop.x3dv in octagaplayer.

Any help would be greatly appreciated.

Thanks,
Pat
Logged
pyth7
Jr. Member
**
Posts: 86


View Profile
« Reply #1 on: September 26, 2010, 06:40:46 am »

You could try Deep Matrix for Instant Player.
It has a special Proto that plays mp3 files as well as wav and other formats by using an open-source program called Java Zoom:
http://www.javazoom.net/index.shtml in conjunction with Java EAI.

I realize you might not have an interest in multi-user, but the class
matrix.deck.eai2.MatrixSound could be easily reworked for a single user client.
The Matrix_Sound Proto can be found at:
 http://www.deepmatrix.org/documentation/Protos.txt

and is implemented in the /client_appliction/world/matrix.wrl of the download.

It works much the same as a regular Sound Node, but doesn't have pitch or spatialize

Russ Kinter
Logged
drevensek
Newbie
*
Posts: 26


View Profile
« Reply #2 on: September 27, 2010, 01:10:23 pm »

Hi,
this platform (and maybe other linux) where missing the ALUT and OpenaAL installation. For this reason we extend our scripts so can findout missing packages. Sound will be back on Centos 5.4 x32 today. The rest will include the package hopefully to the end of the week.
Logged
shpatric
Newbie
*
Posts: 29


View Profile
« Reply #3 on: October 21, 2010, 07:32:48 pm »

Hi,
I grabbed the latest InstantReality for CentOS-x64 and found that libmpeg2 had been added as a dependency but did nto see anything for openal/freealut. If you are having trouble finding packages, any possibility you could use the packages from pbone or another repo? Or build the 2 manually manually, link IR against them, and let us know the version so we can build same?

Thanks,
Pat
Logged
drevensek
Newbie
*
Posts: 26


View Profile
« Reply #4 on: October 21, 2010, 09:16:55 pm »

Yup.
It was missing because i havent found any OpenAL for RedHat x64. x32 was providet by the repository but x64 not (?!).

Thanks for the link! Dailybuild of tomorrow should include OpenAL binding.

I'm not a RedHat (CentOS 5.5) geek, so hopefully i have installed the correct rpm's & it is binary compatible:

- freealut-1.1.0-5.el5.x86_64.rpm
- freealut-devel-1.1.0-5.el5.x86_64.rpm

http://rpm.pbone.net/index.php3/stat/4/idpl/5811725/dir/redhat_el_5/com/freealut-devel-1.1.0-5.el5.x86_64.rpm.html
Logged
shpatric
Newbie
*
Posts: 29


View Profile
« Reply #5 on: October 22, 2010, 07:01:59 am »

Glad to hear it. Let me know which x86_64 rpm you used for openal also.

Thanks for the help,
Pat
Logged
drevensek
Newbie
*
Posts: 26


View Profile
« Reply #6 on: October 22, 2010, 10:46:38 am »

For this we used the default package, available from the default repositories:

Name       : openal
Arch       : x86_64
Version    : 0.0.8
Release    : 2.el5.rf
Size       : 831 k
Repo       : installed
Committer  : Dag Wieers <dag@wieers.com>
Committime : Tue Feb 20 10:00:00 2007
Buildtime  : Mon Mar  5 21:17:39 2007
Installtime: Tue Sep 28 12:19:34 2010
Summary    : Open Audio Library
URL        : http://www.openal.org/
License    : LGPL
Description: OpenAL is an audio library designed in the spirit of OpenGL--machine
           : independent, cross platform, and data format neutral, with a clean,
           : simple C-based API.
Logged
shpatric
Newbie
*
Posts: 29


View Profile
« Reply #7 on: October 22, 2010, 03:40:55 pm »

Good - I use rpmforge also. Any idea when the new package will build? Didn't see anything this morning.
Logged
drevensek
Newbie
*
Posts: 26


View Profile
« Reply #8 on: October 25, 2010, 09:33:35 am »

Yes, we get linker errors like
- libopenal.so: undefined reference to `MixAudio16_MMX_4' etc.
from the new linked libraries. So i have to investigate more for this bug.

Please stand by
Logged
drevensek
Newbie
*
Posts: 26


View Profile
« Reply #9 on: October 25, 2010, 11:41:04 am »

So, finally.

I think there was an issue on the openal version we used on redhat related to this bug:
- http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=110270

So we are using now a newer version of openal:
Name       : openal
Arch       : x86_64
Version    : 0.0.9
Release    : 0.9.20060204cvs.el5.kb
Size       : 411 k

from http://rpm.pbone.net/index.php3/stat/4/idpl/5785450/dir/centos_5/com/openal-0.0.9-0.9.20060204cvs.el5.kb.x86_64.rpm.html

This should hopefully work.
Logged
shpatric
Newbie
*
Posts: 29


View Profile
« Reply #10 on: October 26, 2010, 02:24:16 pm »

It works!

Thanks for the help,
Pat
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.15 | SMF © 2011, Simple Machines