Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Sep 2008 11:59:12 -0400
From:      FreeBSD <freebsd@optiksecurite.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        Tom Marchand <m0rchand@comcast.net>, Andrew Gould <andrewlylegould@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: How to compare 2 images from command line
Message-ID:  <48BD62D0.4030809@optiksecurite.com>
In-Reply-To: <20080902174044.520fbbb3.freebsd@edvax.de>
References:  <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net>	<48BD5A8A.5080400@optiksecurite.com>	<d356c5630809020828y1e4bf347k7725857a4ceaa761@mail.gmail.com>	<48BD5C65.9030502@optiksecurite.com> <20080902174044.520fbbb3.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon a écrit :
> On Tue, 02 Sep 2008 11:31:49 -0400, FreeBSD <freebsd@optiksecurite.com> 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...
> 

Yes it works. I don't know how scrot takes it's screenshot but it does 
it well ;)

>> 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.
> 
> 
> 









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48BD62D0.4030809>