From owner-freebsd-multimedia@FreeBSD.ORG Fri Apr 14 07:39:32 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E65716A401 for ; Fri, 14 Apr 2006 07:39:32 +0000 (UTC) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0540043D45 for ; Fri, 14 Apr 2006 07:39:31 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 51480 invoked by uid 16563); 14 Apr 2006 07:39:30 -0000 Received: from unknown (HELO df1.marelmo.com) ([194.165.166.66]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 14 Apr 2006 07:39:30 -0000 Date: Fri, 14 Apr 2006 08:39:16 +0100 From: Steve O'Hara-Smith To: freebsd-multimedia@freebsd.org Message-Id: <20060414083916.0d76f0f0.steve@sohara.org> In-Reply-To: <538A632F-BE1C-434A-B558-E7394494F3E5@netmusician.org> References: <538A632F-BE1C-434A-B558-E7394494F3E5@netmusician.org> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.16; i386-pc-dragonfly) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: schedule script strategies? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 07:39:32 -0000 On Thu, 13 Apr 2006 23:33:18 -0400 Joe Auty wrote: > What I need to do is start recording (cat /dev/cxm0 > myfile.mpg) at > a certain time, stop recording at a certain time, include the date You can use at to start the recording. > stamp in the filename, and preferably pipe the file to something like > ffmpeg to compress it to a format that will take less disk space. ffmpeg -i /dev/cxm0 -t ... Should take care of the recoding and the stopping. I'll leave you to decide on the ... :) -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/