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 19th December 2016, 05:36   #1  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
real.finder's Avisynth Stuff

also AKA A.SONY's Avisynth Stuff

I decided to open this Thread like what Groucho2004 did

AudSub Splitter
GUI for vfr.py and trimsubs

https://forum.doom9.org/showthread.p...13#post1673913 some moded macros for avsp

note:- Zs_RF_Shared.avsi (Shared Functions and utility V1.05 or up) is needed

note 2:- many scripts support native HBD now, some for few settings and some others for all settings depending on the used dll's in the function

update note: new scripts and updates will be on github from now on
https://github.com/realfinder/AVS-Stuff/tree/master


avs/avs+ Universal Plugins Folders

daa3mod
daa with nnedi3 and ss (slow) method have less artifacts and less loss of details and others

dfttestMC and MC things
my mod for dfttestmc

admfilter and edgesidebleed and others (Advanced Denoising.avsi)
bob for anime, smam to clean up the bob Artifacts
admfilter is Adaptive motion denoise that use dfttestmc, the goal of it to get rational denoise in all cases (whether motions or not), and other functions

DDComb
I just did some edit in it

QTGMC
edit to use YUY2 in avs 2.6 and others

NotSMDegrain my old SMDegrain mod

RemoveDirtMC_SE

stab3 and others

AnimeIVTC 2 mod, bug fixed and more

ASTDR DeRainbow

chroma blend/bleed/halo fix

DeHaloHmod

maa2

insertsign

aWarpSharp4xx

eedi3_resize16, ResizeX, edi_rpow2 and IResize

nnedi3_resize16
nnedi3_resize16 speed up with nnedi3 for avs 2.6 especially with not yv12

MP_Pipeline
not much edit, just support avs mt inside mpp block, my goal now is here https://github.com/SAPikachu/MP_Pipeline/issues/1

nnchromaupsubsampling
NNEDI chroma upsubsampling

VHSHaloremover

abcxyz

DeHalo_alpha_MT2

BlindDeHalo3_mt2

Masked_DHA

FastLineDarken mod

FineDehalo

srestore

LSFmod

BalanceBorders

FixBlendIVTC

DebilinearM

SeeSaw

Deblock_QED_MT2

YAHRmods

F3KDB_s (now with F3KDB_3_adg and F3KDB_3)

smaskmerge

GrainFactory3

GrainFactory3mod

MCTDmod this is modified so can put MCTemporalDenoise.avsi and MCTD.avsi together in auto-load folder

Hysteria.avsi

FineSharp

EdgeCleaner

HQDeringmod

LUTDeCrawl

LUTDeRainbow

Spresso

STpresso

MCTemporalDenoise

YLevels_mt

oSmoothLevels

mToon

unb_s.avsi *.mp4 guy unbt

GrainStabilizeMC

LRemoveDust

DFMDeRainbow

Santiag

GradFun2DBmod

MCBob

Vinverse_avsi

AutoDeblock2

LimitedSharpen2

chikuzen plugins that I edit/build https://forum.doom9.org/showpost.php...7&postcount=36

maki mod of DGIndex & DGMPGDec I build https://forum.doom9.org/showpost.php...6&postcount=15

...

aside from https://github.com/realfinder/AVS-Stuff/tree/Community , there maybe others in pastebin but I don't remember them now
__________________
See My Avisynth Stuff

Last edited by real.finder; 28th February 2022 at 00:01.
real.finder is offline   Reply With Quote
Old 19th December 2016, 05:56   #2  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Great stuff! What a nice collection.
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
Sparktank is offline   Reply With Quote
Old 22nd December 2016, 12:27   #3  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
*** these OUTDATED now ***

new SMDegrain edit https://pastebin.com/4y4Zw2xG

now all KNLMeansCL workaround in SMDegrain_KNLMeansCL and support last KNLMeansCL
Attached Files
File Type: rar SMDegrain 3.1.2.92s.rar (12.6 KB, 581 views)
File Type: rar SMDegrain 3.1.2.93s.rar (12.6 KB, 379 views)
File Type: rar SMDegrain 3.1.2.100s.rar (13.0 KB, 405 views)
File Type: rar SMDegrain 3.1.2.101s.rar (13.1 KB, 329 views)
File Type: rar SMDegrain 3.1.2.104s.rar (13.1 KB, 1721 views)
__________________
See My Avisynth Stuff

Last edited by real.finder; 9th March 2020 at 16:37.
real.finder is offline   Reply With Quote
Old 22nd December 2016, 13:09   #4  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
new QTGMC edit to use SMDegrain_KNLMeansCL to process chroma too http://forum.doom9.org/showpost.php?...postcount=2041
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 04:45   #5  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
did a lot of changed in SMDegrain last days, it should be faster in yv16 without lsb now (there was a bug that call SSE*Tools)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 05:17   #6  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
You're still referencing EdiMode and ChromaEdi from within QTGMC_ApplySourceMatch. Those variables are neither declared global nor are they passed to the QTGMC_ApplySourceMatch function, therefore SourceMatch will not work until those references are removed.
ndjamena is offline   Reply With Quote
Old 24th December 2016, 05:29   #7  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
Quote:
Originally Posted by ndjamena View Post
You're still referencing EdiMode and ChromaEdi from within QTGMC_ApplySourceMatch. Those variables are neither declared global nor are they passed to the QTGMC_ApplySourceMatch function, therefore SourceMatch will not work until those references are removed.
I didn't get what you say, but I did nothing to original design of QTGMC, if you see a bug in it then explain it clearly where it is
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 08:02   #8  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
http://pastebin.com/dS06e6p8

Line 1002


Code:
yv16match1Edi  = EdiMode=="NNEDI2" || EdiMode=="NNEDI" || EdiMode=="EEDI3+NNEDI3" || EdiMode=="EEDI3" || EdiMode=="EEDI2" || EdiMode=="TDeint" || EdiMode=="cYadif" || EdiMode=="RepcYadif" || ChromaEdi=="cYadif"
That's INSIDE SourceMatch, where EdiMode and ChromaEdi aren't available.
ndjamena is offline   Reply With Quote
Old 24th December 2016, 08:35   #9  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
Quote:
Originally Posted by ndjamena View Post
http://pastebin.com/dS06e6p8

Line 1002


Code:
yv16match1Edi  = EdiMode=="NNEDI2" || EdiMode=="NNEDI" || EdiMode=="EEDI3+NNEDI3" || EdiMode=="EEDI3" || EdiMode=="EEDI2" || EdiMode=="TDeint" || EdiMode=="cYadif" || EdiMode=="RepcYadif" || ChromaEdi=="cYadif"
That's INSIDE SourceMatch, where EdiMode and ChromaEdi aren't available.
fix it, thanks for report
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 14:46   #10  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 133
What is the difference between RemoveDirtMC and RemoveDirtMC_SE?
ingoldie is offline   Reply With Quote
Old 24th December 2016, 18:13   #11  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
Quote:
Originally Posted by ingoldie View Post
What is the difference between RemoveDirtMC and RemoveDirtMC_SE?
see the posts here http://forum.doom9.org/showthread.php?t=145753&page=2
__________________
See My Avisynth Stuff

Last edited by real.finder; 26th December 2016 at 03:48.
real.finder is offline   Reply With Quote
Old 25th December 2016, 01:42   #12  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,020
With many plugs, an S suffix, means Static ie no dll required, SSE means Pentium 4 +. (thats about it).
__________________
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 25th December 2016, 12:27   #13  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
new SMDegrain and DDComb edits
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 25th December 2016, 12:52   #14  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by StainlessS View Post
With many plugs, an S suffix, means Static ie no dll required, SSE means Pentium 4 +. (thats about it).
Methinks you misunderstood. The "_SE" in this case relates to GPU support. By the way, SSE means >= P3/Athlon XP.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 25th December 2016, 15:41   #15  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,020
Yes of course.
__________________
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 27th December 2016, 05:27   #16  |  Link
yup
Registered User
 
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 854
QTGM with avisynth 64 bit YUY2 source problem

Hi real.finder!
Thank You for Your effort.
I am try Your QTGMC script after Windows 10 Reset.
Script
Code:
AVISource("cap1.avi")
AssumeTFF()
#ConvertToYV16(interlaced=true)
QTGMC(Edithreads=1,dct=5)
prefetch(8)
VirtualDub 32 bit work fine, but VirtualDub 64 bit show only chroma (green black pattern).
Afer adding line ConvertToYV16(interlaced=true) problem gone.
My avsmeter log
Code:
C:\Video\AVSMeter246>avsmeter -avsinfo

AVSMeter 2.4.6 (x86) - Copyright (c) 2012-2016, Groucho2004

VersionString:              AviSynth+ 0.1 (r2294, MT, i386)
VersionNumber:              2.60
File version:               0.1.0.0
Interface Version:          6
Multi-threading support:    Yes
Linker/compiler version:    14.0
Avisynth.dll location:      C:\Windows\syswow64\AviSynth.dll
Avisynth.dll time stamp:    2016-10-26, 15:29:36 (UTC)
PluginDir+    (HKLM, x86):  C:\Program Files (x86)\AviSynth+\plugins+
PluginDir2_5  (HKLM, x86):  C:\Program Files (x86)\AviSynth+\plugins


[CPP 2.5 plugins]
C:\Program Files (x86)\AviSynth+\plugins\avstp.dll  [1.0.3.0]
C:\Program Files (x86)\AviSynth+\plugins\dither.dll  [n/a]

[CPP 2.6 plugins]
C:\Program Files (x86)\AviSynth+\plugins+\ConvertStacked.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\DirectShowSource.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\ImageSeq.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\masktools2.dll  [2.1.0.0]
C:\Program Files (x86)\AviSynth+\plugins+\mvtools2.dll  [2.7.9.22]
C:\Program Files (x86)\AviSynth+\plugins+\nnedi3.dll  [0.9.4.32]
C:\Program Files (x86)\AviSynth+\plugins+\RgTools.dll  [0.93.0.0]
C:\Program Files (x86)\AviSynth+\plugins+\Shibatch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\TimeStretch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\VDubFilter.dll  [n/a]

C:\Video\AVSMeter246>avsmeter64 -avsinfo

AVSMeter 2.4.6 (x64) - Copyright (c) 2012-2016, Groucho2004

VersionString:              AviSynth+ 0.1 (r2294, MT, x86_64)
VersionNumber:              2.60
File version:               0.1.0.0
Interface Version:          6
Multi-threading support:    Yes
Linker/compiler version:    14.0
Avisynth.dll location:      C:\Windows\System32\AviSynth.dll
Avisynth.dll time stamp:    2016-10-26, 15:06:10 (UTC)
PluginDir+    (HKLM, x64):  C:\Program Files (x86)\AviSynth+\plugins64+
PluginDir2_5  (HKLM, x64):  C:\Program Files (x86)\AviSynth+\plugins64


[CPP 2.5 plugins]
C:\Program Files (x86)\AviSynth+\plugins64\avstp.dll  [1.0.3.0]
C:\Program Files (x86)\AviSynth+\plugins64\dither.dll  [n/a]

[CPP 2.6 plugins]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\masktools2.dll  [2.1.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll  [2.7.9.22]
C:\Program Files (x86)\AviSynth+\plugins64+\nnedi3.dll  [0.9.4.32]
C:\Program Files (x86)\AviSynth+\plugins64+\RgTools.dll  [0.93.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll  [n/a]
yup.
yup is offline   Reply With Quote
Old 27th December 2016, 10:28   #17  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
Quote:
Originally Posted by yup View Post
Hi real.finder!
Thank You for Your effort.
I am try Your QTGMC script after Windows 10 Reset.
Script
Code:
AVISource("cap1.avi")
AssumeTFF()
#ConvertToYV16(interlaced=true)
QTGMC(Edithreads=1,dct=5)
prefetch(8)
VirtualDub 32 bit work fine, but VirtualDub 64 bit show only chroma (green black pattern).
Afer adding line ConvertToYV16(interlaced=true) problem gone.
My avsmeter log
Code:
C:\Video\AVSMeter246>avsmeter -avsinfo

AVSMeter 2.4.6 (x86) - Copyright (c) 2012-2016, Groucho2004

VersionString:              AviSynth+ 0.1 (r2294, MT, i386)
VersionNumber:              2.60
File version:               0.1.0.0
Interface Version:          6
Multi-threading support:    Yes
Linker/compiler version:    14.0
Avisynth.dll location:      C:\Windows\syswow64\AviSynth.dll
Avisynth.dll time stamp:    2016-10-26, 15:29:36 (UTC)
PluginDir+    (HKLM, x86):  C:\Program Files (x86)\AviSynth+\plugins+
PluginDir2_5  (HKLM, x86):  C:\Program Files (x86)\AviSynth+\plugins


[CPP 2.5 plugins]
C:\Program Files (x86)\AviSynth+\plugins\avstp.dll  [1.0.3.0]
C:\Program Files (x86)\AviSynth+\plugins\dither.dll  [n/a]

[CPP 2.6 plugins]
C:\Program Files (x86)\AviSynth+\plugins+\ConvertStacked.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\DirectShowSource.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\ImageSeq.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\masktools2.dll  [2.1.0.0]
C:\Program Files (x86)\AviSynth+\plugins+\mvtools2.dll  [2.7.9.22]
C:\Program Files (x86)\AviSynth+\plugins+\nnedi3.dll  [0.9.4.32]
C:\Program Files (x86)\AviSynth+\plugins+\RgTools.dll  [0.93.0.0]
C:\Program Files (x86)\AviSynth+\plugins+\Shibatch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\TimeStretch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\VDubFilter.dll  [n/a]

C:\Video\AVSMeter246>avsmeter64 -avsinfo

AVSMeter 2.4.6 (x64) - Copyright (c) 2012-2016, Groucho2004

VersionString:              AviSynth+ 0.1 (r2294, MT, x86_64)
VersionNumber:              2.60
File version:               0.1.0.0
Interface Version:          6
Multi-threading support:    Yes
Linker/compiler version:    14.0
Avisynth.dll location:      C:\Windows\System32\AviSynth.dll
Avisynth.dll time stamp:    2016-10-26, 15:06:10 (UTC)
PluginDir+    (HKLM, x64):  C:\Program Files (x86)\AviSynth+\plugins64+
PluginDir2_5  (HKLM, x64):  C:\Program Files (x86)\AviSynth+\plugins64


[CPP 2.5 plugins]
C:\Program Files (x86)\AviSynth+\plugins64\avstp.dll  [1.0.3.0]
C:\Program Files (x86)\AviSynth+\plugins64\dither.dll  [n/a]

[CPP 2.6 plugins]
C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\masktools2.dll  [2.1.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll  [2.7.9.22]
C:\Program Files (x86)\AviSynth+\plugins64+\nnedi3.dll  [0.9.4.32]
C:\Program Files (x86)\AviSynth+\plugins64+\RgTools.dll  [0.93.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll  [n/a]
C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll  [n/a]
yup.
yes, I see it, it's bug in jpsdr nnedi3 with yuy2
Code:
ColorBars(width=640, height=480, pixel_type="yuy2")
nnedi3
will show same bug

and if you use this http://www.dropbox.com/s/fovpn5z9jy4...4_x64.zip?dl=1 will work fine but this 2.5 one (just yv12 and yuy2 and rgb)
__________________
See My Avisynth Stuff

Last edited by real.finder; 27th December 2016 at 10:59.
real.finder is offline   Reply With Quote
Old 30th December 2016, 07:44   #18  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
added aWarpSharp4xx with new Feature aWarp4 bool (should make the output quality better)

added insertsign with new Features like deal with HD and UHD automatically and if the source is RGBA (Packed) then it will use layer instead of overlay for speed and not lost original alpha
__________________
See My Avisynth Stuff

Last edited by real.finder; 30th December 2016 at 07:49.
real.finder is offline   Reply With Quote
Old 1st January 2017, 14:35   #19  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,597
Happy New Year

new QTGMC and sanimebob

try with sanimebob(8) and enjoy
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 3rd January 2017, 11:03   #20  |  Link
Izuchi
Registered User
 
Join Date: Dec 2014
Posts: 28
I'm getting the following error message: I don't know what "merge 16" means. Can you confirm that it should be shift16 instead?

Code:
# Threshold Merging & Output
	
    enable ? \
    Eval("""
        merge16  = !nnt ? flat16
        \               : mixed ? Dither_limit_dif16(flat16, edge16, thr=thr, elast=elast, y=Ynn, u=Unn, v=Vnn)
        \                       : Ynnt==Unnt && Unnt==Vnnt || IsY8 ? edge16
        \                                                          : mt_lutxy(edge16, flat16, Y=Yt?Ynnt?2:4:1, U=Ut?Unnt?2:4:1, V=Vt?Vnnt?2:4:1)
        merge16  = IsY8 ? output=="Y8" ? merge16.ConvertToY8() : Eval("merge16.ConvertTo"+oCSP).Dither_lut16(Y=2, U=-32768, V=-32768) : merge16
        
        final    = IsRGB ? merge16.Dither_convert_yuv_to_rgb(matrix=matrix, tv_range=tv_range, lsb_in=True, mode=dither, output=output)
        \                : lsb ? merge16
        \                      : merge16.nnedi3_resize16_Down8(tv_range, True, !IsY8, !IsY8, dither)
    """) : \
    Eval("""
        shift16  = input16.Dither_resize16(ow, oh, src_left, src_top, src_width, src_height, kernel="point", y=Y, u=U, v=V)
        shift16  = IsY8 ? output=="Y8" ? merge16.ConvertToY8() : Eval("shift16.ConvertTo"+oCSP).Dither_lut16(Y=2, U=-32768, V=-32768) : shift16
        
        final    = IsRGB ? shift16.Dither_convert_yuv_to_rgb(matrix=matrix, tv_range=tv_range, lsb_in=True, mode=dither, output=output)
        \                : lsb ? shift16
        \                      : shift16.nnedi3_resize16_Down8(tv_range, True, !IsY8, !IsY8, dither)
    """)
    
    
    return final
}
Izuchi is offline   Reply With Quote
Reply

Tags
avisynth, avs script, avs+, banding, generator, hbd, mod

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 16:33.


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