From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PCyzl-0005K1-R1 for garchives@archives.gentoo.org; Mon, 01 Nov 2010 18:20:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA83DE0730; Mon, 1 Nov 2010 18:19:27 +0000 (UTC) Received: from smtp-out-1.alltele.net (smtp-out-1.alltele.net [85.8.31.24]) by pigeon.gentoo.org (Postfix) with ESMTP id 88041E072E for ; Mon, 1 Nov 2010 18:19:27 +0000 (UTC) Received: from smtp-out-1.alltele.net (localhost [127.0.0.1]) by smtp-out-1.alltele.net (Postfix) with ESMTP id 4F7BC4913E for ; Mon, 1 Nov 2010 19:19:26 +0100 (CET) Received: by smtp-out-1.alltele.net (Postfix, from userid 1001) id 441BB4913F; Mon, 1 Nov 2010 19:19:26 +0100 (CET) X-Spam-Status: No, score=-1.9 required=6.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp-out-1.alltele.net Received: from [192.168.1.100] (71.57.227.87.static.th.siw.siwnet.net [87.227.57.71]) by smtp-out-1.alltele.net (Postfix) with ESMTPS id E45F14913E for ; Mon, 1 Nov 2010 19:19:23 +0100 (CET) Message-ID: <4CCF04AA.9020308@coolmail.se> Date: Mon, 01 Nov 2010 19:19:22 +0100 From: pk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101031 Lightning/1.0b3pre Thunderbird/3.1.6 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to record a dvb-t stream for a specific time ? References: <20101030115502.GA5979@solfire> <4CCD5547.7090900@coolmail.se> <20101031123009.GA655@solfire> In-Reply-To: <20101031123009.GA655@solfire> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP X-Archives-Salt: a7380825-4e5d-43d0-9eda-2245ecfba6eb X-Archives-Hash: 52921e4048f2719db00ed3ecf02f1c5b On 2010-10-31 13:30, meino.cramer@gmx.de wrote: > ...cat has no timing parameter (see mail)... Yes, but I put it in a sub shell (cat ... &) and then kill it (using a very rough script that loops date). Basically what I do is: 1. set channel for a certain video adapter (I have two). 2. Use a script that loops date (with a 5 second interval) and when it hits the threshold starts a sub shell with 'cat /dev/video0 > filmname.mpg' and saves the PID in a filename with the same name but with a .pid ending instead. 3. Use a script that loops date and when it hits the threshold reads the PID of the cat process from the .pid file and kills it. Perhaps not the ideal way to solve a problem but it works for me without having to mess with something that can sing & dance while (hopefully) doing whatever I want it to do... and needing the kitchen sink for a minimal install. MfG Peter K