View Full Version : Recommendation of an antialiasing filter?
Chengbin
22nd August 2009, 01:17
can anyone recommend a AA filter that's not unbelievably slow and RAM intensive like AnimeIVTC? I've tried sangnom(aa=2), and SAA (antialiasing()). It did nothing, so I'm assuming I used it incorrectly.
Also, every time I look for a filter, nowhere it says how to use it, or am I missing it?
Also, for SharpAACMCMod, how do I get the function MVAnalyseMulti? I have mvtools 1 and 2 loaded.
SharpAAMC is pissing me off by giving me the error message of no function named spline64resize???????????
shoopdabloop
22nd August 2009, 02:14
Spline64Resize is available in standard Avisynth 2.5.7, and probably newer versions too, but is not included in MT Avisynth 2.5.7.
MVAnalyseMulti is a function of the multithreaded MVTools(1) by josey_wells which you can get here:
http://rapidshare.com/files/148440300/MVTools_V1.9.7.7.rar.html
You could probably alter the script for SharpAAMCmod and replace each instance of Spline64 with Spline36, if your version of Avisynth does not support it.
thewebchat
22nd August 2009, 02:51
How fast are we talking about? On my Core 2 Duo 2.00 GHz, I can run SangNom at 20fps per core with AviSynth MT on 640x360 input. EEDI2 and nnedi2 are about 5fps per core. For even faster than that, you can upscale/downscale with BilinearResize or use a blend deinterlacer (non-adaptive).
If you have MaskTools2, the following is roughly equivalent to SAA/AntiAliasing:
aa = PointResize(last.width*2,last.height*2).TurnLeft().SangNom().TurnRight().SangNom()
edge = mt_logic(aa.mt_edge("5 10 5 0 0 0 -5 -10 -5 4",0,255,0,255),
\ aa.mt_edge("5 0 -5 10 0 -10 5 0 -5 4",0,255,0,255),"max").Greyscale().
\ Levels(0,0.8,128,0,255,false).Spline36Resize(last.width,last.height)
mt_merge(last,aa,edge)
kemuri-_9
22nd August 2009, 03:19
Spline64Resize is available in standard Avisynth 2.5.7, and probably newer versions too, but is not included in MT Avisynth 2.5.7.
Spline64Resize is available in avisynth 2.58 and higher, so all 2.57 and prior versions do not have it.
Chengbin
22nd August 2009, 03:22
I have an old CPU, a Q6600, and I'm running SharpAAMC at 0.08fps on a 1920x1080 video.
MT avisynth doesn't (well it does) work for me. It leaves a green frame as the first frame of the video. Even if MT avisynth worked perfectly, my 32 bit OS would become a bottleneck and prevent it from working.
I decided to speed up the encoding by cutting the video into 2 pieces and encode them simultaneously. I could run 3 encodes simultaneously, even 4 if I want to max out my CPU constantly, but I only have 3GB of RAM, and running 2 is already tapping into virtual RAM
@kemuri-_9
I found the problem. MT avisynth doesn't have support for spline64resize.
thewebchat
22nd August 2009, 03:48
Wait, what does a 32-bit OS have to do with AVS MT?
Chengbin
22nd August 2009, 03:59
Wait, what does a 32-bit OS have to do with AVS MT?
Because MT avisynth works by cutting an image into pieces, the same filters are called multiple times to achieve the effects of multithreading.
32 bit OS has a limit where a single program cannot use more than 2GB of RAM. I've used MT avisynth before with MVDegrain, my speed doubled, and so as my RAM use.
BigDid
22nd August 2009, 05:05
...
@kemuri-_9
I found the problem. MT avisynth doesn't have support for spline64resize.
Hi,
Strange, I use it all the time (avisynth 2.58 MT from SET) like this:
Setmtmode (1,0)
spline64resize(width,height)
...
And I use XP-SP3 32bits with 2Gig of RAM !
Which MT version are you using?
Did
shoopdabloop
22nd August 2009, 06:22
Could someone redirect me to latest version of MT and MT Avisynth?
BigDid
22nd August 2009, 10:04
Hi,
@ shoopdabloop
SET version for 2.58 MT:
http://forum.doom9.org/showthread.php?t=148117
@ Chengbin
For AA, I use maa extracted from animeivtc with good results:
http://forum.doom9.org/showthread.php?p=1144440#post1144440
Did
Chengbin
22nd August 2009, 21:02
I'm incredibly amazed that there are no GPU AA filters. I can't believe the developers (no offense) think 0.1fps is acceptable.
thewebchat
22nd August 2009, 22:02
I'm incredibly amazed that there are no AA filters. I can't believe the developers (no offense) think using deinterlacers for antialiasing is acceptable.
Fixed that for you.
Edit: Also, TFM(mi=-1,pp=5) runs in realtime for me on 1080p, so stop complaining.
BigDid
23rd August 2009, 21:28
@ Chengbin
...
@kemuri-_9
I found the problem. MT avisynth doesn't have support for spline64resize.
Hi,
Strange, I use it all the time (avisynth 2.58 MT from SET) like this:
Setmtmode (1,0)
spline64resize(width,height)
...
And I use XP-SP3 32bits with 2Gig of RAM !
Which MT version are you using?
I had no answer to my question, which is your right. But if you agree with my statement you could edit your referenced post to erase that inaccurate comment so that other users are not confused by your affirmation.
If you don't agree, you are welcome to exchange (and eventually to answer my initial question) on the subject.
:thanks:
Did
Chengbin
23rd August 2009, 22:01
@ Chengbin
I had no answer to my question, which is your right. But if you agree with my statement you could edit your referenced post to erase that inaccurate comment so that other users are not confused by your affirmation.
If you don't agree, you are welcome to exchange (and eventually to answer my initial question) on the subject.
:thanks:
Did
I stand by my statement. I used the latest version of MT avisynth and spline64resize does not work unless I switch back the avisynth.dll in my system32 folder to the old one.
kemuri-_9
23rd August 2009, 22:27
I stand by my statement. I used the latest version of MT avisynth and spline64resize does not work unless I switch back the avisynth.dll in my system32 folder to the old one.
open a script with only
version()
and confirm that you are indeed using the latest, since there is conflicting statements
BigDid
23rd August 2009, 22:30
Hi,
Thanks for your answer but..
I stand by my statement. I used the latest version of MT avisynth
Is it the same I use? mine is SET Version 2009.07.12 (link in post above)
If not could you give us the references?
and spline64resize does not work unless I switch back the avisynth.dll in my system32 folder to the old one.
Could you share your script so that I can try to reproduce this behaviour?
Without these 2 infos we could be comparing apples to oranges here!
:thanks:
Did
Chengbin
23rd August 2009, 23:29
Apparently this link (http://avisynth.org/mediawiki/MT) is outdated, because the version shown is Mar 1, 2007, version 5. I also seem to use an outdated version of Avisynth (2.57)
I downloaded it from that link a few days ago.
Can you give me a link to the newest version?
jmartinr
23rd August 2009, 23:44
Can you give me a link to the newest version?
Do read reply #10.
Chengbin
23rd August 2009, 23:55
Thanks. Spline64resize now works.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.