schedule script strategies?

Steve O'Hara-Smith steve at sohara.org
Fri Apr 14 07:39:32 UTC 2006


On Thu, 13 Apr 2006 23:33:18 -0400
Joe Auty <joe at 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/


More information about the freebsd-multimedia mailing list