Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2008 17:40:44 +0200
From:      Polytropon <freebsd@edvax.de>
To:        FreeBSD <freebsd@optiksecurite.com>
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:  <20080902174044.520fbbb3.freebsd@edvax.de>
In-Reply-To: <48BD5C65.9030502@optiksecurite.com>
References:  <090220081512.17537.48BD57E100051D800000448122068246930B020E080C9DCF03@comcast.net> <48BD5A8A.5080400@optiksecurite.com> <d356c5630809020828y1e4bf347k7725857a4ceaa761@mail.gmail.com> <48BD5C65.9030502@optiksecurite.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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...



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080902174044.520fbbb3.freebsd>