Log in

View Full Version : New AVSOptimizer


DarkDudae
15th January 2004, 12:21
Hi everybody, maybe some of you already knows AVSOptimizer. It is a tool integrated in ARCalculator that analyzes XviD stats files and creates an optimized avisinth script with different complexity cases. We are working in a new version of ARCalculator that will include a new AVSOptimizer that allows user to configure complexity cases (its filters, and its resizers)... It only works with XviD, it makes a % of additional pass of XviD (Since 10% to 100% - user can choose). While higher be the % of additional pass, more accuracy will have the program.

This is an example of optimized script calculated with only a 10% of additional pass... I think it will be interesting for avisynth users, and developers... all comments and suggestions will be welcome :)

#########################################################
# Script Generado por AR Calculator #
# #
# http://www.canalxvid.com #
#########################################################

SetMemoryMax(100)

SetWorkingDir("C:\AR093_~1\AR09~1.2\")
LoadPlugin("mpeg2dec3.dll")
LoadPlugin("MipSmooth.dll")
LoadPlugin("undot.dll")
LoadPlugin("FluxSmooth.dll")
LoadPlugin("Unfilter.dll")

clip=Mpeg2Source("C:\TERMIN~1\VIDEO_TS\TERMIN~1.D2V")

clip=LumaFilter(clip)
clip=Crop(clip,2,78,-2,-78,align=true)
clip=Undot(clip)
C0 = clip.LanczosResize(672,272)
C1 = clip.BicubicResize(672,272,0,0.75)
C2 = clip.Unfilter(-6,-6).BicubicResize(672,272,0,0.75)
C3 = clip.BilinearResize(672,272)
C4 = clip.Unfilter(-6,-7).BilinearResize(672,272)
C5 = clip.Unfilter(-10,-10).BilinearResize(672,272)
C6 = clip.MipSmooth(preset = "movieHQ", scenechange = 6).BilinearResize(672,272)
C7 = clip.MipSmooth(preset = "movieHQ", scenechange = 8).FluxSmooth(8,8).BilinearResize(672,272)
C8 = clip.MipSmooth(preset = "movieLQ", scenechange=8).FluxSmooth(14,14).BilinearResize(672,272)
C9 = clip.MipSmooth(preset = "VHS").FluxSmooth(10,10).BilinearResize(672,272)

C0.Trim(0,699)+C1.Trim(700,839)+C4.Trim(840,979)+C2.Trim(980,1119)+C0.Trim(1120,3079)+C1.Trim(3080,3219)+C0.Trim(3220,4059)+C1.Trim(4060,4339)+C3.Trim(4340,4479)+C4.Trim(4480,4619)+C3.Trim(4620,4759)+C2.Trim(4760,4899)+C1.Trim(4900,5039)+C0.Trim(5040,5459)+C3.Trim(5460,5599)+C1.Trim(5600,5879)+C4.Trim(5880,6019)+C1.Trim(6020,6159)+C0.Trim(6160,6299)+C1.Trim(6300,6719)+C0.Trim(6720,6859)+C1.Trim(6860,7279)+C0.Trim(7280,7559)+C1.Trim(7560,7699)+C0.Trim(7700,8399)+C1.Trim(8400,8679)+C0.Trim(8680,9099)+C2.Trim(9100,9103)+C3.Trim(9104,9239)+C4.Trim(9240,9379)+C1.Trim(9380,9659)+C0.Trim(9660,9939)+C1.Trim(9940,10359)+C0.Trim(10360,10779)+C1.Trim(10780,11199)+C3.Trim(11200,11339)+C5.Trim(11340,11479)+C2.Trim(11480,11619)+C1.Trim(11620,11899)+C3.Trim(11900,12179)+C1.Trim(12180,13019)+C0.Trim(13020,13579)+C1.Trim(13580,13719)+C3.Trim(13720,13859)+...

.... Rest of trims
(I have not posted the rest because I think it is not neccesary, anyways, for the full script, it is HERE (http://canalxvid.urbenalia.com/phpBB2/viewtopic.php?t=513&sid=44a537b2319445697bb226e003a8f6b0)

The new version with this new tool, will be release in a few days.

Greetings

jjseth
15th January 2004, 13:00
Great tool of course!!;)
Profiles have been tested to try better results of compression/quality target but this can be edited with other avisynth filters.
Follow development spanish discussion HERE (http://canalxvid.urbenalia.com/phpBB2/viewtopic.php?t=254) and english discussion HERE (http://forum.doom9.org/showthread.php?threadid=62286&perpage=20&pagenumber=1) too.
---------------------------------------------------------------
Sorry my poor english