Skip to content

A modernization of DotCrawlPlus, an filter that emulates analog artifacts.

License

Notifications You must be signed in to change notification settings

rgm89git/DotCrawlPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A modernization of DotCrawlPlus, an filter that emulates analog artifacts.

Release version Downloads Commits Last Commit Doom9 Thread License

Original by: raffriff42

Demos

Colorbars w/ Overscan Borders

Colorbars w/ DotCrawl++

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)

Test Charts w/ Overscan Borders

ImageSource("testchartntsc.tif")
ConvertToYV12()

Spline64Resize(640,480)
AddBorders(6,0,6,0)
Spline64Resize(640,480)

sharpen(.5)
blur(1)

dcpp_preset("betacam",threads=4)

Usage

Choose a preset:

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)

Or use the main function (with your settings):

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)

You can also create halo artifacts:

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)

Requisites

Initial Contributions

  • @SaurusX (Doom9) - (Helping with rainbowing)
  • @zarxrax (Doom9) - (Contributing with rainbowing)

Credits

  • @Dogway (LumaMask - old version)

License

This GitHub repository is licensed under the GNU General Public License v3.0 (GPL3).