digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   AviSynth 2.05 filter Compare for debugging is interesting... (http://www.digitalfaq.com/archives/avisynth/1217-avisynth-205-filter.html)

black prince 09-25-2002 08:57 PM

AviSynth 2.05 filter Compare for debugging is interesting...
 
Hi Kwag,

This avisynth filter "Compare" seems interesting. You can compare
your source to the encoded mpg. The log file it creates can be graphed
in Excel for visual comparision. This could show how well Tmpgenc
is handling bitrates in low and high action scenes. This is available
with avisynth 2.05. What do you think?

Compare
Compare(clip_filtered, clip_original, 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). 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")


Could this tell how well Tmpgenc is doing vs the original source,
for handling low and high action scenes during a movie? :)


-black prince


All times are GMT -5. The time now is 01:58 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.