FFmpeg 1.1.16
Since* 1.0
#

Modify the hue and/or the saturation of the input.

This filter accepts the following optional named options:

h

Specify the hue angle as a number of degrees. It accepts a float number or an expression, and defaults to 0.0.

H

Specify the hue angle as a number of degrees. It accepts a float number or an expression, and defaults to 0.0.

s

Specify the saturation in the [-10,10] range. It accepts a float number and defaults to 1.0.

The h, H and s parameters are expressions containing the following constants:

n

frame count of the input frame starting from 0

pts

presentation timestamp of the input frame expressed in time base units

r

frame rate of the input video, NAN if the input frame rate is unknown

t

timestamp expressed in seconds, NAN if the input timestamp is unknown

tb

time base of the input video

The options can also be set using the syntax: hue:saturation

In this case hue is expressed in degrees.

Some examples follow:

#

Commands

This filter supports the following command:

reinit

Modify the hue and/or the saturation of the input video. The command accepts the same named options and syntax than when calling the filter from the command-line.

If a parameter is omitted, it is kept at its current value.