From owner-freebsd-questions@FreeBSD.ORG Sun May 14 17:14:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E42CE16A402 for ; Sun, 14 May 2006 17:14:33 +0000 (UTC) (envelope-from freebsd@anjos.strangled.net) Received: from mail.anjos.strangled.net (87-196-140-132.net.novis.pt [87.196.140.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2484D43D46 for ; Sun, 14 May 2006 17:14:32 +0000 (GMT) (envelope-from freebsd@anjos.strangled.net) Received: from targa.anjos.strangled.net (targa.anjos.strangled.net [10.0.1.20]) by mail.anjos.strangled.net (8.13.4/8.13.4) with ESMTP id k4EHETb9004400; Sun, 14 May 2006 18:14:29 +0100 (WEST) (envelope-from freebsd@anjos.strangled.net) From: Miguel Ramos To: Andreas Wideroe Andersen In-Reply-To: <7.0.1.0.2.20060514130208.0453c8d8@wideroe.net> References: <7.0.1.0.2.20060514130208.0453c8d8@wideroe.net> Content-Type: text/plain; charset=iso8859-15 Date: Sun, 14 May 2006 18:14:28 +0100 Message-Id: <1147626869.29176.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Convert numbered JPG files to movie X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 17:14:34 -0000 Well, perhaps what you want is MJPEG, which is a packed file with each frame being a JPEG image. Check the MJPEG Wikipedia article and if you google for MJPEG you'll find an MJPEG howto on sourceforge. Now, if I'm not mistaken, an MJPEG file or stream is just a MIME packed stream of JPEG images with content type of multipart/x-mixed-replace. If that is so, you could probably produce an MJPEG file simply by using mpack, and the howtos you may find are for more complicated cases such as converting and MJPEG stream to MPEG. It may not work, but if you succeed in packing/unpacking MJPEG streams with mpack, I would be interested in knowing it because I will be decoding one such stream within a couple of monthes. Miguel Ramos Dom, 2006-05-14 às 13:07 +0200, Andreas Wideroe Andersen escreveu: > Hi, > I have a surveillance camera uploading numbered > still JPG images to my FreeBSD (4.7 STABLE) > server. The number of still images grow really > fast and I'm looking for a tool or a script that > I can configure through cron (or similare) to > automatically once per day add these files to a > movie file (Ie. avi file or mpg file in PAL) and delete the JPG files. > > Does anyone know of a script or a program that I can use for this? > > Thanks! > Andreas > > > --- > Norsk Smalfilm AS > Andreas Widerĝe Andersen > http://www.smalfilm.no > > Filmshooting | Com - http://www.filmshooting.com > > Tel: (+47) 38 17 99 16 > Fax: (+47) 38 02 33 84 > >