[MPlayer-users] [PATCH] Add option to read -slave commands from fifo
Brett Kosinski
brettk at frodo.dyn.gno.org
Tue Apr 8 17:19:46 CEST 2003
> $SUBJECT is attached - useful for stuff like
>
> dvbstream -whatever | mplayer -
>
> and still wanting to control mplayer via -slave commands from a gui
>
> With this patch, you can
>
> mkfifo /tmp/foo
> dvbstream -whatever |mplayer -cfifo /tmp/foo -slave -
>
> And write -slave commands to /tmp/foo instead of stdin [which is
> occupied by dvbstream]
Is there a reason you don't just send the dvbstream stuff through a fifo?
eg:
mkfifo /tmp/foo
dvbstream -whatever > /tmp/foo &
mplayer -slave /tmp/foo
Brett.
More information about the MPlayer-users
mailing list