[Ilugc] .a-tip-a-day. (mkfifo - run a different kind of pipe | between processes)

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Sun Nov 8 07:06:00 2009

$ mkfifo /tmp/fifo

$ mencoder video.avi -ss 00:04:00 -out /tmp/fifo&

$ ffmpeg -i /tmp/fifo i.mp3

The above commands illustrate the ability to read and write to
temporary files without taking any
space on the file system.

Certain commands cannot read from standard input. In such cases you
can use fifo as a method to hold
data until read.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com

Other related posts:

  • » [Ilugc] .a-tip-a-day. (mkfifo - run a different kind of pipe | between processes) - Girish Venkatachalam