From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 18 15:44:28 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 B86B216A40F for ; Tue, 18 Apr 2006 15:44:28 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [209.67.223.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C756A43D4C for ; Tue, 18 Apr 2006 15:44:22 +0000 (GMT) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 58CB9730A4 for ; Tue, 18 Apr 2006 11:44:22 -0400 (EDT) Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68468-01 for ; Tue, 18 Apr 2006 11:44:21 -0400 (EDT) Received: from [156.56.14.132] (unknown [156.56.14.132]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id 9E702730A0 for ; Tue, 18 Apr 2006 11:44:21 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v749.3) In-Reply-To: <200604180854.k3I8sAB7049958@lurza.secnetix.de> References: <200604180854.k3I8sAB7049958@lurza.secnetix.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <60E1D0F4-190D-46AF-A92E-F7374EA32959@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Tue, 18 Apr 2006 11:44:19 -0400 To: freebsd-multimedia@FreeBSD.ORG X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: by amavisd-new at netmusician.org Cc: Subject: Re: ffmpeg question 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: Tue, 18 Apr 2006 15:44:29 -0000 On Apr 18, 2006, at 4:54 AM, Oliver Fromme wrote: > Joe Auty 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