View Full Version : AR CALCULATOR 0.9.4 Final !!!!!
ffroms
27th October 2003, 13:04
Request: I'm sure that you don't have to much time for requests but it would be nice to have something to look for right resolution (like Bits/(Pixel*Frame) in GKnot what I allways use to set resolution for best picture) and maybe some kind of job list for avs optimizer so that I can start jobs over night.
For some time I was looking for good tool to replace GKnot (I'm using it only for setting resolution, calculation of size and comp. check) 'couse I allways open avs in VDubMod and start compression manually and ARCalculator could be that new tool. Alse it could be great to have option to configure filter a little more (like values for unfilter or lumafilter) and still be able to preforme avs optimizer.
Thanks again and looking forward for next release.
FFS
Mashabak
27th October 2003, 13:23
About bits/(pixel*frame), it is implented. The program, when you click on "Calculate" calculates best resolution to get 0.25 bits per pixel in this movie, and then rounds this resolution to respect overlay rules (whidth/32 and height/16). Then, you can use this resolution or chage for other one.
About job list, it is one of the things on my TODO list, and I hope to implement it shortly.
And about configure filters to use in script that will be used on avs optimizer, it is also something that I want to make for some time and will include this on next releases.
Regards.
Ruppl
27th October 2003, 13:27
(like Bits/(Pixel*Frame) in GKnot what I allways use to set resolution for best picture) and maybe some kind of job list for avs optimizer so that I can start jobs over night.
Those things would be very usefull.....:)
ffroms
27th October 2003, 13:30
GREAT !!
Can't wait for next release. I have much more ideas to make this tool flexible and useable by newbie and experts but I'll wait for next release. And thanks for info about bits/(pixel*frame) but I think it would be more usefull to see actual value.
FFS
Seppe
27th October 2003, 19:17
I would like to download this program, to experiment with it. But the link has been giving me 404's from the beginning.
Is it possible to set up a mirror for the file ?
thx in advance
sillKotscha
27th October 2003, 19:43
Originally posted by Mashabak
...canalxvid server are down at the moment. When it is on-line again I will upload corrected version and a zip file that will contain only executable program (for not having to download the installer again).
Enigmax
27th October 2003, 20:39
Here available download alternative for AR Calculator0.92:
http://enigmax.en.eresmas.com/download/arcalculator.zip
Greetings
Mashabak
27th October 2003, 21:40
Well, I upload fixed versions of Ar Calculator 0.9.2
Only avs optimizer + devapi4 use error fixed.
HERE (http://www.divxhouse.com/calcul/arcalculator_092.zip) is full version (with installer).
And HERE (http://www.divxhouse.com/calcul/ARCalc092-onlyexe.zip) is lite version (only executable).
To use lite version, simply unpack zip file and replace "ar_calculator.exe" file on AR Calculatorīs install directory with .exe inside zip file (to use it, obviouslly, non-fixed 0.9.2 full version must be installed on system before).
Thanks to affar to upload these files to his server (http://www.divxhouse.com) while canalxvid server was ready, and sorry to all for the problems.
Regards, Mashabak.
ChristianHJW
28th October 2003, 10:10
... cool idea to change the resizing filter depending on the content. Now please allow me to add that theoretically this could be extended to even select different resolutions during the encoding - again, in theory ! - if we implement the 'codec state' element in MKV video tracks, that would allow to reinitialize the codec in the middle of the stream.
Needless to say, there is absolutely NO WAY to play such a video stream on DirectShow, so we had to say Good-Bye to some of our preferred players and go for win32 versions of mplayer or VLC ....
Koepi
28th October 2003, 10:22
Please stop spamming on non-related topics chris.
Koepi
cjaar
29th October 2003, 09:29
@Mashabak
any support for divx??? or can i use the optimized avs file for divx.
thx
cjaar
DarkDudae
29th October 2003, 10:13
Originally posted by cjaar
any support for divx??? or can i use the optimized avs file for divx.
AVSOptimizer doesnīt support DivX codec. Codec DivX is different that XviD one, so they dondīt need filters at same scenes, so maybe an AVSOptimizer script can help DivX Codec, but not too much. It is a full additional pass that for DivX hasnīt sense.
Greetings
Mashabak
29th October 2003, 14:18
@cjaar:
AR Calculator works with Divx codec, but two features are implemented especially for XviD: Avs Optimizer and compresibility test.
Then, you can save an avs file and encode with Divx in avs2avi or VDub, but you only can use optimizer and compressibility test with XviD codec.
And to use optimized avs file with Divx... I have never test this case and I canīt answer if it can be useful, but I think it isnīt, because optimized file is created from the point of view of the XviD codec and Divx analyzes in a different way video frames.
Regards, Mashabak.
ffroms
29th October 2003, 19:46
Just one little question. Do I have to set Xvid like for encoding or I can set it to minimum (like no Qpel,Bframe, Chroma Motion etc) 'couse I have very slow PC (Celeron 800). As I understand ARCalculator analyze stat file from xvid and where bitrate distribution goes up program set more blur or change resize filter and where is low bitrate it sets sharper resize and no blur. Activating extra features (bframe,Qpel etc.) will not effect avs optimizer too much or maybe I'm wrong?
BTW I think avs optimizer could help divx5 but you have to encode it manualy.
FFS
Mashabak
29th October 2003, 20:28
I internally configure XviD codec to do first pass with (I think) best values to analyse video complexity. Then, you donīt need configure the codec before first pass.
Regards.
ffroms
31st October 2003, 08:44
I have to report a possible bug. I'm trying to encode some video that I have in avi. Everything was OK but then I selected start credits but it's not at begining of video (credits start at 3921 frame). Created AVS looks like this
#########################################################
# Script Generado por AR Calculator #
# #
# http://www.canalxvid.com #
#########################################################
LoadPlugin("C:\PROGRA~1\ARCALC~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\ARCALC~1\unfilter.dll")
LoadPlugin("C:\PROGRA~1\ARCALC~1\undot.dll")
Avisource("C:\1\VIDEO.AVI",false)
LumaFilter()
Crop(0,0,-0,-0)
UnFilter(-5,-5)
Undot()
a=trim(3921,5754).BilinearResize(480,224)
b=trim(5755,77367).LanczosResize(480,224)
c=trim(77368,79272).blur(0.5,0.5).BilinearResize(480,224)
a+b+c
As you can see I'm missing first 3920 frames of video. I guess it's nothing serious but I hope you'll fix it in next realese.
FFS
jjseth
31st October 2003, 11:36
The avs script created count the video frames from the first inicial credits frame to the last final credits frame.
In this case i dont'n mark any credits and i add to the final avs ...=trim(xxx,xxx).BilinearResize(xxx,xxx) taking care to keep the trims/frame order.
Sorry my poor english.
Mashabak
31st October 2003, 11:44
Thanks for info. I had not thought on this case. I will fix it in next release.
Regards.
ffroms
31st October 2003, 12:50
@jjseth - Thanks for explaining but I understand why that happens. I only wanted to point out the bug.
@Mashabak - Great. I'm waiting for next version to test it. BTW same thing happens for end credits (at end of video). Maybe it would be good to remove crop if all crop values are 0 (like in my example) couse I've read in Avisynth forum that crop function slow down everything a little (frameserving). This program could be use for DVD 2 DVD conversion too.
FFS
Manao
1st November 2003, 12:22
For the AVSOptimizer's developpers :
Take a look there (http://forum.doom9.org/showthread.php?s=&threadid=63442&highlight=trim+memory) and there (http://forum.doom9.org/showthread.php?s=&threadid=46570&highlight=trim+memory).
I tried your tool, it looks great, but it takes a lot of time ( around 1 minute ) to load the script in vdub. Modifying the script using the ideas in these two post made the loading almost instanteanously.
MoonWalker
3rd November 2003, 16:03
Hi,
I think I have found a bug at the ARCalculator..When you press "Save AVS" it saves the avs but when you make a 1-pass with AVS optimizers or any other function it uses it's own avs not the one you have changed..Also it doesn't save setting like the path of VdubMOD..
Regards,
MoonWalker
ffroms
3rd November 2003, 17:50
I've noticed that to but I'm waiting for new version to see if that is changed and to look for more bugs. I'd like to be able to change AVS (add some diffrent filters) and then run AVS optimizer with changed AVS.
FFS
DarkDudae
3rd November 2003, 18:24
Thanks everybody for your reports and suggestions, of course these litle bugs will be solved in future versions.
@Manao
Thanks for that scripts, maybe we optimize memory use with some changes like that.
Thanks to the work of ffroms, you can download a new language for ARCalculator: Croatian (http://canalxvid.urbenalia.com/uploader/Croatian.zip)
Just unzip this into languages folder in ARCalc Working Dir.
We need someone translate it into german :(
Regards
Ruppl
3rd November 2003, 19:18
We need someone translate it into german :(
I will look for someone who could do this! I donīt have any time for this,.........i hate school....;)
Mashabak
3rd November 2003, 19:36
Hi all and thank you for interest :)
@Moonwalker
At the moment, different forms to work with avs filters works independently; then, for example, if you change something in form "Edit Avs" these changes arenīt saved to work with avs optimizer. Now, only filters you choose in form "Save avs" are implemented to be remembered in the rest of forms, but Iīm working to integrate this in such a way that all the forms interact among them.
Regards.
ffroms
3rd November 2003, 21:16
GREAT! That will make AR Calculator more flexable. When will new version come up (I'll do tutorial on new version in Croatian)?
FFS
Affar
5th November 2003, 16:39
why isn't this program announced in doom9's news if it's the same or better than Gordian Knot?:confused: :confused:
Regards
Affar
ffroms
5th November 2003, 18:27
AR Calculator is not "all in one" tool nor it is better or worse than GKnot ('couse they work differently). This tool that will help you get your encoding better. There is still some bugs to be kill and then (maybe) it will be in news sections. We will see what is in new version.
FFS
HellSpawn
10th November 2003, 13:13
I used the latest version to make a pass for the movie "Matrix Reloaded".After a couple of hours the .avs that was produced had loaded the filters I wanted (undot,fluxsmooth etc) but at the various trim points it only used Lanczos resize and blur.Is that a bug or did I do something wrong?Thanks in advance.
ffroms
10th November 2003, 14:25
No it's not bug. That is the way it works. All your filters are used for global picture but AVS Optimizer uses Xvid STATS to analyze movie and sets blur where are moving parts (to set lower bitrate), and clear sharp picture for static parts.
In next version it should use diffrent resize filter for diffrent part of movie.
FFS
HellSpawn
11th November 2003, 02:32
So you are saying that the filters will actually be used and that I should use that .avs as always?
ffroms
11th November 2003, 14:38
Yes. Use filters when ever you need so. If you dont need them uncheck them in program or manualy delete them from avs script.
FFS
HellSpawn
12th November 2003, 19:11
What I want is use lets say convolution at low motion scenes and fluxsmooth at high motion scenes.How can I do that?
ffroms
13th November 2003, 09:55
As far as I know , for now there is no option to do that. Only manualy.
When you use Convolution for whole video, and blur on high action parts that is something like using fluxsmooth on high action parts.
Maybe in next version it will be more flexible so that you can use diffrent filters on difrent parts of video. We'll se when it comes (hope soon).
FFS
tiki4
13th November 2003, 13:07
@DarkDudae: Hi,
I just wanted to say that current ARCalculator doesn't work with current CVS dev-api-4. As your tool already supports the upcoming XviD 1.0 maybe is is important to know that for the developers. I think GomGom changed the layout of the .stats file so all tools using it have to be adopted. If you already know that fact, just ignore my post.
tiki4
DarkDudae
13th November 2003, 20:39
@HellSpawn
You can use an option called "Avisynth optimization", instead of AVSoptimizer. It uses QMF conditional filter, and you can configure, low, mid, and high motion scenes filters, resizers... etc.
Anyways, future avsoptimizer will allow you to configure all differente complexity cases.
@tiki4
Thanks for the info. As you have said, the stats file has changed a little, so it is easy to fix it. Next version will support latest CVS version in that moment.
Greetings
Alxemi
14th November 2003, 08:05
Hi Spanish people around the XviD scene... i hope weīll meet in the IRC soon. We are not so many and we need to be togheter!! :)
Just here to notice that another thread (http://forum.doom9.org/showthread.php?s=&threadid=65009) about avsoptimizer has been started in the avisynth forum, maybe you want to take a look.
Best Regards and seeya!!
tiki4
14th November 2003, 09:20
@DarkDudae:
Thanks for the info. Your work is really very much appreciated. Great tool.
tiki4
koszopal
14th November 2003, 15:02
here my error :
after optimalization
ive got script .avs:
LoadPlugin("D:\movie\ARCALC~1\mpeg2dec3.dll")
LoadPlugin("D:\movie\ARCALC~1\undot.dll")
LoadPlugin("D:\movie\ARCALC~1\Fluxsmooth.dll")
Mpeg2Source("C:\eliza\ELIZAB~1.D2V")
LumaFilter()
Crop(4,76,-8,-88)
Undot()
Fluxsmooth(7,7)
ai=trim(0,5118).LanczosResize(608,320)
aj=trim(5119,5157).blur(0.1,0.1).LanczosResize(608,320)
ak=trim(5158,5449).LanczosResize(608,320)
al=trim(5450,5614).blur(0.1,0.1).LanczosResize(608,320)
am=trim(5615,5935).LanczosResize(608,320)
an=trim(5936,6001).blur(0.1,0.1).LanczosResize(608,320)
ao=trim(6002,6057).blur(0.6,0.6).LanczosResize(608,320)
ap=trim(6058,6095).blur(0.2,0.2).LanczosResize(608,320)
aq=trim(6096,6185).blur(0.3,0.3).LanczosResize(608,320)
ar=trim(6186,6237).blur(0.4,0.4).LanczosResize(608,320)
as=trim(6238,6949).LanczosResize(608,320)
at=trim(6950,6990).blur(0.1,0.1).LanczosResize(608,320)
au=trim(6991,12325).LanczosResize(608,320)
av=trim(12326,12388).blur(0.1,0.1).LanczosResize(608,320)
aw=trim(12389,13915).LanczosResize(608,320)
ax=trim(13916,13968).blur(0.1,0.1).LanczosResize(608,320)
ay=trim(13969,18113).LanczosResize(608,320)
az=trim(18114,18143).blur(0.1,0.1).LanczosResize(608,320)
ba=trim(18144,19086).LanczosResize(608,320)
bb=trim(19087,19136).blur(0.1,0.1).LanczosResize(608,320)
bc=trim(19137,23078).LanczosResize(608,320)
bd=trim(23079,23143).blur(0.1,0.1).LanczosResize(608,320)
be=trim(23144,46318).LanczosResize(608,320)
bf=trim(46319,46359).blur(0.1,0.1).LanczosResize(608,320)
bg=trim(46360,47282).LanczosResize(608,320)
bh=trim(47283,47330).blur(0.1,0.1).LanczosResize(608,320)
bi=trim(47331,49116).LanczosResize(608,320)
bj=trim(49117,49148).blur(0.2,0.2).LanczosResize(608,320)
bk=trim(49149,53536).LanczosResize(608,320)
bl=trim(53537,53583).blur(0.1,0.1).LanczosResize(608,320)
bm=trim(53584,53931).LanczosResize(608,320)
bn=trim(53932,53959).blur(0.1,0.1).LanczosResize(608,320)
bo=trim(53960,64015).LanczosResize(608,320)
bp=trim(64016,64265).blur(0.1,0.1).LanczosResize(608,320)
bq=trim(64266,67708).LanczosResize(608,320)
br=trim(67709,67755).blur(0.1,0.1).LanczosResize(608,320)
bs=trim(67756,68406).LanczosResize(608,320)
bt=trim(68407,68528).blur(0.1,0.1).LanczosResize(608,320)
bu=trim(68529,71437).LanczosResize(608,320)
bv=trim(71438,71519).blur(0.1,0.1).LanczosResize(608,320)
bw=trim(71520,86272).LanczosResize(608,320)
bx=trim(86273,86407).blur(0.1,0.1).LanczosResize(608,320)
by=trim(86408,86438).LanczosResize(608,320)
bz=trim(86439,86510).blur(0.2,0.2).LanczosResize(608,320)
ca=trim(86511,94589).LanczosResize(608,320)
cb=trim(94590,94642).blur(0.1,0.1).LanczosResize(608,320)
cc=trim(94643,94678).LanczosResize(608,320)
cd=trim(94679,94851).blur(0.1,0.1).LanczosResize(608,320)
ce=trim(94852,94949).LanczosResize(608,320)
cf=trim(94950,94976).blur(0.1,0.1).LanczosResize(608,320)
cg=trim(94977,104876).LanczosResize(608,320)
ch=trim(104877,104966).blur(0.1,0.1).LanczosResize(608,320)
ci=trim(104967,105632).LanczosResize(608,320)
cj=trim(105633,105795).blur(0.1,0.1).LanczosResize(608,320)
ck=trim(105796,106244).LanczosResize(608,320)
cl=trim(106245,106298).blur(0.2,0.2).LanczosResize(608,320)
cm=trim(106299,106332).LanczosResize(608,320)
cn=trim(106333,106372).blur(0.3,0.3).LanczosResize(608,320)
co=trim(106373,106819).LanczosResize(608,320)
cp=trim(106820,106861).blur(0.1,0.1).LanczosResize(608,320)
cq=trim(106862,115438).LanczosResize(608,320)
cr=trim(115439,115600).blur(0.1,0.1).LanczosResize(608,320)
cs=trim(115601,121704).LanczosResize(608,320)
ct=trim(121705,121768).blur(0.2,0.2).LanczosResize(608,320)
cu=trim(121769,129991).LanczosResize(608,320)
cv=trim(129992,130035).blur(0.2,0.2).LanczosResize(608,320)
cw=trim(130036,130232).LanczosResize(608,320)
cx=trim(130233,130284).blur(0.1,0.1).LanczosResize(608,320)
cy=trim(130285,166027).LanczosResize(608,320)
cz=trim(166028,166095).blur(0.1,0.1).LanczosResize(608,320)
da=trim(166096,166248).LanczosResize(608,320)
db=trim(166249,166386).blur(0.2,0.2).LanczosResize(608,320)
dc=trim(166387,167219).LanczosResize(608,320)
dd=trim(167220,167267).blur(0.1,0.1).LanczosResize(608,320)
de=trim(167268,170773).LanczosResize(608,320)
df=trim(170774,177663).blur(0.5,0.5).BilinearResize(608,320)
a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z+ai+aj+ak+al+am+an+ao+ap+aq+ar+as+at+au+av+aw+ax+ay+az+ba+bb+bc+bd+be+bf+bg+bh+bi+bj+bk+bl+bm+bn+bo+bp+bq+br+bs+bt+bu+bv+bw+bx+by+bz+ca+cb+cc+cd+ce+cf+cg+ch+ci+cj+ck+cl+cm+cn+co+cp+cq+cr+cs+ct+cu+cv+cw+cx+cy+cz+da+db+dc+dd+de+df
u see this line a+b+c...etc
I think it should be ai+aj+..etc.
koszopal
trbarry
16th November 2003, 19:04
If I understand all this right this script is driven off the quants in the Xvid log file. If so it could be made extremely powerful and versatile by just referring to a separate function for each quant, where we could define these with our own filter preferences. For instance:
function QuantFunc1(clip v1){
return v1} # just return for quant=1
function QuantFunc2(clip v1){
return UnDot(v1)} # filter tiny bit for q2
function QuantFunc3(clip v1){
return UnDot(v1).UnFilter(-8,-8)} # a bit more, etc.
...
ai=trim(0,5118).QuantFunc1
aj=trim(5119,5157).QuantFunc2
ak=trim(5158,5449).QuantFunc1
al=trim(5450,5614).QuantFunc3
...
ai+aj+ak+al + ... . .LanczosResize(608,320)
Eventually we could all converge on our favorite filters and QuantFunc's for each quant.
- Tom
DarkDudae
16th November 2003, 21:38
koszopal@
It is very strange. Can you tell me what XviD version, source and OS you have used?
trbarry@
No, AVSOptimizer doesnīt work in that way, it doesnīt use quants, it is more complex. It reads quants, mblocks, kblocks... from stats file to detect complexity cases.
Greetings
trbarry
17th November 2003, 05:36
trbarry@
No, AVSOptimizer doesnīt work in that way, it doesnīt use quants, it is more complex. It reads quants, mblocks, kblocks... from stats file to detect complexity cases.
Okay, sorry, I should have read more carefully. I was only directed to AVSOptimizer today in a respone to another post of mine asking for a similar function. And it looks like I could get the results I wanted (bunch of personal blur functions) with a global edit macro anyway if I needed. But it is too early to know for sure.
Still have not tried it but it sounds very impressive. Nice work! :)
- Tom
koszopal
17th November 2003, 09:38
@DarkDudae
hi
OS - W2k + SP4 + latest hotfixes.
XVID koepi 24-06-2003
source was DVD Elizabeth (i ve just made rip using GK but i wanna compare with AR Calculator)
koszopal
tiki4
29th December 2003, 14:17
Any news about this tool? I'd like to try it with current XviD 1.0 betas.
tiki4
Mashabak
29th December 2003, 16:21
We have published 2 new program betas compatible with xvid 1.0 beta1 and beta2 (not with beta3 because changes in stats file), but not any official version (and because it, there are some lines that aren`t translated into english). If you want test this, go to canalxvid forums (http://canalxvid.urbenalia.com/phpBB2/viewtopic.php?t=254&start=0) or download the executable (http://canalxvid.urbenalia.com/uploader/ARCalculator093B.zip) (only executable without installer). In this version, also xvid 1.0 beta compatibility, we have added a new experimental avs optimizer, which can do only a % of necessary additional pass (minimum 10%) and can configure the filters you will use in each complexity case (with profiles if you want).
Regards.
ffroms
29th December 2003, 17:24
Sorry it doesn't support beta 3. Hope that will be soon.
FFS
tiki4
30th December 2003, 10:38
Thanks for info, I guess I will give it a try. I appreciate your work very much.
tiki4
Gazza
7th January 2004, 02:46
Mashabak,
I appreciate your work and have found your tool very useful. Any progress with a version that can handle beta 3 of xvid 1.0?
Cheers
Gazza
DarkDudae
7th January 2004, 08:10
@Gazza
We are working on it... compatibility with latest beta, is not a hard thing (just change some code lines). Maybe we have a "final" version in a few days ;)
Regards
m0rtal
12th January 2004, 13:04
I don't know is this OK, but AR calculator changes XviD quantization settings for it's internal purposes when encoding a movie, but don't change them back to original state!
I mean, if, for example, I had quantization values I/P/B at 2-31/2-31/2-31, ARC changes them to 2-3/2-3/2-3, and after that I have to edit them manually to keep my favourite settings.
so, is it possible for ARC not to change quant values - or to change them back automatically?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.