2.7.7
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.6.9
2.5.11
2.4.14
2.3.6
2.2.16
2.1.8
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
adelay
Delay one or more audio channels.
aecho
Apply echoing to the input audio.
aeval
Modify an audio signal according to the specified expressions.
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 an audio stream with silence.
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.
bs2b
Bauer stereo to binaural transformation, which improves headphone listening of stereo audio records.
channelmap
Remap input channels to new locations.
channelsplit
Split each channel from an input audio stream into a separate output stream.
chorus
Add a chorus effect to the audio.
compand
Compress or expand the audio’s dynamic range.
dcshift
Apply a DC shift to the audio.
earwax
Make audio easier to listen to on headphones.
equalizer
Apply a two-pole peaking equalisation (EQ) filter.
flanger
Apply a flanging effect to the audio.
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.
silenceremove
Remove silence from the beginning, middle or end of the audio.
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
The blend filter takes two input streams and outputs one
stream, the first input is the "top" layer and second input is
"bottom" layer.
tblend
The tblend (time blend) filter takes two consecutive frames
from one single stream, and outputs the result obtained by blending
the new frame on top of the old frame.
boxblur
Apply a boxblur algorithm to the input video.
codecview
Visualize information exported by some codecs.
colorbalance
Modify intensity of primary colors (red, green and blue) of input frames.
colorlevels
Adjust video input frames using levels.
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 the crop size.
curves
Apply color adjustments using curves.
dctdnoiz
Denoise frames using 2D DCT (frequency domain filtering).
decimate
Drop duplicated frames at regular intervals.
dejudder
Remove judder produced by partially interlaced telecined content.
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.
detelecine
Apply an exact inverse of the telecine operation.
drawbox
Draw a colored box on the input image.
drawgrid
Draw a grid on the input image.
drawtext
Draw a text string or text from a specified file on top of a video, using the libfreetype library.
edgedetect
Detect and draw edges.
eq
Set brightness, contrast, saturation and approximate gamma adjustment.
extractplanes
Extract color channel components from input video stream into separate grayscale video streams.
elbg
Apply a posterize effect using the ELBG (Enhanced LBG) algorithm.
fade
Apply a fade-in/out effect to the input video.
fftfilt
Apply arbitrary expressions to samples in frequency domain .
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.
find_rect
Find a rectangular object .
cover_rect
Cover a rectangular object .
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.
framepack
Pack two different video streams into a stereoscopic video, setting proper metadata on supported codecs.
framestep
Select one frame every N-th frame.
frei0r
Apply a frei0r effect to the input video.
fspp
Apply fast and simple postprocessing.
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
This is a high precision/quality 3d denoise filter.
hqx
Apply a high-quality magnification filter designed for pixel art.
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.
lenscorrection
Correct radial lens distortion .
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 the input video.
lutrgb
Compute a look-up table for binding each pixel component input value to an output value, and apply it to the input video.
lutyuv
Compute a look-up table for binding each pixel component input value to an output value, and apply it to the input video.
mergeplanes
Merge color channel components from several video streams.
mcdeint
Apply motion-compensation deinterlacing.
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 a 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 provided x, y coordinates.
palettegen
Generate one palette for a whole video stream.
paletteuse
Use a palette to downsample an input video stream.
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.
pp7
Apply Postprocessing filter 7.
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.
qp
Change video quantization parameters (QP).
removelogo
Suppress a TV station logo, using an image file to determine which pixels comprise the logo.
repeatfields
This filter uses the repeat_field flag from the Video ES headers and hard repeats fields based on its value.
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.
showpalette
Displays the 256 colors palette of each frame.
shuffleplanes
Reorder and/or duplicate video planes.
signalstats
Evaluate various visual metrics that assist in determining issues associated with the digitization of analog video media.
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.
uspp
Apply ultra slow/simple postprocessing filter that compresses and decompresses the image at several (or - in the case of quality level 8 - all) shifts and average the results.
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").
xbr
Apply the xBR high-quality magnification filter which is designed for pixel art.
yadif
Deinterlace the input video ("yadif" means "yet another deinterlacing filter").
zoompan
Apply Zoom & Pan effect.