FFmpeg Sepia Filter Using Colorchannelmixer

This guide explains how to apply a vintage sepia tone effect to your videos using FFmpeg’s powerful colorchannelmixer filter. By adjusting the red, green, and blue channel contributions, you can easily transform modern footage into a classic, warm-toned film style. You will find the exact FFmpeg command, the standard sepia formula parameters, and a breakdown of how the filter works.

The FFmpeg Sepia Command

To apply the sepia effect, run the following command in your terminal:

ffmpeg -i input.mp4 -vf "colorchannelmixer=rr=0.393:rg=0.769:rb=0.189:gr=0.349:gg=0.686:gb=0.168:br=0.272:bg=0.534:bb=0.131" -c:a copy output.mp4

How the Filter Works

The colorchannelmixer filter allows you to recalculate the color of every pixel by mixing the input Red, Green, and Blue (RGB) channels.

The configuration uses the standard matrix values for a sepia transformation:

Command Breakdown