Quantcast Avisynth 2.05 Filter Compare for Debugging is Interesting... - digitalFAQ.com Forums [Archives]
  #1  
09-25-2002, 08:57 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: A simple way to compare two scripts Dialhot Avisynth Scripting 18 02-14-2009 03:42 PM
Avisynth: Interesting results with YlevelsS supermule Avisynth Scripting 2 08-06-2006 11:59 PM
Interesting Avisynth resizing thread at doom9.org incredible Avisynth Scripting 305 03-31-2004 03:37 PM
Avisynth: Interesting ASharp phenomenon... audioslave Avisynth Scripting 12 10-23-2003 06:36 AM
Encoding: Interesting Picture Noise Filter jorel Video Encoding and Conversion 9 02-07-2003 07:42 PM

Thread Tools



 
All times are GMT -5. The time now is 03:24 PM  —  vBulletin Jelsoft Enterprises Ltd