From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JI80P-0006Ph-O5 for garchives@archives.gentoo.org; Thu, 24 Jan 2008 19:44:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C8A8E040B; Thu, 24 Jan 2008 19:44:55 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id 50C08E040B for ; Thu, 24 Jan 2008 19:44:55 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 895FF8E0AA; Thu, 24 Jan 2008 14:44:54 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 24 Jan 2008 14:44:54 -0500 X-Sasl-enc: KhKiNfH+ycy9KCbk+oiIMdRBHXUNqp0xiFed6g1emsiI 1201203893 Received: from [10.161.109.15] (unknown [212.23.103.90]) by mail.messagingengine.com (Postfix) with ESMTP id 66E242AFFA for ; Thu, 24 Jan 2008 14:44:53 -0500 (EST) Subject: Re: [gentoo-user] Video Network Stream from Pipe From: Florian Philipp To: gentoo-user@lists.gentoo.org In-Reply-To: <1200511775.15883.18.camel@NOTE_GENTOO64.PHHEIMNETZ> References: <1200511775.15883.18.camel@NOTE_GENTOO64.PHHEIMNETZ> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-MHalrAgegE8qKCCZ7LNb" Date: Thu, 24 Jan 2008 20:44:44 +0100 Message-Id: <1201203884.6516.5.camel@NOTE_GENTOO64.PHHEIMNETZ> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 X-Archives-Salt: bb845e24-03d1-40cd-9232-2c0902d5f020 X-Archives-Hash: 0a95d9aa47e5b72efca5a96cd020bc44 --=-MHalrAgegE8qKCCZ7LNb Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-01-16 at 20:29 +0100, Florian Philipp wrote: > Hi! >=20 > I'm currently trying to set up a personal video recorder in form of a > headless server using mencoder and freevo. >=20 > What I would like to do is watching the movie while mencoder is realtime > encoding it to x264/vorbis in a Matroska container. > I already tried it using sshfs. Unfortunately, the file is only read up > to the point where it ended when playing it started. > I don't know if NFS would behave better. >=20 > Well, what I thought about was doing it like this: >=20 > #!/bin/bash > mencoder [...] -o - | tee video.mkv | stream-app >=20 > So far it should work and vlc would be the natural choice for the > streaming app. However, vlc seems unable to read from a pipe so I need > something else. >=20 > Can anyone give me a tip? maybe I missed an option in vlc or can someone > propose an app that can be used instead? >=20 > By the way: It's a 100MBit ethernet network without any switches or > hubs. The machines are right next to each other. > I hope it will be a 400 or even 500MBit net soon, but that's another > topic ... > =20 I just want to give an update in case someone plans something like this:=20 NFS does not have the problem sshfs had - problem solved. However, you can't navigate through files that mencoder did not yet finish muxing. To be able to do so, you must tell mplayer to create a new idx with -forceidx (just -idx might work as well and shouldn't harm files that already contain an index but I haven't tested it yet). --=-MHalrAgegE8qKCCZ7LNb Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQBHmOqsqs4uOUlOuU8RAm29AJwPdOaSdF92ZlqBs8eUI95uf7Qj4wCePGFd RwsoDPSoo/AP5BCqJCIeCAo= =VMXU -----END PGP SIGNATURE----- --=-MHalrAgegE8qKCCZ7LNb-- -- gentoo-user@lists.gentoo.org mailing list