[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mplayer does not work



On Thursday 10 February 2005 07:08 pm, Mark Roach wrote:
> On Thu, 2005-02-10 at 18:00 -0500, Alvin Smith wrote:
> > On Thursday 10 February 2005 05:38 pm, Lan User wrote:
> > > > Recently mplayer and saytime stopped working when KDE is
> > > > running.  I use GDM, so after I log out saytime begins to
> > > >
> > > > KDE system sounds work.
> > > > XMMS does not work.
> > > > Kaffeine works.
> > >
> > > Try shutting off the KDE sound server.
> >
> > With the KDE sound system disabled saytime and mplayer work while KDE is
> > running, but KDE system sounds and notifications do not.
>
> mplayer can be set to use the KDE sound server (arts). Run it with
> "mplayer -ao arts <filename>" or edit ~/.mplayer/config so that it
> contains:
> ao=arts

Okay.  That does get mplayer working.  Great!  

> I have no idea whether saytime supports arts, 

Now, the documentation says that saytime sends its output through mpg123.  

"SayTime Verbal Clock is a nice little program that will verbally announce the 
current time whenever invoked, using pre-recorded voice samples. It's a 
simple shell script that dissects the results of "date", builds a short 
playlist on the fly, and announces the correct time using mpg123. No 
compilation is necessary, it works straight out of the box, and you can 
easily replace the included sound samples with ones of your own voice, or 
something else entirely."

However if I "mpg123 foo.mp3", it plays fine...

I have been running a cron job at the top of every hour that announces the 
time, but it stopped working, which prompted me to investigate here for a 
solution.  In the process I found that there were some other things that were 
not working anymore too, like mplayer.  

So now I will dig a little deeper!

Thanks.


> but I do know that arts 
> can shut itself down after a certain amount of inactivity (don't ask me
> where the setting for that is), which would free up the sound device for
> other programs.
>
> -Mark

-- 
Alvin Smith



Reply to: