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 17th September 2021, 14:54   #361  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,131
Quote:
Originally Posted by Dogway View Post
I think he meant MDeblock here. Yes, you need to manually load the MSU filter.
I think the best Deblock_QED contender might be SmoothDeblock but it uses old procedures for loop, arrays, etc, and while it might work fine today I want to refactor it entirely to modern syntax, so that will take me some time.
Link dead and i got MDeblock but it's still only support x86 ver
kedautinh12 is offline   Reply With Quote
Old 20th September 2021, 04:15   #362  |  Link
Pauly Dunne
Grumpy Old Man.
 
Pauly Dunne's Avatar
 
Join Date: Jul 2019
Location: Out There....
Posts: 692
Hi Dogway,

Grabbed Sharpeners Pack v1.5 (19-09-2021), and I am now having an error @ Line 556 Col 8, if !(MC && isg) {

no issues with previous build.
__________________
Not poorly done, just doin' it my way !!!
Live every day like it's your last, because one day, it will be !! (M$B)
PD Builds, etc

Last edited by Pauly Dunne; 20th September 2021 at 04:28.
Pauly Dunne is offline   Reply With Quote
Old 20th September 2021, 15:01   #363  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,500
Quote:
Originally Posted by Dogway View Post
Dogway's Filters Packs
Script error: expected `('
(D:/Programmi/Media/AviSynth+/plugins64/SharpenersPack-1.5~Dogway.avsi, line 556, column 8)


Edit: so fast you were. Working
__________________
@turment on Telegram

Last edited by tormento; 20th September 2021 at 15:04.
tormento is offline   Reply With Quote
Old 20th September 2021, 15:04   #364  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Yes, sorry I seem to make the stupidest mistakes, fixed now.

By the way, I'm currently porting Plum, so I will upload soon.
Also porting Oyster to DeblockPack, but lack of features in AVS BM3D makes it difficult if not impossible to replicate vs version.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 20th September 2021, 15:41   #365  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,131
Quote:
Originally Posted by Dogway View Post
Yes, sorry I seem to make the stupidest mistakes, fixed now.

By the way, I'm currently porting Plum, so I will upload soon.
Also porting Oyster to DeblockPack, but lack of features in AVS BM3D makes it difficult if not impossible to replicate vs version.
Yeah WolframRhodium only fork a part of vs-BM3D of HolyWu
kedautinh12 is offline   Reply With Quote
Old 20th September 2021, 18:47   #366  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Finally uploaded DeblockPack, a nightmare. Except for Deblock_QED() I wouldn't use the rest yet, specially SmoothDeblock() and Oyster. Oyster should be "working" (aside from the missing settings in BM3D) but it actually hangs avspmod, probably because of the absurd values...
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 20th September 2021, 22:59   #367  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 702
I tried your version of Deblock_QED and got:

Code:
Script error: ex_lutspa does not have a named argument "expr" DeblockPack.avsi, line 113
Am I missing something?
anton_foy is offline   Reply With Quote
Old 20th September 2021, 23:06   #368  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Update ExTools I guess.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 20th September 2021, 23:19   #369  |  Link
anton_foy
Registered User
 
Join Date: Dec 2005
Location: Sweden
Posts: 702
Quote:
Originally Posted by Dogway View Post
Update ExTools I guess.
Sorry yes that fixed it, thank you.
anton_foy is offline   Reply With Quote
Old 20th September 2021, 23:52   #370  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
By the way, uploaded FrameRateConverter 2.0, rebased to v2.0 beta 11. Works great, possibly faster than vanilla in 8-bits, and nearly as fast in 16-bit. Updated benchs on OP.
I also observed that blending is reduced when processing in HBD.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 21st September 2021, 03:30   #371  |  Link
WolframRhodium
Registered User
 
Join Date: Jan 2016
Posts: 162
Quote:
Originally Posted by kedautinh12 View Post
Yeah WolframRhodium only fork a part of vs-BM3D of HolyWu
True. And the denoising strength of the two filters is different. I do not recommend replacing VS-BM3D with the CUDA version without careful tuning at this moment.
WolframRhodium is offline   Reply With Quote
Old 21st September 2021, 10:44   #372  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,131
@Dogway Vapoursynth now support back win7. You can compare result between vs and avs+ when you want port vs filters or scripts to avs+
https://forum.doom9.org/showthread.p...07#post1952807
kedautinh12 is offline   Reply With Quote
Old 21st September 2021, 13:53   #373  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by kedautinh12 View Post
@Dogway Vapoursynth now support back win7. You can compare result between vs and avs+ when you want port vs filters or scripts to avs+
https://forum.doom9.org/showthread.p...07#post1952807
when I use vs for compare I use https://forum.doom9.org/showthread.php?t=175529
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 21st September 2021, 14:45   #374  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Quote:
Originally Posted by kedautinh12 View Post
@Dogway Vapoursynth now support back win7. You can compare result between vs and avs+ when you want port vs filters or scripts to avs+
https://forum.doom9.org/showthread.p...07#post1952807
Thanks, yes I have that pending. Actually I have many things pending (vs, notepad3, PC cleanup, emulators setup), but it will come useful for yugefunc, the problem is my computer is full to the brim, I need to delete things, and pytorch and these things take a good amount of space. So when I get time to do cleanup and finish the main avs+ ports I want to try it.
I'm interested on using vs for the neural network filters and enhance some old photos.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 21st September 2021, 18:55   #375  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
I'm finishing porting Plum. Yeah, I'm having many issues due to memory overflow. Currently using a 1080p source.
Code:
nnedi3
Requested buffer size of 6417285120 is too large

nnedi3
Error while allocating planar dstPF

KNLMeansCL: fatal error!
 (clCreateContext: CL_OUT_OF_RESOURCES)
(New File (30), line 93)
I don't know who to blame here, the plugins, avisynth... in any case I think overall the framework should be updated to deal fine with 8K clips, not necessarily for 8K sources but also ss 4K or 2K sources. I have 32Gb of RAM and 8Gb of VRAM.


Also having issues with, returns Undefined() when further processing, ok as final call:
Code:
Expr(clp, SelectEvery(src, {radius} * 2 + 1, {i}), ...(x13), "x y max z max a max b max c max d max e max f max g max h max i max j max")



EDIT: Uploaded Plum. Report back if you manage to get something out of it : P
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread

Last edited by Dogway; 21st September 2021 at 20:52.
Dogway is offline   Reply With Quote
Old 21st September 2021, 21:18   #376  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
I'm having many issues due to memory overflow.
vs feisty2 functions are so slow that run Seconds per frame not frames per second, and he made them for dvd/SD masters not even for HD
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 21st September 2021, 21:30   #377  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Yes I know. At last I tested with a resized down to 480p clip and it kept processing 15 minutes so I closed it. Even with my optimizations and relaxed down settings (pel=2) and todays computer standards compared to 2016 (8Gb VRAM, 32Gb RAM, CUDA, etc).

Will try at another time, I need to get an output to verify it works fine, apparently F2QSharp changed some settings in the meantime.


EDIT: Did some tests with SMDegrain, motion compensating ex_median() filtering. Result are comparable at least for tr=3 and thSAD=400
Code:
# SMDegrain MC:
# STWM 9.5fps P(6) rec=false 17
# ML3Dex 20fps P(6) rec=false 31
# medianST rec=false 25fps P(6)
# MDegrain 14fps P(6) (no MC, usual method)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread

Last edited by Dogway; 21st September 2021 at 22:33.
Dogway is offline   Reply With Quote
Old 22nd September 2021, 01:28   #378  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Dogway View Post
I still need to port LimitFilter and SmoothGrad.
Code:
function SmoothGradPlus(clip m, int "radius", float "thr", clip "ref", float "elast", int "Y", int "UV")
{
radius = Default(radius, 16)
Y       = Default(Y,         3)
Y2     = Y==3 ? 3 : 1
UV     = Default(UV,      3)
UV2   = UV==3 ? 3 : 1
smooth = ex_boxblur(m, radius-1, mode="mean", Y=Y2, UV=UV2)
slimit_dif(smooth, m, ref, thr, elast, Y=Y, U=UV, V=UV)
}
convertbits(16)
SmoothGradPlus
ConvertToStacked()
DitherPost()
luma_histogram()

vs

Dither_convert_8_to_16()
SmoothGrad
DitherPost()
luma_histogram()

show that they are about 99% same (they are same but the small difference come from ex_boxblur vs Dither_box_filter16 rounding errors or something), still, SmoothGradPlus can be shorten (and it will improve performance too) by make it only one line expr (by gathering only the parts that needed for SmoothGradPlus from slimit_dif and ex_boxblur)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 22nd September 2021, 01:48   #379  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Great, interested on the numbers ( Prefetch(cores) works best with ex_boxblur() ), I know that Dither_box_filter16() is very fast but if we are in 200+fps territory I think it's fine (EDIT: oh no rad=16!), but using ConvertBits(8) instead.

I have been researching for some time how to speed up mean blur, one method is akin to ex_gaussianblur(), by resizing down+up, but what kernel? Well with fmtconv on avs+ now we can use the "box" kernel in HBD, so that's for downscale, I'm still unsure on what to use for upscale. Maybe some resampler guru can shed some light. What I found out today is that GaussResize(p=21) is the same as BicubicResize(b=1,c=0) (a perfect cubic spline?)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 22nd September 2021, 01:57   #380  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,131
Quote:
Originally Posted by real.finder View Post
vs feisty2 functions are so slow that run Seconds per frame not frames per second, and he made them for dvd/SD masters not even for HD
feisty2 said: "i only made my scripts with placebo speed"

Last edited by kedautinh12; 22nd September 2021 at 02:23.
kedautinh12 is offline   Reply With Quote
Reply

Tags
avisynth, dogway, filters, hbd, packs

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 13:09.


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