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, 04:36   #1  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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:- SMDegrain.avsi (v3.1.2.101s or up) is needed now for many scripts since it have the IsAvsNeo(), IsAvsPlus() and AvsPlusVersionNumber() functions. why?

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

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

dfttestmc
my mod for dfttestmc

sanimebob and smam and admfilter 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

SMDegrain
or the 3rd post here, see videohelp link and the top of script for the changes log

RemoveDirtMC_SE

stab3 and others

AnimeIVTC 2 mod, bug fixed and more

ASTDR DeRainbow

chroma blend/bleed/halo fix

DeHaloHmod

maa2

insertsign

aWarpSharp4xx

edi_rpow2 and ResizeX and eedi3_resize16 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

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

...

maybe there is others but I don't remember them now
__________________
My Avisynth Stuff

Last edited by real.finder; Yesterday at 03:22.
real.finder is offline   Reply With Quote
Old 19th December 2016, 04:56   #2  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 895
Great stuff! What a nice collection.
__________________
Win10 (x64) build 17134 | GPU Caps Viewer 1.40.1.0
NVIDIA GeForce GT 1030 (GP108) 2047MB/GDDR5 | (R417.22)
NTSC | DVD: R1 | BD: A
Sparktank is offline   Reply With Quote
Old 22nd December 2016, 11:27   #3  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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, 222 views)
File Type: rar SMDegrain 3.1.2.93s.rar (12.6 KB, 116 views)
File Type: rar SMDegrain 3.1.2.100s.rar (13.0 KB, 124 views)
File Type: rar SMDegrain 3.1.2.101s.rar (13.1 KB, 74 views)
Attachments Pending Approval
File Type: rar SMDegrain 3.1.2.104s.rar
__________________
My Avisynth Stuff

Last edited by real.finder; Yesterday at 01:51.
real.finder is offline   Reply With Quote
Old 22nd December 2016, 12:09   #4  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
new QTGMC edit to use SMDegrain_KNLMeansCL to process chroma too http://forum.doom9.org/showpost.php?...postcount=2041
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 03:45   #5  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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)
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 04: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, 04:29   #7  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 07: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, 07:35   #9  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 24th December 2016, 13:46   #10  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 113
What is the difference between RemoveDirtMC and RemoveDirtMC_SE?
ingoldie is offline   Reply With Quote
Old 24th December 2016, 17:13   #11  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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
__________________
My Avisynth Stuff

Last edited by real.finder; 26th December 2016 at 02:48.
real.finder is offline   Reply With Quote
Old 25th December 2016, 00:42   #12  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 6,851
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, 11:27   #13  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
new SMDegrain and DDComb edits
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 25th December 2016, 11:52   #14  |  Link
Groucho2004
 
Groucho2004's Avatar
 
Join Date: Mar 2006
Location: A wretched hive of scum and villainy
Posts: 4,293
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, 14:41   #15  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 6,851
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, 04: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, 09:28   #17  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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)
__________________
My Avisynth Stuff

Last edited by real.finder; 27th December 2016 at 09:59.
real.finder is offline   Reply With Quote
Old 30th December 2016, 06:44   #18  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,169
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
__________________
My Avisynth Stuff

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

new QTGMC and sanimebob

try with sanimebob(8) and enjoy
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 3rd January 2017, 10:03   #20  |  Link
Izuchi
Registered User
 
Join Date: Dec 2014
Posts: 21
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 13:31.


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