From owner-freebsd-questions@FreeBSD.ORG Tue Jun 10 17:46:19 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C62AA106567A for ; Tue, 10 Jun 2008 17:46:19 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id A6B298FC19 for ; Tue, 10 Jun 2008 17:46:19 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [172.16.44.14] (adsl-75-4-152-133.dsl.emhril.sbcglobal.net [75.4.152.133]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id 8865B11AB5; Tue, 10 Jun 2008 13:30:35 -0400 (EDT) Message-ID: <484EBA3A.40002@cyberleo.net> Date: Tue, 10 Jun 2008 12:30:34 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.14 (X11/20080520) MIME-Version: 1.0 To: dfeustel@mindspring.com References: <20080608215728.B8CA58FC19@mx1.freebsd.org> In-Reply-To: <20080608215728.B8CA58FC19@mx1.freebsd.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Playing back motion jpeg saved by firefox 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: Tue, 10 Jun 2008 17:46:19 -0000 dfeustel@mindspring.com wrote: > I just discovered that firefox can save motion video > in addition to displaying it. But I don't know how > to play back the saved video.cgi file. Mplayer > complains about missing configuration data. > > Does anyone know how to play back the file saved > by firefox? In this instance, firefox is simply saving the stream of data from the server, and giving it a name that matches the last path component in the URL (in this case, video.cgi). The format of the file is not likely to be understood by anything other than firefox (at least, as I've found), as it is most likely a multipart/mime-encoded file containing a sequence of images, like from an internet-enabled webcam. Your best bet, if this is the case, is to use a mime parser to extract each of the individual pictures from the file, then use a proper video encoder to glue them together with the appropriate metadata to allow video players to understand them. Mplayer's mencoder can do so, and can even encode to MJPEG, for little to no loss in quality; although you may have issues choosing a proper framerate, as mime-based image streaming isn't always stable. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/