Você deve dar uma olhada em: link
Bit interessante:
Remote control MPlayer
There are two types of people in this world: those who think MPlayer
is the best media player in the history of existence, and those who
are wrong. One of MPlayer's lesser-known features is the ability to
control it from a console, a shell script or even over the network.
The secret to this trick is in MPlayer's -slave option, which tells
the program to accept commands from the stdin stream instead of
keystrokes. Combine this with the -input option, and commands are read
from a file, or a FIFO. For instance, try this in one terminal:
mkfifo ~/mplayer-control mplayer -slave -input
file=/home/user/mplayercontrol filetoplay
Then, in another terminal or from a script, enter:
echo "pause" >~/mplayer-control
This command will pause the currently running MPlayer, and issuing the
command again will resume playback. Note that you have to give the
full path of the control file to MPlayer, with /home/user and so
forth, because ~/mplayer-control alone won't work. There are plenty of
other commands you can send to MPlayer - indeed, any keyboard
operation in the program triggers a command that you can use in your
control script. You can even operate MPlayer from another computer on
the network, using SSH or Netcat. See this example:
ssh user@host "echo pause >mplayer-control"
Here, we log in to a remote machine (host) with the username user, and
run a command to send pause to the remote machine's MPlayer control
file. Of course, this can be made much faster if you have SSH key
authentication enabled, as you don't need to give the password each
time.
Se você executar o MPlayer no modo escravo como eles mencionam aqui, não importa qual console o MPlayer deve permanecer em segundo plano, observando o arquivo de entrada para seus comandos e não a janela do terminal que o chamou.
Última Nota: Eles dizem que blah de um terminal diferente apenas para mostrar que funciona em uma rede, desde que você edite o arquivo listado como eles mostram que não importa se o arquivo é editado pela mesma máquina ou outro todo o que importa é que o MPlayer está observando aquele arquivo para quaisquer comandos colocados nele e então age sobre o que o comando está pedindo para ele fazer.