Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 21st January 2012, 19:20   #101  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Had to dis-inter this to say 'THANKYOU REDFORDXX', excellent work here.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 22nd January 2012, 18:18   #102  |  Link
redfordxx
Registered User
 
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
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
redfordxx is offline   Reply With Quote
Old 23rd January 2012, 04:57   #103  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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.ph...80#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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 23rd January 2012 at 16:56.
StainlessS is offline   Reply With Quote
Old 23rd January 2012, 08:28   #104  |  Link
Jenyok
Warm and fuzzy
 
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 201
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.

Last edited by Jenyok; 23rd January 2012 at 09:42.
Jenyok is offline   Reply With Quote
Old 23rd January 2012, 17:53   #105  |  Link
librarian
Registered User
 
Join Date: Nov 2011
Posts: 63
Here it is.
librarian is offline   Reply With Quote
Old 24th January 2012, 10:25   #106  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 317
Yesterday I couldn't get the file, so if that happens - here's another link:
linketylinkety
Bloax is offline   Reply With Quote
Old 24th January 2012, 16:02   #107  |  Link
redfordxx
Registered User
 
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
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???
redfordxx is offline   Reply With Quote
Old 24th January 2012, 19:45   #108  |  Link
Jenyok
Warm and fuzzy
 
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 201
redfordxx

Красный - red
форд - ford
xx - xx
And all togather...
Красный форд xx...
__________________
Warm and fuzzy (white and fluffy)
Jenyok is offline   Reply With Quote
Old 20th February 2012, 12:05   #109  |  Link
wlndd6
Registered User
 
Join Date: Nov 2011
Posts: 7
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

Last edited by wlndd6; 21st February 2012 at 02:07.
wlndd6 is offline   Reply With Quote
Old 22nd January 2020, 10:21   #110  |  Link
fAy01
Registered User
 
Join Date: Jun 2010
Posts: 91
Hello,

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



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

Please let me know.

Thanks!
fAy01 is offline   Reply With Quote
Old 22nd January 2020, 11:33   #111  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 22nd January 2020 at 12:05.
StainlessS is offline   Reply With Quote
Old 22nd January 2020, 11:47   #112  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Try this[just the script, use same plugins]:- http://www.mediafire.com/file/qnqx33...eblock.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
Code:
# 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
Code:
# 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+.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 22nd January 2020 at 12:28.
StainlessS is offline   Reply With Quote
Old 22nd January 2020, 14:58   #113  |  Link
redfordxx
Registered User
 
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
Quote:
Originally Posted by StainlessS View Post
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.
redfordxx is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.