>|If I were you I'd use a named pipe. E.g., >| >|mkfifo whatever >|cat /dev/video0 > whaterver & >|mencoder whatever [options] -o file.avi Thanks for the suggestion. This works but no better than an ordinary pipe.