2.1.8
Filters
Audio
Video
Sinks
Audio
Video
Sources
Audio
Multimedia
Video
7.1
7.0.2
6.1.2
6.0.1
5.1.6
5.0.3
4.4.5
4.3.8
4.2.10
4.1.11
4.0.6
3.4.13
3.3.9
3.2.19
3.1.11
3.0.12
2.8.22
2.7.7
2.6.9
2.5.11
2.4.14
2.3.6
2.2.16
2.0.7
1.2.12
1.1.16
1.0.10
0.11.5
0.10.16
0.9.4
0.8.15
0.7.17
Audio
aconvert
Convert the input audio format to the specified formats.
adelay
Delay one or more audio channels.
aecho
Apply echoing to the input audio.
afade
Apply fade-in/out effect to input audio.
aformat
Set output format constraints for the input audio.
allpass
Apply a two-pole all-pass filter with central frequency (in Hz) frequency, and filter-width width.
amerge
Merge two or more audio streams into a single multi-channel stream.
amix
Mixes multiple audio inputs into a single output.
anull
Pass the audio source unchanged to the output.
apad
Pad the end of a audio stream with silence, this can be used together with -shortest to extend audio streams to the same length as the video stream.
aphaser
Add a phasing effect to the input audio.
aresample
Resample the input audio to the specified parameters, using the libswresample library.
asetnsamples
Set the number of samples per each output audio frame.
asetrate
Set the sample rate without altering the PCM data.
ashowinfo
Show a line containing various information for each input audio frame.
astats
Display time domain statistical information about the audio channels.
astreamsync
Forward two audio streams and control the order the buffers are forwarded.
asyncts
Synchronize audio data with timestamps by squeezing/stretching it and/or dropping samples/adding silence when needed.
atempo
Adjust audio tempo.
atrim
Trim the input so that the output contains one continuous subpart of the input.
bandpass
Apply a two-pole Butterworth band-pass filter with central frequency frequency, and (3dB-point) band-width width.
bandreject
Apply a two-pole Butterworth band-reject filter with central frequency frequency, and (3dB-point) band-width width.
bass
Boost or cut the bass (lower) frequencies of the audio using a two-pole shelving filter with a response similar to that of a standard hi-fi’s tone-controls.
biquad
Apply a biquad IIR filter with the given coefficients.
channelmap
Remap input channels to new locations.
channelsplit
Split each channel in input audio stream into a separate output stream.
compand
Compress or expand audio dynamic range.
earwax
Make audio easier to listen to on headphones.
equalizer
Apply a two-pole peaking equalisation (EQ) filter.
highpass
Apply a high-pass filter with 3dB point frequency.
join
Join multiple input streams into one multi-channel stream.
ladspa
Load a LADSPA (Linux Audio Developer’s Simple Plugin API) plugin.
lowpass
Apply a low-pass filter with 3dB point frequency.
pan
Mix channels with specific gain levels.
replaygain
ReplayGain scanner filter.
resample
Convert the audio sample format, sample rate and channel layout.
silencedetect
Detect silence in an audio stream.
treble
Boost or cut treble (upper) frequencies of the audio using a two-pole shelving filter with a response similar to that of a standard hi-fi’s tone-controls.
volume
Adjust the input audio volume.
volumedetect
Detect the volume of the input video.
Video
alphaextract
Extract the alpha component from the input as a grayscale video.
alphamerge
Add or replace the alpha component of the primary input with the grayscale value of a second input.
ass
Same as the subtitles filter, except that it doesn’t require libavcodec and libavformat to work.
bbox
Compute the bounding box for the non-black pixels in the input frame luminance plane.
blackdetect
Detect video intervals that are (almost) completely black.
blackframe
Detect frames that are (almost) completely black.
blend
Blend two video frames into each other.
boxblur
Apply boxblur algorithm to the input video.
colorbalance
Modify intensity of primary colors (red, green and blue) of input frames.
colorchannelmixer
Adjust video input frames by re-mixing color channels.
colormatrix
Convert color matrix.
copy
Copy the input source unchanged to the output.
crop
Crop the input video to given dimensions.
cropdetect
Auto-detect crop size.
curves
Apply color adjustments using curves.
dctdnoiz
Denoise frames using 2D DCT (frequency domain filtering).
decimate
Drop duplicated frames at regular intervals.
delogo
Suppress a TV station logo by a simple interpolation of the surrounding pixels.
deshake
Attempt to fix small changes in horizontal and/or vertical shift.
drawbox
Draw a colored box on the input image.
drawgrid
Draw a grid on the input image.
drawtext
Draw text string or text from specified file on top of video using the libfreetype library.
edgedetect
Detect and draw edges.
extractplanes
Extract color channel components from input video stream into separate grayscale video streams.
fade
Apply fade-in/out effect to input video.
field
Extract a single field from an interlaced image using stride arithmetic to avoid wasting CPU time.
fieldmatch
Field matching filter for inverse telecine.
fieldorder
Transform the field order of the input video.
fifo
Buffer input images and send them when they are requested.
format
Convert the input video to one of the specified pixel formats.
fps
Convert the video to specified constant frame rate by duplicating or dropping frames as necessary.
framestep
Select one frame every N-th frame.
frei0r
Apply a frei0r effect to the input video.
geq
The filter accepts the following options: .
gradfun
Fix the banding artifacts that are sometimes introduced into nearly flat regions by truncation to 8bit color depth.
haldclut
Apply a Hald CLUT to a video stream.
hflip
Flip the input video horizontally.
histeq
This filter applies a global color histogram equalization on a per-frame basis.
histogram
Compute and draw a color distribution histogram for the input video.
hqdn3d
High precision/quality 3d denoise filter.
hue
Modify the hue and/or the saturation of the input.
idet
Detect video interlacing type.
il
Deinterleave or interleave fields.
interlace
Simple interlacing filter from progressive contents.
kerndeint
Deinterlace input video by applying Donald Graft’s adaptive kernel deinterling.
lut3d
Apply a 3D LUT to an input video.
lut
Compute a look-up table for binding each pixel component input value to an output value, and apply it to input video.
lutrgb
Compute a look-up table for binding each pixel component input value to an output value, and apply it to input video.
lutyuv
Compute a look-up table for binding each pixel component input value to an output value, and apply it to input video.
mergeplanes
Merge color channel components from several video streams.
mcdeint
Apply motion-compensation deinterlacing.
mp
Apply an MPlayer filter to the input video.
mpdecimate
Drop frames that do not differ greatly from the previous frame in order to reduce frame rate.
negate
Negate input video.
noformat
Force libavfilter not to use any of the specified pixel formats for the input to the next filter.
noise
Add noise on video input frame.
null
Pass the video source unchanged to the output.
ocv
Apply video transform using libopencv.
overlay
Overlay one video on top of another.
owdenoise
Apply Overcomplete Wavelet denoiser.
pad
Add paddings to the input image, and place the original input at the given coordinates x, y.
perspective
Correct perspective of video not recorded perpendicular to the screen.
phase
Delay interlaced video by one field time so that the field order changes.
pixdesctest
Pixel format descriptor test filter, mainly useful for internal testing.
pp
Enable the specified chain of postprocessing subfilters using libpostproc.
psnr
Obtain the average, maximum and minimum PSNR (Peak Signal to Noise Ratio) between two input videos.
pullup
Pulldown reversal (inverse telecine) filter, capable of handling mixed hard-telecine, 24000/1001 fps progressive, and 30000/1001 fps progressive content.
removelogo
Suppress a TV station logo, using an image file to determine which pixels comprise the logo.
rotate
Rotate video by an arbitrary angle expressed in radians.
sab
Apply Shape Adaptive Blur.
scale
Scale (resize) the input video, using the libswscale library.
separatefields
The separatefields takes a frame-based video input and splits each frame into its components fields, producing a new half height clip with twice the frame rate and twice the frame count.
setdar
The setdar filter sets the Display Aspect Ratio for the filter
output video.
setsar
The setsar filter sets the Sample (aka Pixel) Aspect Ratio for
the filter output video.
setfield
Force field for the output video frame.
showinfo
Show a line containing various information for each input video frame.
smartblur
Blur the input video without impacting the outlines.
stereo3d
Convert between different stereoscopic image formats.
spp
Apply a simple postprocessing filter that compresses and decompresses the image at several (or - in the case of quality level 6 - all) shifts and average the results.
subtitles
Draw subtitles on top of input video using the libass library.
super2xsai
Scale the input by 2x and smooth using the Super2xSaI (Scale and Interpolate) pixel art scaling algorithm.
swapuv
Swap U & V plane.
telecine
Apply telecine process to the video.
thumbnail
Select the most representative frame in a given sequence of consecutive frames.
tile
Tile several successive frames together.
tinterlace
Perform various types of temporal field interlacing.
transpose
Transpose rows with columns in the input video and optionally flip it.
trim
Trim the input so that the output contains one continuous subpart of the input.
unsharp
Sharpen or blur the input video.
vidstabdetect
Analyze video stabilization/deshaking.
vidstabtransform
Video stabilization/deshaking: pass 2 of 2, see vidstabdetect for pass 1.
vflip
Flip the input video vertically.
vignette
Make or reverse a natural vignetting effect.
w3fdif
Deinterlace the input video ("w3fdif" stands for "Weston 3 Field Deinterlacing Filter").
yadif
Deinterlace the input video ("yadif" means "yet another deinterlacing filter").