RGMOfficial
10th June 2022, 19:28
https://user-images.githubusercontent.com/40833244/173114548-6b44afd5-8bd7-4e70-877e-864e99e36803.png
https://github.com/rgm89git/DotCrawlPlusPlus/releases/latest
A modernization of DotCrawlPlus, an filter that emulates analog artifacts.
Original by @raffriff42 (original thread (https://forum.doom9.org/showthread.php?t=170433))
Demos
Colorbars w/ Overscan Borders
https://user-images.githubusercontent.com/40833244/173113179-746995d3-2b87-497a-a36f-7cf81ccc8ce6.png
ColorBars(pixel_type="YV12")
Amplify(0)
Spline64Resize(640,480)
AddBorders(6,0,6,0)
Spline64Resize(640,480)
sharpen(.5)
blur(1)
dcpp_preset("betacam",threads=4)
Test Charts w/ Overscan Borders (credits to belle-nuit.com (https://www.belle-nuit.com/test-chart))
https://user-images.githubusercontent.com/40833244/173119438-d406115a-b9ab-4a8b-99cf-9029392b009a.png
ImageSource("testchartntsc.tif")
ConvertToYV12()
Spline64Resize(640,480)
AddBorders(6,0,6,0)
Spline64Resize(640,480)
sharpen(.5)
blur(1)
dcpp_preset("betacam",threads=4)
Requisites
Plugins needed:
MaskTools (https://github.com/pinterf/masktools/releases)
AddGrainC (https://github.com/pinterf/AddGrainC/releases)
FFT3DFilter (https://github.com/pinterf/fft3dfilter/releases)
GRunT (https://github.com/pinterf/GRunT/releases)
TEMmod (https://github.com/Asd-g/TEMmod/releases)
Improvements
(Version 0.2.0 - 07/09/2022)
First license (GPL-3.0)
New HALO simulation function. Thanks again to @SaurusX. Credits to @Dogway for the LumaMask function.
Update to rainbow: the new rb_strength value (for altering the rainbow mask strength).
(Version 0.1.0 - 06/10/2022)
Better rainbowing, thanks to @SaurusX and @Zarxrax on Doom9.
Usage
dcpp_preset(clip C, string "preset", float "dots", float "rainbow", bool "showpreset", bool "showargs", float "threads")
@ preset - choices:
"mild" - minimal effect
"medium" - softer chroma; a little added noise
"heavy" - very soft & noisy
"strong" - like medium but more so
"bigdot1" - larger dots #1
"bigdot2" - larger dots #2
"bigdot3" - larger dots #3
"betacam" - Analog formats - Betacam
empty string ("") defaults to "medium";
unrecognized values raise an error.
@ dots - dotcrawl effect amount
(default depends on preset)
@ rainbow - rainbow effect amount
(default depends on preset)
@ rb_strength - rainbow effect mask strength
(default 17)
@ cblur - chroma blur amount
(default depends on preset)
@ lblur - luma blur amount
(default depends on preset)
@ showpreset - if true, show the preset name as a Subtitle
(default false)
@ showargs - if true, show the arguments as a Subtitle
(default false)
@ threads - cpu threads you want to use
(default 4)
dotcrawlplusplus(clip C, int "dotstyle", float "dotblend", float "dotscale", int "dotleak", int "csub", float "cblur", float "lblur", int "lnoise", int "cnoise", float "streaking", float "rainbow", bool "showargs", float "threads")
@ dotstyle - dots style (0..2; default 0)
@ dotblend - dots opacity (default 1.0)
@ dotscale - scale of dot crawl (1..4; default 1; >2 is ugly)
@ dotleak - allow some dot crawl everywhere
(0-255; default 0; 32 is just visble; >64 is extreme)
@ csub - default 2 (1=betacam; 2=VHS)
@ cblur - default 0.3 (0.0=no added blur; 0.5=VHS)
@ lblur - default 0.3
@ lnoise - default 4 (0=bypass; 2=subliminal; 22-33=VHS)
@ cnoise - default 4 (0=bypass; 2=subliminal; 33=VHS)
@ streaking - default 0.0 (1.0=extreme horizontal streaking)
@ rainbow - rainbow effect opacity (default 0.2)
@ rb_strength - rainbow effect mask strength (default 17)
@ showargs - if true, show the arguments as a Subtitle
@ threads - cpu threads you want to use (default 4)
dcpp_halo(clip C, float "bright_halo", float "dark_halo")
@ bright_halo - bright halo intensity (default 0.4)
@ dark_halo - dark halo intensity (default 0.5)
Any feedback and user contributions is greatly appreciated.
From the original script's thread:
Inspired by recently reading the Avisynth gone wrong thread here, and spurred on by a question on another forum (Betacam/betacam Sp Effect For Virtualdub?), I give you dotcrawlplus, an Avisynth dot crawl effect. For convenience, it can blur the chroma and add noise at the same time. There's a wrapper function with a few named presets, or you can set all the options directly.
It's not terribly elegant. I'm sure the effect could be refined. It's intended for use as a quick special effect for a music video or whatnot; it's not a very good composite video emulator. You are not going to fool an expert with it. (I suggest a hardware solution for a perfect emulation)
Source Code (https://github.com/rgm89git/DotCrawlPlusPlus)
https://github.com/rgm89git/DotCrawlPlusPlus/releases/latest
A modernization of DotCrawlPlus, an filter that emulates analog artifacts.
Original by @raffriff42 (original thread (https://forum.doom9.org/showthread.php?t=170433))
Demos
Colorbars w/ Overscan Borders
https://user-images.githubusercontent.com/40833244/173113179-746995d3-2b87-497a-a36f-7cf81ccc8ce6.png
ColorBars(pixel_type="YV12")
Amplify(0)
Spline64Resize(640,480)
AddBorders(6,0,6,0)
Spline64Resize(640,480)
sharpen(.5)
blur(1)
dcpp_preset("betacam",threads=4)
Test Charts w/ Overscan Borders (credits to belle-nuit.com (https://www.belle-nuit.com/test-chart))
https://user-images.githubusercontent.com/40833244/173119438-d406115a-b9ab-4a8b-99cf-9029392b009a.png
ImageSource("testchartntsc.tif")
ConvertToYV12()
Spline64Resize(640,480)
AddBorders(6,0,6,0)
Spline64Resize(640,480)
sharpen(.5)
blur(1)
dcpp_preset("betacam",threads=4)
Requisites
Plugins needed:
MaskTools (https://github.com/pinterf/masktools/releases)
AddGrainC (https://github.com/pinterf/AddGrainC/releases)
FFT3DFilter (https://github.com/pinterf/fft3dfilter/releases)
GRunT (https://github.com/pinterf/GRunT/releases)
TEMmod (https://github.com/Asd-g/TEMmod/releases)
Improvements
(Version 0.2.0 - 07/09/2022)
First license (GPL-3.0)
New HALO simulation function. Thanks again to @SaurusX. Credits to @Dogway for the LumaMask function.
Update to rainbow: the new rb_strength value (for altering the rainbow mask strength).
(Version 0.1.0 - 06/10/2022)
Better rainbowing, thanks to @SaurusX and @Zarxrax on Doom9.
Usage
dcpp_preset(clip C, string "preset", float "dots", float "rainbow", bool "showpreset", bool "showargs", float "threads")
@ preset - choices:
"mild" - minimal effect
"medium" - softer chroma; a little added noise
"heavy" - very soft & noisy
"strong" - like medium but more so
"bigdot1" - larger dots #1
"bigdot2" - larger dots #2
"bigdot3" - larger dots #3
"betacam" - Analog formats - Betacam
empty string ("") defaults to "medium";
unrecognized values raise an error.
@ dots - dotcrawl effect amount
(default depends on preset)
@ rainbow - rainbow effect amount
(default depends on preset)
@ rb_strength - rainbow effect mask strength
(default 17)
@ cblur - chroma blur amount
(default depends on preset)
@ lblur - luma blur amount
(default depends on preset)
@ showpreset - if true, show the preset name as a Subtitle
(default false)
@ showargs - if true, show the arguments as a Subtitle
(default false)
@ threads - cpu threads you want to use
(default 4)
dotcrawlplusplus(clip C, int "dotstyle", float "dotblend", float "dotscale", int "dotleak", int "csub", float "cblur", float "lblur", int "lnoise", int "cnoise", float "streaking", float "rainbow", bool "showargs", float "threads")
@ dotstyle - dots style (0..2; default 0)
@ dotblend - dots opacity (default 1.0)
@ dotscale - scale of dot crawl (1..4; default 1; >2 is ugly)
@ dotleak - allow some dot crawl everywhere
(0-255; default 0; 32 is just visble; >64 is extreme)
@ csub - default 2 (1=betacam; 2=VHS)
@ cblur - default 0.3 (0.0=no added blur; 0.5=VHS)
@ lblur - default 0.3
@ lnoise - default 4 (0=bypass; 2=subliminal; 22-33=VHS)
@ cnoise - default 4 (0=bypass; 2=subliminal; 33=VHS)
@ streaking - default 0.0 (1.0=extreme horizontal streaking)
@ rainbow - rainbow effect opacity (default 0.2)
@ rb_strength - rainbow effect mask strength (default 17)
@ showargs - if true, show the arguments as a Subtitle
@ threads - cpu threads you want to use (default 4)
dcpp_halo(clip C, float "bright_halo", float "dark_halo")
@ bright_halo - bright halo intensity (default 0.4)
@ dark_halo - dark halo intensity (default 0.5)
Any feedback and user contributions is greatly appreciated.
From the original script's thread:
Inspired by recently reading the Avisynth gone wrong thread here, and spurred on by a question on another forum (Betacam/betacam Sp Effect For Virtualdub?), I give you dotcrawlplus, an Avisynth dot crawl effect. For convenience, it can blur the chroma and add noise at the same time. There's a wrapper function with a few named presets, or you can set all the options directly.
It's not terribly elegant. I'm sure the effect could be refined. It's intended for use as a quick special effect for a music video or whatnot; it's not a very good composite video emulator. You are not going to fool an expert with it. (I suggest a hardware solution for a perfect emulation)
Source Code (https://github.com/rgm89git/DotCrawlPlusPlus)