Current song filename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



> 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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux