[MPlayer-users] mplayer 2 dumps in the same time
victor.petrescu13 at gmail.com
Tue Apr 5 12:29:52 CEST 2011
I tried like you said (also tried stefan version) but it doesn't work...
Here's what I did:
#cat input | tee pipe.avi>pipe2.avi &
Now I tested the output:
#mplayer pipe.avi -> error connecting to soket
#mplayer pipe2.avi -> same
#mplayer input -> working fine
Can you please point what I've done wrong? Thank you.
2011/4/5 Oliver Seitz <info at vtnd.de>
> On 05.04.2011 10:27, Victor Petrescu wrote:
>> Good day to all.
>> I need to make 2 dumps (in 2 pipes actually) in the same time. I guess I
>> could be done with tee but I am doing something wrong and I don't know
> One pipe should only be read by one task. So you need three pipes:
> mkfifo input
> mkfifo output1
> mkfifo output2
> Then start the copy process:
> cat input | tee output1 >output2 &
> then start the dump:
> mplayer [URL] --dumpstream --dumpfile input
> When mplayer stops and closes the pipe, the copy task should die by itself.
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
More information about the MPlayer-users