Skip to content

AviSynthPlus plugin

TianZerL edited this page Jun 30, 2020 · 13 revisions

Quick start

#Anime4KCPP supports RGB24 and YUV 8bit(YUV444, YUV422, YUV420 for ACNet, YUV444 for Anime4K09) input

FFVideoSource("Your video path").Anime4KCPP(GPUMode=true,zoomFactor=2,ACNet=true,HDN =true)

Install

Download the Anime4KCPP_AviSynthPlus_plugin package or build it from source, copy all the dll files to your plugins64+ folder of AviSynthPlus+, that's it!

Functions

listGPUs()

This function will list the available platform IDs and device IDs by throwing an error, you can use them to specify the GPU for processing.

Anime4KCPP(src, passes, pushColorCount, strengthColor, strengthGradient, zoomFactor, ACNet, GPUMode, platformID, deviceID)

This is the main function of Anime4KCPP, please notice that Anime4KCPP supports RGB24 and YUV 8bit(YUV444, YUV422, YUV420 for ACNet, YUV444 for Anime4K09) input.

parameters: description (type [=default])

  • passes: Passes for processing (int [=2])
  • pushColorCount: Limit the number of color pushes, make sure the edge won't be too thin (int [=2])
  • strengthColor: Strength for pushing color,range 0 to 1,higher for thinner (double [=0.3])
  • strengthGradient: Strength for pushing gradient,range 0 to 1,higher for sharper (double [=1])
  • zoomFactor: upscaling ratio for resizing (double [=1])
  • ACNet: Enable ACNet (bool [=false])
  • GPUMode: Enable GPU acceleration (bool [=false])
  • HDN: Enable HDN mode for ACNet (bool [=false])
  • platformID, deviceID: For specifying the GPU (int [=0])
Clone this wiki locally