Javier Krausbeck wrote:

>> To elaborate:
> 
>> mkfifo queue
>> mkfifo vo1
>> mkfifo vo2
>> mkfifo vo3
>> mplayer lots_of_options_and_write_output_to queue &
>> tee vo1 < queue | tee vo2 > vo3 &
> 
>> or similar.
> 
> I'm sorry to say that it just doesn't work.
> There's no way of getting two reads from the initial fifo mplayer creates.
I don't understand.
You don't need to do multiple reads from the fifo that mplayer writes to
(queue). Only one tee process (the first in the command) reads from it,
it "doubles" it and writes it to vo1 and its  stdout, and the second tee
reads that and doubles it again into vo2 and vo3. So after running that
command you can read simlutaneosly from vo1-3
(well you _have_ to read from all of them, otherwise tee will pause
writing to others)

yoyo
-- 
[EMAIL PROTECTED] mailing list

Reply via email to