videoFilters(filters)

Class: MediaPlayer.

Description:

Sets video filters to be applied to the video video by FFMPEG. If one of preset filters is not enough, feel free to set a custom filter (any ffmpeg video filter that is compatible with -vf option).

Parameters:

Name Type Description

filters

VideoFilters | null

A VideoFilters object. Check out VideoFilters type definition for details. Set to null to clear previously set video filters.

Returns:

Returns this MediaPlayer instance for chaining.

Type: MediaPlayer

Also See: