Log in

View Full Version : avisynth sharpener/spatial smoothers script


bmnot
2nd November 2008, 03:43
I recently started working with Avisynth. I gathered some filters to make my first AVS script. It's nothing special.

AVISource("Blabla\Ep.avi")

LoadPlugin("Blabla\MSU_FRC.dll")
ChangeFPS(29.970)

LoadPlugin("Blabla\VSFilter.dll")
TextSub("J:\Blabla\karaoke.ass")

LoadPlugin("J:\Blabla\deen.dll")
Deen("a2d",7,11,13,min=0.5)

LoadPlugin("J:\Blabla\eDeen.dll")
eDeen(7,7,14,1,2)

LoadPlugin("J:\Blabla\FFT3DFilter.dll")
FFT3DFilter(sigma=3,bw=32,bh=32,ow=16,oh=16,plane=4)

LoadPlugin("J:\Blabla\MSharpen.dll")
MSharpen(threshold=10,strength=140)

LoadPlugin("J:\Blabla\Msmooth.dll")
MSmooth(threshold=7, strength=3, chroma=true, mask=true)

LoadPlugin("J:\Blabla\SmoothD.dll")
SmoothD(2,6,0,3)

I need help with the script itself. Should I use all those filters? Since a lot of them are Spatial Smoothers. If not, please say why! Can you guys recomend me some other filters?

I just want to improve the video quality. The quality is already good. Check it out;

Screenshots (without filters): http://i35.tinypic.com/qnsaiu.jpg // http://i38.tinypic.com/35hh1qh.jpg // http://i33.tinypic.com/vhvr4h.jpg

I hope somebody can enlight me! THANK's in advance!!

linyx
2nd November 2008, 04:17
Can you guys recomend me some other filters?
Not for that source, but a must have would be Decomb, DGDecode, and DGAVCDec, ok well just all of neuron2's plugins:). And I have never seen a script with the load plugins not at the top, although i dont think it will affect anything.

Sagekilla
2nd November 2008, 04:29
bmnot, you may want to change your title: It's in violation of rule 9 and people will actually be able to get an idea of what you need help with if you use a more descriptive title.

Now then, as for all those filters being used.. It may be a bit excessive, but for anime it shouldn't be too bad.

mikeytown2
2nd November 2008, 10:14
I use this script (first post) as my benchmark, give it a shot... you might like what you see.
http://forum.doom9.org/showthread.php?t=134078

Try to avoid ChangeFPS(), linyx has some good suggestions.

I think your current script changes the coloring slightly (check with Interleave() (http://avisynth.org/mediawiki/Interleave)). Also might want to change mask=true to false for MSmooth. Are the setting for eDeen correct? I commented that out when I ran your script, because of the ugly. Also got rid of min=0.5 on deen since my version of it doesn't do it.

bmnot
2nd November 2008, 13:50
Not for that source, but a must have would be Decomb, DGDecode, and DGAVCDec, ok well just all of neuron2's plugins:). And I have never seen a script with the load plugins not at the top, although i dont think it will affect anything.

Yea, It doesn't affect nothing. Btw, should I use all those Neuron2's plugins with my previous filters? Won't it be too excessive?

bmnot, you may want to change your title: It's in violation of rule 9 and people will actually be able to get an idea of what you need help with if you use a more descriptive title.

Now then, as for all those filters being used.. It may be a bit excessive, but for anime it shouldn't be too bad.

I didn't know. I'll change right now..

I use this script (first post) as my benchmark, give it a shot... you might like what you see.
http://forum.doom9.org/showthread.php?t=134078

Try to avoid ChangeFPS(), linyx has some good suggestions.

I think your current script changes the coloring slightly (check with Interleave() (http://avisynth.org/mediawiki/Interleave)). Also might want to change mask=true to false for MSmooth. Are the setting for eDeen correct? I commented that out when I ran your script, because of the ugly. Also got rid of min=0.5 on deen since my version of it doesn't do it.

The settings for eDeen, are from Scintilla's Guide. I'll try your script with lynx sugestion.

I think it's better to start a new script with only the necessary filters. I think this one is too excessive.
What do you say about it?

Guest
2nd November 2008, 13:55
@bmnot

Fix your thread title ASAP to avoid a strike.

I think you should minimize filtering. Do only what is demanded by the video.

bmnot
2nd November 2008, 14:03
@bmnot

Fix your thread title ASAP to avoid a strike.

I think you should minimize filtering. Do only what is demanded by the video.

I can't edit the title. Sorry. Could you change it for me? Put, "Avisytnh temporal smoothers for anime"

Edit: DONE!

Leak
2nd November 2008, 14:50
Fix your thread title ASAP to avoid a strike.
What about the source of his material? "Ep.avi" doesn't sound very rule 6-compatible...

np: Gold Chains - Game (Luomo Remix) ((No)Huume)

Fizick
2nd November 2008, 15:18
bmnot, edit your first post, there you can find a title to change.

linyx
2nd November 2008, 16:58
Btw, should I use all those Neuron2's plugins with my previous filters? Won't it be too excessive?
Of course not:p, that is why i said not for that source. They are just excellent for decoding mpeg-2 and H.264, and Decomb is a great de-interlace/telecine filter.