[MPlayer-users] Current song filename

Alexey Mishustin shumkar at shumkar.ru
Thu Oct 1 20:36:21 CEST 2009


В Чтв, 01/10/2009 в 19:43 +0200, Oliver Seitz пишет:
> > 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

Thank you! It works!

> 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.

You are right. I'm not used to it yet...

*CHEERS*

-- 
Regards,
Alex



More information about the MPlayer-users mailing list