Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 11:44:19 -0400
From:      Joe Auty <joe@netmusician.org>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: ffmpeg question
Message-ID:  <60E1D0F4-190D-46AF-A92E-F7374EA32959@netmusician.org>
In-Reply-To: <200604180854.k3I8sAB7049958@lurza.secnetix.de>
References:  <200604180854.k3I8sAB7049958@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Apr 18, 2006, at 4:54 AM, Oliver Fromme wrote:

> Joe Auty <joe@netmusician.org> wrote:
>> The cat command works perfectly, but I'm trying to script it, and
>> since you can use ffmpeg to specify how many seconds of footage to
>> capture I'm trying to make this work.
>
> #!/bin/sh -
> DURATION=20
> DATESTAMP=$(date +%Y-%m-%d)
> cat /dev/whatever > /foo/bar-${DATESTAMP}.mpg &
> CATPID=$!
> sleep $DURATION
> kill $CATPID

Cool!

I'll hang onto this email... I'm currently using ffmpeg as a  
passthrough, but I was wondering how to do it this way.

>> According to Quicktime's Get Info, the cat files are mpeg2...
>
> Yes.  What exactly is wrong with MPEG-2 in your opinion?

Nothing, except the files are very large... Since I plan to record  
every night, this space consumption will add up quickly.
>
>> Am I starting to make sense now?
>
> I'm not sure.  :-)
>

Thanks for your response.. I appear to be set, but again, I hope my  
messages are of use to somebody else!







-----------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
joe@netmusician.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60E1D0F4-190D-46AF-A92E-F7374EA32959>