Applying Filters

Yukine provides a way to apply filters video using the SetFilter class, with a Processors object.

Applying Filters Example
vid1 = Source(
    video_input="video.mkv",
    process_methods=[
        SetFilter(
            Processors.denoise(strength=10),
            ranges=[0, 1, 2, 3, 4, 5], # (1)!
        ),
        SetFilter(
            Processors.boxblur(hradius=5, vradius=5)
        ),
    ],
)
  1. Frame Ranges

     You can provide a list of frames to apply the filter to.
     Useful for applying filters to specific scenes.
    

Since process_methods is a list, you can apply multiple filters to the video. The filters will be applied in the order they are in the list.