Avisynth: New MA script Version?
Just a question Kwag, ...
Quote:
MergeLuma(blur(0.1)) ... to avoid double blurring on static scenes Even if nf results as 1*2 in my experiences performing a unfilter(-2,-2) does break a little the edges?! Just a thought. Edit, ... ok I know Kwag want to avoid Kick-over's using the "both all time" activity. But if TemporalSoften performs all the time ... this on the other hand will slow down the performance?! |
That could also bring a nice speedup, I've noticed that blurring luma and chroma can be quite slow sometimes.
|
My recommendation would be ... like Kwag did, a nf based Unfiltering active all the time to avoid "blur-kick-overs", BUT Temporalsoften based on a threshold ... this gives the same viewable quality and on the other hand on high nf based scenes it won't slow down the performance
|
OK, nice, I suppose this will give the film a smoother aspect, with no filters kicking in and out.
Just a doubt: when nf is above 5, the TemporalSoften radius value will be 0, isn't it?. Does this mean that TemporalSoften will be inactive above nf=5, or will it be functioning but doing nothing, or even with a radius of 0 still has an effect?. Yes, I know, newby question. :roll: |
One little thing about the script : the two last values of temporal soften aren't very clever if we look at the documantation :
Quote:
|
Re: New MA script Vers.
Quote:
-kwag |
Quote:
I guess the 1, 1 are stray values from previous versions of the filter :roll: I'll run a couple of tests, and adjust that. Or go ahead and make a test, and let me know :) -kwag |
Quote:
Thats why I also changed in the past the mode in the TempSoften of the MA routine in my cases to "2" :wink: |
I just remembered something :!:
I (some people, and me too) HAD problems with parameters other than 1,1 :!: :!: :!: They were specifically set to those values, because of weird artifacts during scene changes. This was a while ago, so I have to make some tests. Somewhere in the forum it was documented. So I wouldn't mess with the last two parameters of TemporalSoften. -kwag |
I feel so small between you all...
Please, someone to answer my silly question: radius value of 0 makes the filter not switch on, and if not, what's the effect of a radius of 0?. Maybe the answer is obvius, or in the dcumentation, but I think I didn't read that. |
@ Kwag
I just found this.... Could an older AVS (like 2.5) be the reason for your failed outputs using other than 1,1 in TemporalSoften? Quote:
I don't know now if in > 2.51 more bug-fixes have been done in case of TemporalSoften. But Ill search in the earlier AVS Vers. Changes. @ Digitall.doc Code:
.... TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) .... Kwag/Dialhot .... do I see this right??? |
Thanx incredible:
Quote:
With reference to last MA script, I did some fast tests. Notice that the film is an analog videocamera capture, so I also use filters CNR2, viewfields and unviewfields. But I use these filters in all script tests: Script Size (kb) Encoding time MA TempSoften (x,x,x,1,1) 40866 7:26 MA TempSoften (x,x,x,0,2) 40868 7:39 new MA with MergeLuma 40854 8:05 new MA w/o MergeLuma 41367 7:32 Twp things else: the film is 2:07 min long, and created with TMPGEnc, as MPEG2, 528x576 size, CQ60 ...not bad the new MA, and not that slow without mergeluma. I'll make later visual comparison (but I'm really the worst doing that) :lol: |
Quote:
Thanks incredible :D That confirms the bug we found a LOOOONG time ago :cool: So feel free to change the last numbers. I'll update the script later. -kwag |
Here's what the new MA script does:
http://www.kvcd.net/new-ma.mpg Sample is 720x480, CQ=63.48, to fit on one CD just like that :D I used MIN=300, MAX=2000. -kwag |
Hugh... the result is AWFULL on my 21" PC monitor.
Look at the first scene, the "brown object" on the left bottom corner : it shrines from every edges ! And the surface is everything but uniform. Is that normal ? Next, the girl switching some buttons in the cockpit of the spaceship : mosquitoes everywhere around her arms and shirt. What the hell is that ? Okay the resolution is big, but I don't think is really a good thing to show as example :-) |
BTW....
Especially to JellyGoose (and maybe some others) If you also set at the beginning of the MA script a ml=x Variable as multiplicator instead of *2 in the unfilter part as I did in a -more blurring on action scenes MA mod - for testing (where I btw never go above 3 and only on selected movies) ---- kick that out! Cause in the new Release of MA where Unfilter() performs constant, no matter which nf results ... this would cause an unwanted! Over-Blur on static scenes! 8O |
Quote:
It's 720x480, on one CD-R. At 528x480, it's probably mosquitoless and totally blockless :) But I wanted to stress the sample, as usual :cool: -kwag |
Quote:
So the multiplying and dividing values here must be optimized. Code:
ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften(fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ") -kwag |
Estas equivocado Kwag ;-),
these caution-lines in my posting above did refer to a modified version of MA where I had defined a ml variable as a multiplicator at the beginning! And as I know that JellyGoose tested this too, I wanted to give him a hint. example (but dangerous on many movies with static and detailed things in foreground and in the SAME scene fast (luma) changes in background!): ############## nf=0 ml=3 ... ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*ml, 100)), -(fmin(round(nf)*ml, 100)) ).TemporalSoften(fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)* ") ############## :) |
Hey incredible:
for tweaking purposes, and on that films you may want raise or lower the multiplier, you could use: Code:
nf=0 |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.