Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 08:39:16 +0100
From:      Steve O'Hara-Smith <steve@sohara.org>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: schedule script strategies?
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Apr 2006 23:33:18 -0400
Joe Auty <joe@netmusician.org> 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 <recording period in seconds> ...

	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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060414083916.0d76f0f0.steve>