From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HoKIr-00076e-BI for garchives@archives.gentoo.org; Wed, 16 May 2007 14:16:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4GEF0xA026024; Wed, 16 May 2007 14:15:00 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4GE5RCg011736 for ; Wed, 16 May 2007 14:05:28 GMT Received: by py-out-1112.google.com with SMTP id a29so502314pyi for ; Wed, 16 May 2007 07:05:26 -0700 (PDT) Received: by 10.65.59.11 with SMTP id m11mr3306415qbk.1179324318841; Wed, 16 May 2007 07:05:18 -0700 (PDT) Received: from merkurial.krausbeck.org ( [217.168.4.83]) by mx.google.com with ESMTP id e13sm2167986qba.2007.05.16.07.05.08; Wed, 16 May 2007 07:05:16 -0700 (PDT) From: Javier Krausbeck To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Real time video streaming (was: Help playing simultaneously splitted videos (sort of)) Date: Wed, 16 May 2007 16:04:37 +0200 User-Agent: KMail/1.9.6 References: <200705131741.32146.gentoo@krausbeck.org> <200705132225.11504.bss03@volumehost.net> In-Reply-To: <200705132225.11504.bss03@volumehost.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705161604.37074.gentoo@krausbeck.org> Sender: Javier G Krausbeck X-Archives-Salt: bcb7b518-f383-474c-a336-4442c761da5f X-Archives-Hash: 1ac539b170f038368585c5e56854cd1c On Monday 14 May 2007, Boyd Stephen Smith Jr. wrote: > simultaneously splitted videos (sort of))': > > >> mkfifo f1 > > >> mkfifo f2 > > >> mkfifo f3 > > >> mplayer whatever_options_you_want_and_make_it_write_to_stdout | tee > > >> f1 > > >> | tee f2 >f3 > > > Just one caveat, mplayer does not do output to stdout, > > So use another fifo. > 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'm trying to find the kernel patch that makes FIFOs readable in parallel by several processes. But, damn it, I can't find it right now. -- Javier Krausbeck -- gentoo-user@gentoo.org mailing list