[MPlayer-users] running mplayer as background process ? ENGLISH
adeffs at rpi.edu
Fri Feb 7 20:38:06 CET 2003
On Thursday 06 February 2003 05:22 pm, D Richard Felker III wrote:
> I can't tell who wrote what in this email, the quoting appears to be
> messed up... Anyway, ...
ok, I'll clear this up. I have a "mediabox" connected to my stereo for
listening to mp3's, watching/listening to live internet streams, etc. I have
mplayer setup on it and would like to be able to run
in the background. Actually, I have a script, that will automatically restart
if it exits for some reason(stream is lost or whatever) and I'd like to have
this script run in the background. This way I can ssh in, run the script and
logout and still have the script run. I'm using a Hollywood+ so I don't need
X stuff(ie. i don't create a video window, its all output to my tv through my
H+) just the command line interface.
> On Thu, Feb 06, 2003 at 05:07:53PM -0500, Steven Adeff wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > I have a mediabox near my stereo that i use as an mp3 server, and to
> > listen to and watch internet streams. I have a radio station I'd like to
> > be able to play the stream and log out and have the stream continue to
> > play. I tried just using nohup and that didn't work so then I searched
> > the archives and found the post Gabor made a while back. I tried his
> > method but this doesn't work either.
> > is there a way I can run
> > mplayer
> > "http://www.live365.com/play/293353?membername=&session=kxlu1%3A0&SaneID=
> > in the background and be able to log out from my ssh session and still
> > have it run?
> Best way imho is to learn how to use screen. (man screen)
> > On Thu, Nov 15, 2001 at 10:48:07PM +0100, Martin Hoffmann wrote:
> > > i'm trying to call mplayer from a shell script which runs in the
> > > background. Mplayer starts but waits until its turned into foreground
> > > (fg) - otherwise it will not play :-( Is there a way to make mplayer
> > > work in the background ? I don't need it's output on the console and i
> > > control it via lirc - so i don't want it in the foreground :-)
> > >
> > > Anyone ?
> > What about something similar:
> > mplayer valamivan.avi </dev/zero >/dev/null 2>/dev/null
> Huh? Do you really want to spam mplayer's stdin with an infinite
> stream of \0's? This sounds like a very bad idea! </dev/null would
> make much more sense.
More information about the MPlayer-users