Log in

View Full Version : SmoothDeblock (under development)


Pages : 1 2 [3]

StainlessS
21st January 2012, 19:20
Had to dis-inter this to say 'THANKYOU REDFORDXX', excellent work here.

redfordxx
22nd January 2012, 18:18
If you tried it recently (I didn't) can you say anything about the speed? I cannot remember now, but I guess it is not very fast.
Because there might be some speedup possibilities. It is just issue of my free time to do it. For example:
current RAverage is much faster than the former one
patterns.avsi maybe can be probably optimized

StainlessS
23rd January 2012, 04:57
I did not time it, but think it was in the region of 3-4FPS for PAL DVD sized clip.
(3Ghz single core, VDubMod, In/Out lossless YV12 UT Video Codec on same I/O IDE drive).
Was not really too concerned with the timings, I did it on a spare machine
and left it running all night, and auto shut down when complete. I guessed that
RAverage would be faster, but did not investigate that.
One thing of note though, 3 of the links in 1st 1 or 2 posts are dead and the
4th one (I think) points to a page where the link there is dead. I had all the plugs
already anyway though so was not a problem for me.
Thanks again for a nice set of scripts, probably a little too sedate for everyday
usage though. :)

EDIT: Quote from above, "auto shut down when complete", see here:-
http://forum.doom9.org/showthread.php?p=1520680#post1520680

EDIT: Also got a CaviStream (or whatever its called) access violation when I tried
it with YUY2, perhaps there should be a colorspace check.

Jenyok
23rd January 2012, 08:28
redfordxx (красный форд хх)

Could We see full script or dll (SmoothDeBlock and so on) and needed for it all *.avsi, *.dll, script and other files in one post here ?
i.e. All in One...

Thanks a lot.

librarian
23rd January 2012, 17:53
Here (http://www.2shared.com/file/u-RIoEqJ/SmoothDeblock.html) it is.

Bloax
24th January 2012, 10:25
Yesterday I couldn't get the file, so if that happens - here's another link:
linketylinkety (http://www.mediafire.com/?6x297gf7xivv7uz)

redfordxx
24th January 2012, 16:02
Thank you guys for posting it. Looks like someone is still using it, it's nice;-) I noticed that you joined all scripts into one which I don't consider very wise but whatever you think...
I tried SmoothDeblock3 followed by 3-frame mocomped dfttest on 1080p but it is DAMN slow in this combination... but the result looks really nice;-)

@Jenyok: no ja net avtomobil! I kak "xx" v azbuke???

Jenyok
24th January 2012, 19:45
redfordxx

Красный - red
форд - ford
xx - xx
And all togather...
Красный форд xx...

wlndd6
20th February 2012, 12:05
Thanks redfordxx for your work! Been testing it today and I'm very happy with the results.

edit2: %?@$ SORRY what i wrote about SmoothDeblock destorying detail vs cpu=4 was wrong: the comparison cpu=4 clip was actually the original clip :(

fAy01
22nd January 2020, 10:21
Hello,

I am trying to test SmoothDeblock but I am getting an error.

https://i.imgur.com/R8NjxIw.png

I'm using avs+. I got the script from here: https://forum.doom9.org/showthread.php?p=1553586#post1553586

Please let me know.

Thanks!

StainlessS
22nd January 2020, 11:33
Looks to me like script [originally from about 2006] is not intended to be run under Avs+,
prob is down to name conflict between script function For() and Avs+ [Gscript style] for, ie for/next style loop.

StainlessS
22nd January 2020, 11:47
Try this[just the script, use same plugins]:- http://www.mediafire.com/file/qnqx332ydw8fmxg/SimForSmoothDeblock.7z/file

I've just changed relevant 'for' calls to 'SimFor' so as to skip conflict, I have not tested it at all.
(there are quite a few uses of the non code word 'for' in the script [in comments], I hope that I did it all right).

EDIT:

eg turned this

# For
#
# A simple for-loop construct for Avisynth 2.xx
#
# USAGE: for(1, "<=3", "+1", "global x = x*2" )
# ...is semantically equivalent to for(int i=1, i<=3, i=i+1) { x = x*2 } in C/C++
#
# Notes:
# - with For, the loop variable is always 'i', and the first parameter (its initial value) is always an int. If you
# want to use a custom loop variable (so you can nest loops, for instance, or have a floating-point counter) then use For2.
# - any script variables you want manipulate inside the loop must be globals
# - corollary: you cannot use the implicit 'last' variable. if you want to apply a filter inside the loop,
# you must use assignment syntax. Example: for(0, "<=2", "+1", "global clip = clip.FFT3DFilter(sigma=2.5, plane=i)" )
#
function For(int i, string cond, string iter, string block)
{
return Eval("i" + cond)
\ ? Eval("""
Eval(block)
For(Eval("i" + iter), cond, iter, block)
""")
\ : NOP
}


into this

# SimFor
#
# A simple for-loop construct for Avisynth 2.xx
#
# USAGE: SimFor(1, "<=3", "+1", "global x = x*2" )
# ...is semantically equivalent to for(int i=1, i<=3, i=i+1) { x = x*2 } in C/C++
#
# Notes:
# - with SimFor, the loop variable is always 'i', and the first parameter (its initial value) is always an int. If you
# want to use a custom loop variable (so you can nest loops, for instance, or have a floating-point counter) then use SimFor2.
# - any script variables you want manipulate inside the loop must be globals
# - corollary: you cannot use the implicit 'last' variable. if you want to apply a filter inside the loop,
# you must use assignment syntax. Example: SimFor(0, "<=2", "+1", "global clip = clip.FFT3DFilter(sigma=2.5, plane=i)" )
#
function SimFor(int i, string cond, string iter, string block)
{
return Eval("i" + cond)
\ ? Eval("""
Eval(block)
SimFor(Eval("i" + iter), cond, iter, block)
""")
\ : NOP
}


and eg "For2" to SimFor2".

EDIT: It will likely work properley, or not at all[I cocked up somewhere].

EDIT:
@ redfordxx,
I was not sure if you were the RedAverage guy, just looked you up and you are [I suspect that you already knew this].
Were you AWOL/missing for a few years ? [I dont think I saw you for long time until relatively recently].

Anyways, if hacked code works OK and you wanna change it as given in new version, then please go ahead.
EDIT: Pinterf did updated version of Average for avs+, also updates for Masktools2 and avs+.

redfordxx
22nd January 2020, 14:58
I was not sure if you were the RedAverage guy,
Were you AWOL/missing for a few years ? [I dont think I saw you for long time until relatively recently].

Anyways, if hacked code works OK and you wanna change it as given in new version, then please go ahead.
EDIT: Pinterf did updated version of Average for avs+, also updates for Masktools2 and avs+.
Hi...yes...I have not much time...

And I forgot everything...So...I am starting slowly...
I do not believe I will give tech support for RedAverage or SmoothDeblock.