[MPlayer-users] Current song filename

Oliver Seitz info at vtnd.de
Thu Oct 1 19:43:21 CEST 2009


> So, I understand that I need to correct my question:
> How to launch mplayer with pipes on its stdin and stdout? Using only
> shell, no perl.

mplayer -input file=/tmp/input-pipe >/tmp/output-pipe

Or

mplayer -input >/tmp/output-pipe </tmp/input-pipe

Or

cat /tmp/input-pipe | mplayer -input >/tmp/output-pipe

The first solution is the best I think, as the pipe stays valid even if
closed by a writing process as mentioned in the manpage.

But in fact redirecting stdin and stdout is not really a mplayer subject,
it's shell basics.

Greets,
Kiste



More information about the MPlayer-users mailing list