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: 844
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

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
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)

DDComb
I just did some edit in it

QTGMC
edit to use YUY2 in avs 2.6 and others

SMDegrain
see videohelp link and the top of script

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

edi_rpow2

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 v2.79

...

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

Last edited by real.finder; 8th December 2017 at 05:14.
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
Location: Planet Express, Inc.
Posts: 789
Great stuff! What a nice collection.
__________________
Win10 (x64) | GPU Caps Viewer v1.32.0.0
Crucial M500 240GB SSD | Kingston SSDNow V300 (Marvell) 120GB | NVIDIA GeForce GTX 750 Ti | R375.95 (Nov 18, 2016)
NTSC | DVD: R1 | BD: A
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: 844
new SMDegrain edit https://pastebin.com/xMsxYztR

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, 125 views)
File Type: rar SMDegrain 3.1.2.93s.rar (12.6 KB, 58 views)
__________________
My Avisynth Stuff

Last edited by real.finder; 4th May 2017 at 23:00.
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: 844
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, 04:45   #5  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 844
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, 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: 844
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, 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: 844
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, 14:46   #10  |  Link
ingoldie
Registered User
 
Join Date: Sep 2014
Posts: 83
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: 844
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 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: 5,161
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 are any of them 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: 844
new SMDegrain and DDComb edits
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 25th December 2016, 12:52   #14  |  Link
Groucho2004
 
Join Date: Mar 2006
Posts: 3,542
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.
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: 5,161
Yes of course.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but are any of them 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: 852
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: 844
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 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: 844
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 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: 844
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, 11:03   #20  |  Link
Izuchi
Registered User
 
Join Date: Dec 2014
Posts: 20
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, avs script, avs+, 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 14:56.


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