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. |
24th April 2023, 13:14 | #2423 | Link | |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
Quote:
Code:
FilmGrainPlus(preset="Vision3 5219 500T", sharpness=0.5) |
|
24th April 2023, 19:59 | #2425 | Link | |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
Quote:
'mfilter' argument you mean? That's called motion filter because the filter you pass there is applied typically on motion areas where motion block matching failed. The typical usage is to use spatial filters so you get two perks, a smoother less artifacty output and compressibility.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
24th April 2023, 21:49 | #2426 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
No, all good. Just wanted to make sure as I had a hard time to spot the subtle difference over a remote session. But the filesize was noticeable smaller in the end between the default preset setting and custom setting with only 50% of sharpness.
|
25th April 2023, 05:27 | #2427 | Link |
Guest
Posts: n/a
|
Topaz Video Enhance AI alternatives
@ Dogway, (or anyone)
I hope this isn't off topic too much, and I apologize if a similar question has been asked. But are there filters / scripts in your "arsenal" that could do an equivalent "job" as Topaz ?? I have tried Topaz on several old crappy video's, and I'm not convinced If you Google this topic, there are mentions that AVS can do as good a job, with appropriate scripts & plugins, etc. So I thought I'd ask... |
25th April 2023, 07:51 | #2428 | Link | |
Guest
Posts: n/a
|
Quote:
ex_FluxSmoothST()- Spatio-Temporal minimum change between weighted blur and median. Uses ex_FluxSmoothT() and its spatial equivalent ex_MinBlur() is it mean that these two are the only spatial filters? Have you got few examples how to use them and which is better? Or maybe there are betters - could you please provide names? |
|
25th April 2023, 08:56 | #2429 | Link | |
Registered User
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 26
|
Hello Forum,
It's been a while since I've used avisynth, and now I am currently reinstalling everything. I'm not very technical but I really enjoyed LSF decades ago and now I am trying to re-implement it to no avail. Have no idea where I am wrong. Is there are tutorial for newbies like me with step by step setup for these filters? My script and error are pasted below. Thank you. Quote:
https://imgur.com/a/D6yyOOj |
|
25th April 2023, 09:03 | #2430 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
@madey83: I made tons of spatial filters, for example at least half of ex_median() modes are spatial. Also the SMDegrain prefilters are mostly spatial, so you got ex_minblur() which is pretty nice, ex_KNLMeansCL(), ex_DGDenoise(), ex_BM3D(), DFTTest() but also other ones in ExTools like ex_bilateral(), ex_smartblur() or STTWM(). Then in yugefunc you got ex_guidedblur() and ex_ANguidedblur(). It depends how much you want to denoise and how much you want to protect. For instance is it's blocking and not noise what covers motion areas you'd also could run Deblock_QED(). Depending on what you need I can recommend ex_minblur(), ex_median("IQMV"), ex_median("smart"), ex_KNLMeansCL()/ex_DGDenoise() and ex_BM3D().
@FTLOY: You mean like AI upscaling? I think the best is to actually use upscaling models like the ones here. I asked him to add a few ones optimized for live action so probably he will add those when he finds some time. Other than that I made deep_resize() as a performant approach for upscaling, it's not bad at all and it's fast. Aside form the default NNEDI3 you can also try other kernels for 'edge' argument like FCBI, SuperResXBR, Waifu2x, RAVU, FSR1 or FSRCNN. I look forward to do some AI based restorations when I install Win10, but probably not in AviSynth. @SkilledAbbot: Install latest version here. Search for AviSynth+ 3.7.3 test 9, but before that use an installer version even if it's a bit older, and then manually replace files with 'test 9' ones. Also give a look at Asd-g repo and install some of his plugins, they are very useful and at times needed, also pinterf repo for the most up-to-date common plugins. And use FFMS2 loader or GPU based DGDecNV for frame properties support, might fail otherwise.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 25th April 2023 at 22:29. |
25th April 2023, 09:22 | #2431 | Link | |
Registered User
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 26
|
LSFplus
Quote:
|
|
25th April 2023, 09:27 | #2432 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
He might have forgotten, the current branch since a few years now is all + based. Also if you use AvsPmod the current updated branch is gispos', you can find here.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
25th April 2023, 10:01 | #2433 | Link |
Guest
Posts: n/a
|
[QUOTE=Dogway;1986223]@madey83: I made tons of spatial filters, for example at least half of ex_median() modes are spatial. Also the SMDegrain prefilters are mostly spatial, so you got ex_minblur() which is pretty nice, ex_KNLMeansCL(), ex_DGDenoise(), ex_BM3D(), DFTTest() but also other ones in ExTools like ex_bilateral(), ex_smartblur() or STTWM(). Then in yugefunc you got ex_guidedblur() and ex_ANguidedblur(). It depends how much you want to denoise and how much you want to protect. For instance is it's blocking and not noise what covers motion areas you'd also could run Deblock_QED(). Depending on what you need I can recommend ex_minblur(), ex_median("IQMV"), ex_median("smart"), ex_KNLMeansCL()/ex_DGDenoise() and ex_BM3D().
thank you so much. |
27th April 2023, 13:50 | #2434 | Link | |
Registered User
Join Date: Sep 2002
Location: Nagano, Japan
Posts: 26
|
@Dogway: Works like a charm and looks beautiful. Thank you!
Quote:
|
|
30th April 2023, 15:52 | #2435 | Link |
Registered User
Join Date: Dec 2022
Posts: 64
|
Questions about SharpenersPack. I'm interested in non-linear sharpness. In other words, strong for small differences, and not strong for large differences.
1) ex_unsharp has no non-linear sharpening options. But if I increment str and safe=true, will those be non-linear sharpening actions? 2) The threshold in ex_unsharp seems to work in the opposite way. What if we use minus values of threshold? 3) A more complex problem that I've caught a few times. Just to clarify, I'm using the Staxrip app for Avisynth. I use FineSharpPlus and DetailSharpen filters. The same parameter of non-linear sharpness gives exactly the opposite result. First they sharpen, and then something happens and they start blurring the image. Could this theoretically happen? |
1st May 2023, 01:55 | #2436 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
I don't know how it is in StaxRip but DetailSharpen doesn't have non-linear modifier, only 'pow' which is analogous to FineSharpPlus' 'pstr'. Both act in the same way as I could check and in the range recommended in the function definitions.
FineSharpPlus in this case is a superior non-linear sharpener as I ported its portion from LSFplus, but it doesn't have all the bell and whistles of the later, so probably you might want to use LSFplus instead. What you look after (strong on small diffs) is actually the opposite of the implemented non-linear modes. You are looking then into LSFplus' edgemode=2, this will sharpen non-edges only but applied through an edge mask though. If you want a manual and non-linear sharpening you can also use ex_guidedblur(), which is a non-linear blurring filter. Code:
src = last rad = 1 bl = ex_guidedblur(rad) ex_lutxy(bl,"x y - x +") ex_clamp(src,bl,last) # limiter (might clamp small diffs though) Finally you can also use ex_limitdif() as used in deep_resize(): Code:
ex_limitdif(flat, edge, thr=thr, elast=ela, UV=1)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 1st May 2023 at 02:10. |
1st May 2023, 04:50 | #2437 | Link | |||
Registered User
Join Date: Dec 2022
Posts: 64
|
LSFplus is too heavy for my needs. FineSharpPlus, DetailSharpen or ex_unsharp are lighter and faster.
Quote:
sstr (float) - strength of non-linear sharpening. power (float) - exponent of non-linear sharpening. Quote:
Quote:
|
|||
1st May 2023, 12:16 | #2438 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
LSFplus in 'LSF' mode and without supersampling is rather fast I'd say.
What I meant with DetailSharpen is that you can't change the non-linearity, you can change its power but not its shape. I will have a look at ex_unsharp threshold issue* in the meantime try some of the above suggestions. You can also pass ex_unsharp through an edge mask. I guess your goal is for texture sharpness which that will suffix. *I didn't find any change on negative values
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
1st May 2023, 20:39 | #2440 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
ex_unsharp() is a plain unsharp mask so I don't want to add non-linear sharpening aside from the bundled anti-ringing 'safe' option.
It is easy to mask out edges as I explained above: With an edge mask: Code:
msk=ex_edge("frei-chen") ex_unsharp(2.0, Fc=1920, safe=true) ex_merge(src,msk) Code:
ex_unsharp(2.0, Fc=1920, safe=false) ex_limitdif(src,thr=1.5,elast=4.0)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
Tags |
avisynth, dogway, filters, hbd, packs |
Thread Tools | Search this Thread |
Display Modes | |
|
|