From owner-freebsd-questions@FreeBSD.ORG Tue Sep 2 15:40:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44E53106564A for ; Tue, 2 Sep 2008 15:40:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 04CF58FC12 for ; Tue, 2 Sep 2008 15:40:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-20-67.dynamic.qsc.de [92.195.20.67]) by mx01.qsc.de (Postfix) with ESMTP id 1BF39511C0; Tue, 2 Sep 2008 17:40:45 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m82Feij1003125; Tue, 2 Sep 2008 17:40:45 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 2 Sep 2008 17:40:44 +0200 From: Polytropon To: FreeBSD Message-Id: <20080902174044.520fbbb3.freebsd@edvax.de> In-Reply-To: <48BD5C65.9030502@optiksecurite.com> References: <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <48BD5C65.9030502@optiksecurite.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Tom Marchand , Andrew Gould , freebsd-questions@freebsd.org Subject: Re: How to compare 2 images from command line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 15:40:48 -0000 On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD wrote: > I want to determine if Mplayer is working correctly. The best way to be > sure is to check if the display on the screen is changing. That's the > purpose of the screenshots. And this works? I always thought mplayer would output the video stream via DRI / DRM, so on the screenshot, nothing would be seen... > The screenshots are taken by Nagios every 5 > minutes and the new screenshot is compared with the preceding one. But, > by now, it doesn't work because every tool we try is seeing a diffence > between 2 identical images. The images may be identical in content, but it's completely possible that other data (others than the pictural information) is coded into the file, for example date and time of creation, so the files may be different, while the pictures they show are identical. It would be useful first to "decompile" the files - create a new file that only contains pictural information, nothing more. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...