mplayer-users
[Top][All Lists]
Advanced

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

Re: [MPlayer-users] control mplayer


To: chufis@xxxxxxxxx,"MPlayer usage questions, feature requests, bug reports" <mplayer-users@xxxxxxxxxxxx>
Subject: Re: [MPlayer-users] control mplayer
From: The Wanderer <inverseparadox@xxxxxxxxxxx>
Date: Fri, 09 Sep 2005 21:32:23 -0400
Cc:
Delivered-to: itdp@localhost
Delivered-to: mplayer-users@mplayerhq.hu
In-reply-to: <c2ed835105090917377a5b9962@mail.gmail.com>
Organization: This space intentionally left blank.
References: <c2ed835105090917377a5b9962@mail.gmail.com>
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050815

Mara Miranda wrote:

I want to know if is posible to control a mplayer running in one
console, from another one. Or how could I give orders to that mplayer
if I can't access to the console where it was created.

Assumiing that you're running Linux, or some reasonably close relative, and that I'm not misremembering anything important:

mkfifo mplayer-remote-control
mplayer -slave -input file=mplayer-remote-control

And then, when you want to tell MPlayer to execute "command":

echo "command" > mplayer-remote-control

from any console. IIRC, "command" can be any of the commands listed in
DOCS/tech/slave.txt.

--
      The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

A government exists to serve its citizens, not to control them.

_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users


[Prev in Thread] Current Thread [Next in Thread]