Log in

View Full Version : What's the deal with the comptest.avs file at sharefunctions?


Chainmax
20th November 2003, 22:18
I wanted to know if it functions anything like the compressibility test from GKnot. I'd also like to know how to use it, I presume I have to put it at the end of the script, but I don't know how it outputs the comptest results or how to get them. Can anyone shed some light into this?

qwerpoi
21st November 2003, 00:32
I think the function you are referring to (the website is down right now) simply takes in a video, and outputs 1% of the video (or however much percentage you specify) with essentially a randomized set of frames (see the result by previewing the script in virtual dub). This type of clip is what is being used by Gordian Knot (or jonny's Enc) to do the comptest. The avisynth function itself does not do anything to give you compressibility values, but you can use it to do a manual comptest (search the forums). In general, it's best to leave the compressibility testing to programs like GKnot or Enc, since it's actually a pretty complicated subject, but the function is still useful to give you a rough estimate of your total filesize (set up your script, add Comptest(1) to the end, encode, your final file size is roughly 100 times the size of your encoded clip). But again, this is a very rough estimate. I personally enjoy working with avisynth and would like it such that all my testing is being done strictly in avisynth, but right now it's not entirely possible and you should probably use these other programs to help you along.

Chainmax
21st November 2003, 22:13
I never heard of Enc before. I'm going to try and find out more about it. In the meantime, could you whip up some quick linkage to a howto?

jonny
22nd November 2003, 01:56
Enc's documentation is 99% an howto to the functions, isn't it? ^^

Chainmax
22nd November 2003, 23:18
Awesome. Thanks a lot for the quick replies :) :).