LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to play Real Audio in XMMS (https://www.linuxquestions.org/questions/linux-software-2/how-to-play-real-audio-in-xmms-113533/)

falcon56215 11-07-2003 03:24 PM

How to play Real Audio in XMMS
 
After spending most of the evening and ending up in the doghouse with my wife, I was able to get my Mandrake distro to play RealAudio files via XMMS. I thought I would share the info and maybe save a marriage in the process.. :)

Here is what I did:

Download these files from my ftp server:

http://users.chartertn.net/316digita...8.0-1.i386.rpm
http://users.chartertn.net/316digita...l-Mandrake8.so
http://users.chartertn.net/316digita...1rh71.i386.rpm
http://users.chartertn.net/316digital/README

These are Red Hat Packages; they also work on Mandrake.

Install RealPlayer-8.0-1.i386.rpm (If you do not already have RealPlayer)
Install rmxmms-0.4-1rh71.i386.rpm

If you are using Mandrake Linux, you may need to place libreal-Mandrake8.so in /usr/lib/xmms/Input

Start XMMS, right click on the title bar, select Play Location and type in:
http://65.83.79.133/ramgen/encoder/wmit.rm

This is a Real Audio stream for WMIT 106.9 FM, a christian radio broadcast originating from North Carolina and one of my favorite stations.

I also use the SOX Effects plugin, it can be enabled under Effect/General Plugins of Preferences. It gives a nice "enhanced" reverb and spaciousness to music. I liked it better than any of the "commercial" plugins. Once on the Effect/General Plugins page, select SOX Effects, then hit the Configure button. Select the Reverb Tab, the default settings work quite nicely. Select OK, and make sure Enable Plugin is checked.

The README file just contains these instructions so you can archive them with the RPMs. Also worth mentioning: If you use RealPlayer 8 in Mandrake, make sure you start it with soundwrapper.. i.e:

$soundwrapper realplay

Make sure your shortcuts use this command too, RealPlayer will take extremely long amounts of time to start if this is not used.

If this helps you, please post a response so I'll know my efforts were not in vain.

Enjoy!

Daniel

Blackrose1 11-07-2003 09:03 PM

that sounds cool, but where do I get the rpm for realplayer? and what do I download there?

falcon56215 11-07-2003 09:52 PM

In the four links at the top, it is the very first file. Just download the four files at the top, and follow the directions below them.

Devin22 11-07-2003 10:16 PM

omg Thank you Sir! So easy! After I fought with Mplayer forever It started my BBc Radio right up :D
Tennessee..Nice

Devin22 11-07-2003 11:35 PM

Well it stopped working for me :\ I dont know what i did. Everytime i try i go to add urldo that and it does nothing at all :(

EDIT: I cant paste the so file because it says I do not have permission to write ?? anything would casue this ?

nm used cp -v libreal-Mandrake8.so /usr/lib/xmms/input

falcon56215 11-08-2003 09:06 AM

Devin22,

If you are using KDE, open Konqueror in super user mode. It will ask you for the root password. Put that in, and you should be able to scroll anywhere and copy anything you want. Once you copy libreal-Mandrake8.so into /usr/lib/xmms/input, make sure you set the permissions for read and execute for all users. To do this right click on the file and select Properties from the drop down menu, then click on the permissions tab. Or use chmod as root. If you are copying the file from a command line, make sure you are root .. ie

$ su
Password : <your root password>
# cp -v libreal-Mandrake8.so /usr/lib/xmms/Input

Hope this helps.

Devin22 11-08-2003 10:49 AM

Quote:

Originally posted by falcon56215
Devin22,

If you are using KDE, open Konqueror in super user mode. It will ask you for the root password. Put that in, and you should be able to scroll anywhere and copy anything you want. Once you copy libreal-Mandrake8.so into /usr/lib/xmms/input, make sure you set the permissions for read and execute for all users. To do this right click on the file and select Properties from the drop down menu, then click on the permissions tab. Or use chmod as root. If you are copying the file from a command line, make sure you are root .. ie

$ su
Password : <your root password>
# cp -v libreal-Mandrake8.so /usr/lib/xmms/Input

Hope this helps.

Ok Ive done the last part...Im using GNOME How do I open exatcly in Super Mode? Thank you

qanopus 11-08-2003 11:02 AM

I can't get it to work. I'v compiled every thing from source. Well, atleast as much as I could.
First I installed realplayer, then the real player sdk, which btw was difficult to find, installed rmxmms to create the shared libs. Fireing up xmms, I see it loads the realplayer plugin, but I go an error that a lib called pure_virtual.so was missing. In the rmxmms source dir, I saw an file called pure_virtual.c so I desided to compile the lib my self. But then after starting xmms the the directory containing pure_virtual.so, it complained about missing symbols in some other lib. So I edited the pure_virtual.c file, recompiled it and tried again. That got rid of the missing symbols error so xmms started up. But now I got the warning : init FAILED: engine->CreatePlayer .
O brother, I'm giving up on this.

falcon56215 11-08-2003 04:13 PM

OK, let me say that this is how I got xmms to play Real Audio with my specific configuration: ie. Mandrake 9.1 in KDE. I have not used GNOME, so I can really not comment on how things would/should work in that particular window manager. I just posted this thread in case anyone who was using Mandrake Linux and KDE wanted to get streaming audio working. As far as super user mode in GNOME, can you start GNOME as root? That should give you root privilages in GNOME, just be careful what you do. All I had to do was install the rpm packages as outlined in the instructions above and copy the libreal-Mandrake8.so into /usr/lib/xmms/Input, and change its permissions to readable and executable by all, and it all works.

Has anybody else got xmms to play Real Audio streams?

paonethestar 03-07-2004 01:38 PM

playing .rm audio files
 
For me it worked fine playing one .rm file. After that it stopped working for .rm files. I am using Fedora core 1 and Gnome desktop. Any suggestions ? Anyway thanks for ur way for playing .rm files. :cool:


All times are GMT -5. The time now is 11:34 PM.