On Sunday 13 May 2007, YoYo Siska wrote: > > I've been asked something strange. I have to take a video input and split > > it in three parts, sending it to three outputs simultaneously.
> > The first thing I thought of was creating a pipe, sending there the video > > and trying to read from there. I did my firsts tests with mplayer, but as > > soon as I launched the second instance of the video output, the mplayer > > which was feeding the pipe exited. > > Does any of you have any good idea to accomplish this in a simple and > > elegant way? > just expanding your idea with pipes: > mkfifo f1 > mkfifo f2 > mkfifo f3 > mplayer whatever_options_you_want_and_make_it_write_to_stdout | tee f1 > | tee f2 >f3 > and then reading from f1, f2, f3 doesn't do the thing you want ? Just one caveat, mplayer does not do output to stdout, you only have the option of using yuv4mpeg as video out, which means a pipe. I tried catting this first pipe to multiple ones, but as I guessed, it didn't work. Anyway, the more I think about it, the less I like it. Let's say it it's not elegant at all. Much less nice. I think the best way would be streaming the video and do various reads of it, showing different parts of the video on each of the clients. So far I only know of vlc. Is there any other software which can do streaming of video only (I don't need sound) to multiple clients (on the same machine)? Besides, I don't need it to travel multiple routers or anything like that. My only constraint is that it has to be real time, all the clients need to synchronized. -- Javier Krausbeck <[EMAIL PROTECTED]> -- [EMAIL PROTECTED] mailing list