Home
RecentChanges

Search:

» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Download
»Learn to script
»FAQ
»Manual
»Discussion fora
»Project page
»External filters
»FeedBack

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth

 

Avisynth 
Logo

Compare

( Diese Seite in flag-germany.gif Deutsch )

Compare(clip_filtered clip, clip_original clip, string channels, string logfile, bool show_graph)

Compare outputs the filtered clip (first arg) with text (Mean Absolute Difference, Mean Difference & PSNR) and Marc's PSNR graph (if show_graph is true). Starting from v2.53 also the 'Overal PSNR' is shown on the screen, but not yet in the logfile. The channels string is a combination of R,G,B [,A] or Y,U,V, depending on the source clips. The empty string (default) means either "YUV" or "RGB". If logfile is not null, the results will be written to a file by this name and not drawn on the clip. It is much faster if you need to compare a lot of frames.

Example:

# displays differences on screen:

Compare(clip1, clip2)

# for creating a log file:

Compare(clip1, clip2, "", "compare.log")

# will only compare chroma channels of YUY2 clips:

Compare(clip1, clip2, "UV")

SourceForge Logo

 


Edit this document | View document history
Document last modified Wed, 20 Aug 2003 09:08:24