license: GPL
Colorize
(clip, color=0xa28a65, scale=false)
requires YUV
Posterize
(clip, pbits=8)
requires YUV/RGB
Sepia
(clip, color=0xa28a65, mode="triangular") # default values gives the Sepia effect
requires YUV
Technicolor
(clip, channel="R") # default values gives technicolor effect
requires RGB
Colorize
provides the ability to convert a video to a monochrome video based on a selectable
color. For example, the old-style brown photograph look can be easily obtained, or grayscale clips can be made to look a bit more interesting.
The scale = false uses the luma of the source clip, and scale
= true scales the clip by "luma of source clip / 240" (bright objects
stay bright, and dark objects get darker).
Posterize
just chops down the bit depth of the video. It reduces
the number of colors while maintaining a resemblance of the original image characteristics.
The pbits setting determines the amount of chopping. pbits
= 8 means no chopping, and pbits = 0 means chopping everything
resulting in a black clip.
Sepia
gives the sepia effect resulting in a monochrome video
based on a selectable color. It does so by appling color to mid-tones
(mode="triangular"), or high-tones (mode="linear").
The luma is copied from the source clip. The default values produce the
"true" sepia effect.
Technicolor
is a two color process that uses red and cyan as opposed to red, green, blue. So to get this effect,
the green and blue level is set to cyan. The channel option indicates
what color should be kept: 'G' sets the red and blue levels to magenta, 'B' sets
the R and G channels to yellow. The
default values produce the "true" technicolor effect.
Some sepia like effects using the Sepia
and Colorize
filters:
![]() |
![]() |
original | Sepia() |
![]() |
![]() |
Sepia(mode="linear") | Colorize() |
![]() |
|
Colorize(scale=true) |
Some other examples:
![]() |
![]() |
original | Sepia(color=$dda359) # R221 G163 B89 |
![]() |
![]() |
Colorize() | Colorize(color=$dda359) # R221 G163 B89 (which is the color of the sand in the original picture) |
Some technicolor like effects:
![]() |
![]() |
original | Technicolor() |
Some posterize effects:
![]() |
![]() |
original (= Posterize(8)) | Posterize(3) |
![]() |
|
Posterize(2) |
v1.3, 7th September 2005
v1.2, 22nd July 2005