LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2005, 03:23 PM   #1
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Rep: Reputation: 15
Realplayer not playing..


i installed realplayer and when i try to play audio it's saying
Quote:
Cannot open the audio device. Another application may be using it.
and in an irc channel i was told i need to have it use esd, i have no clue what tha tmeans, if it's true and how to do it. any help appreciated. i'm using ubuntu!
 
Old 05-20-2005, 04:15 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok....

basically realplayer is trying to use a form of audio output which requires dedicated use of the card. This should be oss output, which is crap and old and deprecated. in Gnome, you sit esd (enlightened sound daemon or something) to accept multiple sound inputs and output them to the single card nicely. In KDE, it's arts. I've no idea how to make realplayer use these different outputs, but it's presumably in there somewhere. Oh actaully, check Preferences, then Performance, then Sound Card. instead of OSS output, you should actually be running ALSA, which is the low level replacement for oss. Alsa can "pretend" to be oss for apps which are crap and old, like realplayer. In this instance the best solution is to configure alsa to accept multiple connections (something that really should be a default these days...) using the dmix plugin. However esd / arts outputs are a much quicker solution.
 
Old 05-20-2005, 04:28 PM   #3
kram
Member
 
Registered: Nov 2004
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
Hi,
The sound drivers in Linux, alsa or oss, only let one application use sound at one time. You are probably getting that error because another program is already using the sound card. An easy way to solve your problem would just be to close that program and try again.

A sound server is a way to let lots of programs use sound all at once. Programs give there sound stuff to the sound server which mixes everything into one channel and gives that to alsa or oss.

There are two sound servers that I know of, esd and aRts. I hear that esd is bad and aRts is good, but I'm not sure. Try searching for arts and esd in google. The website for aRts is http://www.arts-project.org/.

Sorry I can't help you any more, but I don't know that much about sound in linux.
 
Old 05-20-2005, 04:42 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just to point out that alsa DOES accept multiple connections when configured to do so. it also works a LOT better than either esd or arts.
 
Old 05-20-2005, 04:53 PM   #5
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
i have esd enlightened installed, i am using alsa, and i don't see a "performance -> prefrences"
post 2, no there isn't anything using it, i can open rythmbox, it will play music, immediatlly close it, try to play in realplayer nothing, reopen rythmbox and hit play on a song, it'll play (: so it's not that...any other suggestions? the only reason i'm trying to figure this out is because when stremaing a radio station in rythmbox after everysong there is an error dialog "unexpected end of stream" i was told use realplayer, and i can't..so IDK
 
Old 05-20-2005, 05:12 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Try pressing the Ctrl and Esc keys to open up a small window which shows running programs. If realplay is running, kill it then close that window and try realplay again.
You can also do this from the terminal with the command: ps -ax and kill the related number.
 
Old 05-21-2005, 08:18 AM   #7
kram
Member
 
Registered: Nov 2004
Distribution: Gentoo
Posts: 33

Rep: Reputation: 15
You could use a media player that is not "crap and old and deprecated." (acid_kewpie). My favorite is gxine, which is a front-end to xine-lib. To get it to work with realmedia files, read this.

mplayer is another option.
 
Old 05-21-2005, 08:40 AM   #8
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
You could use a media player that is not "crap and old and deprecated."
Guess I just don't understand all the negative stuff about realplayer. It works fine quite well for me.
 
Old 05-21-2005, 01:17 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well by that i meant that closed souce apps like realplayer are released on an extremely infrequent basis. They are generally not interested in getting all the nice new bells and whistles working either, once it works they stop their developers anre release it, and get them back to something that earns the company real money....
 
Old 05-22-2005, 08:49 AM   #10
handydan
Member
 
Registered: Mar 2005
Location: palmdale, california
Distribution: MEPIS 8; Debian (stable/testing)
Posts: 83

Rep: Reputation: 23
realplayer woes

Quote:
Originally posted by simple
i have esd enlightened installed, i am using alsa, and i don't see a "performance -> prefrences"
post 2, no there isn't anything using it, i can open rythmbox, it will play music, immediatlly close it, try to play in realplayer nothing, reopen rythmbox and hit play on a song, it'll play (: so it's not that...any other suggestions? the only reason i'm trying to figure this out is because when stremaing a radio station in rythmbox after everysong there is an error dialog "unexpected end of stream" i was told use realplayer, and i can't..so IDK
I have run into this on a couple of the distros I've installed. The problem I had was aRts related. Never even opened a command line, just used yast (suse 9.1) to disable aRts after a few seconds of innactivity. If aRts is enabled on your system, you may want to try this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
playing realplayer files on gxine north49er Slackware 4 08-12-2005 11:08 AM
My RealPlayer stopped playing swf files Raafi Linux - Software 0 06-29-2005 04:41 PM
Playing (streaming?) internet radio accessed through realplayer on Firefox 0.8.... pdmackenzie Linux - Software 13 11-19-2004 12:25 AM
Playing .avi files in RealPlayer on Fedora Core 2 imdave Linux - Software 7 09-19-2004 10:55 AM
playing realplayer(.rm) files dark_light Linux - Newbie 1 03-28-2003 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration