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 13th October 2021, 11:11   #541  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,499
Quote:
Originally Posted by Dogway View Post
No, LFR is not automatic since it makes the filter slower (haven't benchamrked though). I would use it always with TemporalSoften, and also with MDegrain if you are using thSAD>500 or tr>4 but these are loose estimations. I would run tests to see the before and after (I use ex_makediff to see better) and check if it recovers enough to be worth it.
I have briefly tested in some scenes and the result with fog is awful, i.e. random blocks of pure noise (read: mess ). When my PC will finish the encoding queue, I will test more.
__________________
@turment on Telegram
tormento is online now   Reply With Quote
Old 13th October 2021, 11:31   #542  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
@TDS: Nice. I tested "ex_BM3D(sigma=5,radius=1,CUDA=false,UV=3,fulls=false)" and it worked here. Do you have the latest version?

@tormento: Great! share the clip (and SMDegrain call) so I can have a look. ExTools and SMDegrain are supposed to be finished except for bugs.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 13th October 2021, 13:21   #543  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 893
Quote:
Originally Posted by Dogway View Post
@TDS: Nice. I tested "ex_BM3D(sigma=5,radius=1,CUDA=false,UV=3,fulls=false)" and it worked here. Do you have the latest version?
Latest version of what ???

If you're referring to BM3D, I think I have "test 3"...is there newer ??
__________________
Long term RipBot264 user.

RB 1.27.1 (std)
RB 1.27.1 (fully loaded, OOD)
PD 7.5 (new)
TDS is online now   Reply With Quote
Old 13th October 2021, 13:42   #544  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
test 3 is not latest, it's this.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 13th October 2021, 13:55   #545  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 893
Quote:
Originally Posted by Dogway View Post
test 3 is not latest, it's this.
OK, thanks for that, but I think that might be the one I have...I'll check.
__________________
Long term RipBot264 user.

RB 1.27.1 (std)
RB 1.27.1 (fully loaded, OOD)
PD 7.5 (new)
TDS is online now   Reply With Quote
Old 13th October 2021, 15:09   #546  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,127
No, this is last
https://github.com/WolframRhodium/Va...uns/1215772307
kedautinh12 is offline   Reply With Quote
Old 13th October 2021, 15:16   #547  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Thanks, that's it.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 14th October 2021, 01:45   #548  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 893
Quote:
Originally Posted by Dogway View Post
Thanks, that's it.
Were you able to get this ??

It's timestamped @ 09-09-21, older build was 04-09-21.
__________________
Long term RipBot264 user.

RB 1.27.1 (std)
RB 1.27.1 (fully loaded, OOD)
PD 7.5 (new)
TDS is online now   Reply With Quote
Old 14th October 2021, 01:49   #549  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,127
My link is ver 09-09-21
kedautinh12 is offline   Reply With Quote
Old 14th October 2021, 01:57   #550  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 893
Quote:
Originally Posted by kedautinh12 View Post
My link is ver 09-09-21
Hi, yes, but it took me a while to get to the downloadable file...
__________________
Long term RipBot264 user.

RB 1.27.1 (std)
RB 1.27.1 (fully loaded, OOD)
PD 7.5 (new)
TDS is online now   Reply With Quote
Old 14th October 2021, 02:03   #551  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,127
I downloaded easy with github account
kedautinh12 is offline   Reply With Quote
Old 14th October 2021, 02:11   #552  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: On a need to know basis.
Posts: 893
Quote:
Originally Posted by kedautinh12 View Post
I downloaded easy with github account
Yes, once I signed in, made all the difference
__________________
Long term RipBot264 user.

RB 1.27.1 (std)
RB 1.27.1 (fully loaded, OOD)
PD 7.5 (new)
TDS is online now   Reply With Quote
Old 14th October 2021, 09:39   #553  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,499
Quote:
Originally Posted by Dogway View Post
Great! share the clip
Warning! NSFW!

It's the shower scene in Carrie.

It's a plain script

SetMemoryMax()
SetFilterMTMode("DEFAULT_MT_MODE", 2)
LoadPlugin("D:\Eseguibili\Media\DGDecNV\DGDecodeNV.dll")
DGSource("F:\In\carrie.dgi",ct=20,cb=20,cl=0,cr=0)
ConvertBits(16)
SMDegrain (tr=x, thSAD=x00, refinemotion=true, contrasharp=false, PreFilter=4, plane=4, chroma=true) [,lfr=true]
fmtc_bitdepth (bits=8,dmode=8)
Prefetch(6)


where x varies from 4 to 9, accordingly.

Any hint is welcome.
__________________
@turment on Telegram

Last edited by tormento; 14th October 2021 at 09:42.
tormento is online now   Reply With Quote
Old 14th October 2021, 09:54   #554  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Thanks, I didn't get block of any sorts, simply recovered low frequency grain.
You have two options, run my double temporalsoften call (double MDegrain also works), or lower the frequency restoration with LFR=8 for example.



EDIT: this is a good compromise between quality and speed
Code:
smdegrain(tr=1,mode="temporalsoften",blksize=32,thSAD=900,LFR=2,contrasharp=false,refinemotion=true)
smdegrain(tr=1,mode="MDegrain",blksize=32,thSAD=300,LFR=false,contrasharp=true,refinemotion=true)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread

Last edited by Dogway; 14th October 2021 at 10:12.
Dogway is offline   Reply With Quote
Old 14th October 2021, 10:55   #555  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,499
Quote:
Originally Posted by Dogway View Post
lower the frequency restoration with LFR=8
Does the number modify the frequency domain or the restoration intensity?
__________________
@turment on Telegram
tormento is online now   Reply With Quote
Old 14th October 2021, 11:10   #556  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
The number indicates the cutoff frequency of the lowpass (it isn't parametrized but I would like to do it in the future). The higher the lower frequency is restored, the lower more high (along low) frequencies are restored. It's a low pass so that means that recovered frequencies span from 0 to cutoff frequency.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 14th October 2021, 13:56   #557  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,499
Quote:
Originally Posted by Dogway View Post
The number indicates the cutoff frequency of the lowpass
Do you have any idea of some meaningful numbers/cutoffs to use?
__________________
@turment on Telegram
tormento is online now   Reply With Quote
Old 14th October 2021, 21:49   #558  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Depends on source grain, the greater the grain the more low freq noise you will get. Or you can use two passes as above and get away with a lower LFR (higher cutoff).

Also I forgot about your query on ex_makediff(), can't you just do:
Code:
a=last
b=SMDegrain(tr=5, thSAD=500)
c=SMDegrain(tr=7, thSAD=700)
d=SMDegrain(tr=9, thSAD=900)
b=ex_makediff(a,b,aug=true)
c=ex_makediff(a,c,aug=true)
d=ex_makediff(a,d,aug=true)

StackHorizontal(b,c,d)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 14th October 2021, 22:11   #559  |  Link
Julek
Registered User
 
Julek's Avatar
 
Join Date: Dec 2020
Posts: 83
I remember you mentioned about reinstalling VS, so I wanted to let you know that Akarin's Expr now has sortN, which is very useful.
https://github.com/AkarinVS/vapoursy...-order-filters
Julek is offline   Reply With Quote
Old 14th October 2021, 22:41   #560  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 2,351
Wow that's great, too bad pinterf dismissed the sort operator. I'm still trying to figure out how to compose a 48 inputs ranking filter, I know I can use two parallel 24 inputs, then use a Batcher's odd-even sorter to merge both ranked lists, I still don't know how to set up this odd-even sorting network for 48 inputs, I need to run some tests probably in a few days. Will be the last thing to add to ExTools.

I haven't installed VS because my main urge is to finish the current scripts and its issues. Had to rebase all the scripts for the new ex_blur() gaussian to binomial fit. Then also created a MatchClip() function to remove MatchColorFormat() and its Utils-r41 dependency. Also created a few rounding functions to remove m4(), m4_sh, m(), etc and also Zs_RF_Shared.avsi dependency.

My main problem with VS is python, despite I use it for blender and a few random scripts I prefer the more direct approach of AVS+. Programming is reduced to a minimum and you only care about the algo. Python is a bit harder to read, also because the object oriented approach, a bit too verbose IMO. I will install it when I get TransformsPack to a stable release, want to play with the AI filters.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread

Last edited by Dogway; 14th October 2021 at 22:43.
Dogway 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 14:07.


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