1 |
Javier Krausbeck wrote: |
2 |
|
3 |
>> To elaborate: |
4 |
> |
5 |
>> mkfifo queue |
6 |
>> mkfifo vo1 |
7 |
>> mkfifo vo2 |
8 |
>> mkfifo vo3 |
9 |
>> mplayer lots_of_options_and_write_output_to queue & |
10 |
>> tee vo1 < queue | tee vo2 > vo3 & |
11 |
> |
12 |
>> or similar. |
13 |
> |
14 |
> I'm sorry to say that it just doesn't work. |
15 |
> There's no way of getting two reads from the initial fifo mplayer creates. |
16 |
I don't understand. |
17 |
You don't need to do multiple reads from the fifo that mplayer writes to |
18 |
(queue). Only one tee process (the first in the command) reads from it, |
19 |
it "doubles" it and writes it to vo1 and its stdout, and the second tee |
20 |
reads that and doubles it again into vo2 and vo3. So after running that |
21 |
command you can read simlutaneosly from vo1-3 |
22 |
(well you _have_ to read from all of them, otherwise tee will pause |
23 |
writing to others) |
24 |
|
25 |
yoyo |
26 |
-- |
27 |
gentoo-user@g.o mailing list |