Everyframe · TypeScript SDK reference

video: frame filters

Video to Video filters backed by FFmpeg, plus ONNX model filters like upscale, denoise and colorize. Methods on a VideoStream, e.g. scale({ w: 1920, h: 1080 }).

@jtdigital/renderbox-sdk on npm →

alphaextract

FFmpeg
Video Video
VideoStream.alphaextract(): VideoStream

Extract the alpha channel as a grayscale video

autoEnhance

ONNX
Video Video
VideoStream.autoEnhance(opts: AutoEnhanceOpts): VideoStream

Auto-enhance video quality using deep learning model

Param Type Description
model required string
strength number
Range: [0, 1]

backgroundkey

FFmpeg
Video Video
VideoStream.backgroundkey(opts?: BackgroundkeyOpts): VideoStream

Key out a static background into transparency

Param Type Description
threshold number
similarity number
blend number

bilateral

FFmpeg
Video Video
VideoStream.bilateral(opts?: BilateralOpts): VideoStream

Edge-preserving bilateral smoothing

Param Type Description
sigmaS number
sigmaR number
planes number

blackdetect

FFmpeg
Video Video
VideoStream.blackdetect(opts?: BlackdetectOpts): VideoStream

Detect intervals of near-black video

Param Type Description
d number
pix_th number
pic_th number

bm3d

FFmpeg
Video Video
VideoStream.bm3d(opts?: Bm3dOpts): VideoStream

BM3D denoising: high quality, slow

Param Type Description
sigma number
block number
bstep number
group number
range number
mstep number
thmse number
hdthr number
estim 'basic' | 'final'

boxblur

FFmpeg
Video Video
VideoStream.boxblur(opts?: BoxblurOpts): VideoStream

Fast box blur

Param Type Description
luma_radius string
chroma_radius string
luma_power number
chroma_power number

cas

FFmpeg
Video Video
VideoStream.cas(opts?: CasOpts): VideoStream

Contrast-adaptive sharpening

Param Type Description
strength number
Range: [0, 1]
planes number

chromakey

FFmpeg
Video Video
VideoStream.chromakey(opts: ChromakeyOpts): VideoStream

Green-screen keying on a chroma color

Param Type Description
color required string
similarity number
Range: [0, 1]
blend number
Range: [0, 1]

colorbalance

FFmpeg
Video Video
VideoStream.colorbalance(opts?: ColorbalanceOpts): VideoStream

Adjust shadows/midtones/highlights color balance

Param Type Description
rs number
gs number
bs number
rm number
gm number
bm number
rh number
gh number
bh number

colorchannelmixer

FFmpeg
Video Video
VideoStream.colorchannelmixer(opts?: ColorchannelmixerOpts): VideoStream

Remix RGBA channels with a matrix

Param Type Description
rr number
rg number
rb number
ra number
gr number
gg number
gb number
ga number
br number
bg number
bb number
ba number
ar number
ag number
ab number
aa number

colorCorrect

ONNX
Video Video
VideoStream.colorCorrect(opts: ColorCorrectOpts): VideoStream

Correct color cast and white balance using deep learning model

Param Type Description
model required string
strength number
Range: [0, 1]

colorgrade

FFmpeg
Video Video
VideoStream.colorgrade(opts?: ColorgradeOpts): VideoStream

Apply color grading LUT

Param Type Description
lut string

colorhold

FFmpeg
Video Video
VideoStream.colorhold(opts: ColorholdOpts): VideoStream

Desaturate everything except a chosen color

Param Type Description
color required string
similarity number
blend number

colorize

ONNX
Video Video
VideoStream.colorize(opts: ColorizeOpts): VideoStream

Colorize black & white video using a deep learning model (DDColor)

Param Type Description
model required string
saturation number
Range: greater than 0
temporal_stability number
Range: [0, 1]

colorkey

FFmpeg
Video Video
VideoStream.colorkey(opts: ColorkeyOpts): VideoStream

Key out an RGB color into transparency

Param Type Description
color required string
similarity number
Range: [0, 1]
blend number
Range: [0, 1]

colorspace

FFmpeg
Video Video
VideoStream.colorspace(opts?: ColorspaceOpts): VideoStream

Convert between colorspaces (BT.601/709/2020)

Param Type Description
all 'bt470m' | 'bt470bg' | 'bt601-6-525' | 'bt601-6-625' | 'bt709' | 'smpte170m' | 'smpte240m' | 'bt2020'
space string
trc string
primaries string
range 'tv' | 'mpeg' | 'pc' | 'jpeg'
format string
fast number
iall string
ispace string
itrc string
iprimaries string
irange 'tv' | 'mpeg' | 'pc' | 'jpeg'

colortemperature

FFmpeg
Video Video
VideoStream.colortemperature(opts: ColortemperatureOpts): VideoStream

Warm or cool the image by color temperature

Param Type Description
temperature required number

crop

FFmpeg
Video Video
VideoStream.crop(opts?: CropOpts): VideoStream

Crop a rectangular region

Param Type Description
w number | string Crop width (pixels or expression, e.g. 'iw/2').
Range: greater than 0
h number | string Crop height (pixels or expression).
Range: greater than 0
x number | string Left edge of the crop; centered when omitted.
y number | string Top edge of the crop; centered when omitted.

curves

FFmpeg
Video Video
VideoStream.curves(opts: CurvesOpts): VideoStream

Tone curves per channel, with photo-style presets

Param Type Description
preset required 'none' | 'color_negative' | 'cross_process' | 'darker' | 'increase_contrast' | 'lighter' | 'linear_contrast' | 'medium_contrast' | 'negative' | 'strong_contrast' | 'vintage'

deband

FFmpeg
Video Video
VideoStream.deband(opts?: DebandOpts): VideoStream

Remove banding artifacts from gradients

Param Type Description
1thr number
range number
blur boolean

deblock

FFmpeg
Video Video
VideoStream.deblock(opts?: DeblockOpts): VideoStream

Remove blocking artifacts

Param Type Description
strong boolean

deblur

ONNX
Video Video
VideoStream.deblur(opts: DeblurOpts): VideoStream

Remove motion/defocus blur using deep learning model

Param Type Description
model required string
strength number
Range: [0, 1]

deflicker

FFmpeg
Video Video
VideoStream.deflicker(opts?: DeflickerOpts): VideoStream

Remove temporal luminance variations

Param Type Description
size number
mode string

deinterlace

ONNX
Video Video
VideoStream.deinterlace(opts: DeinterlaceOpts): VideoStream

Deinterlace video using deep learning model

Param Type Description
model required string

denoise

ONNX
Video Video
VideoStream.denoise(opts: DenoiseOpts): VideoStream

Denoise video using deep learning model

Param Type Description
model required string
strength number
Range: [0, 1]

denoiseHqdn3d

FFmpeg
Video Video
VideoStream.denoiseHqdn3d(opts?: DenoiseHqdn3dOpts): VideoStream

Reduce video noise (FFmpeg hqdn3d)

Param Type Description
strength number

deshake

FFmpeg
Video Video
VideoStream.deshake(opts?: DeshakeOpts): VideoStream

Single-pass camera shake stabilization

Param Type Description
rx number
ry number

dilation

FFmpeg
Video Video
VideoStream.dilation(opts?: DilationOpts): VideoStream

Morphological dilation (grow bright regions)

Param Type Description
threshold0 number
threshold1 number
threshold2 number
threshold3 number
coordinates number

drawbox

FFmpeg
Video Video
VideoStream.drawbox(opts?: DrawboxOpts): VideoStream

Draw a rectangle outline or fill

Param Type Description
x number | string
y number | string
w number | string
h number | string
color string
t string
enable string

drawgrid

FFmpeg
Video Video
VideoStream.drawgrid(opts?: DrawgridOpts): VideoStream

Draw a grid over the frame

Param Type Description
x string
y string
w string
h string
color string
t string
replace number

drawtext

FFmpeg
Video Video
VideoStream.drawtext(opts?: DrawtextOpts): VideoStream

Render text onto the frame

Param Type Description
text string Literal text to draw (supports FFmpeg expansion).
textfile string Read the text from a file instead.
fontfile string Path to a font file.
fontsize number | string Font size in pixels (or expression).
fontcolor string Text color (name or #rrggbb).
x number | string Horizontal position (pixels or expression, e.g. '(w-text_w)/2').
y number | string Vertical position (pixels or expression).
align 'top-left' | 'top' | 'top-right' | 'left' | 'center' | 'right' | 'bottom-left' | 'bottom' | 'bottom-right'
box number
boxcolor string Background box color; drawn when set.
boxborderw number
borderw number Text border width in pixels.
shadowcolor string Drop-shadow color.
shadowx number Shadow x offset.
shadowy number Shadow y offset.
alpha number | string Text opacity.
font string Font family name (fontconfig lookup).
line_spacing number Extra spacing between lines in pixels.
enable string Timeline expression controlling when the text is visible.
expansion 'none' | 'normal' | 'strftime' How the text string is expanded.

edgedetect

FFmpeg
Video Video
VideoStream.edgedetect(opts?: EdgedetectOpts): VideoStream

Edge detection (Canny) visualization

Param Type Description
low number
high number
mode 'wires' | 'colormix' | 'canny'

eq

FFmpeg
Video Video
VideoStream.eq(opts?: EqOpts): VideoStream

Brightness / contrast / saturation / gamma adjustment

Param Type Description
brightness number Additive brightness.
Range: [-1, 1]
contrast number Contrast multiplier.
Range: [-1000, 1000]
saturation number Saturation multiplier.
Range: [0, 3]
gamma number Gamma correction.
Range: [0.1, 10]

erosion

FFmpeg
Video Video
VideoStream.erosion(opts?: ErosionOpts): VideoStream

Morphological erosion (shrink bright regions)

Param Type Description
threshold0 number
threshold1 number
threshold2 number
threshold3 number
coordinates number

fade

FFmpeg
Video Video
VideoStream.fade(opts: FadeOpts): VideoStream

Fade the video in or out

Param Type Description
type required 'in' | 'out' Fade direction.
st number Start time in seconds.
Range: at least 0
d number Fade duration in seconds.
Range: greater than 0
color string Color faded to/from (default black).
alpha number Fade only the alpha channel.

fillborders

FFmpeg
Video Video
VideoStream.fillborders(opts?: FillbordersOpts): VideoStream

Fill frame borders with a color or mirror

Param Type Description
left number
right number
top number
bottom number
mode 'smear' | 'mirror' | 'fixed' | 'reflect' | 'wrap' | 'fade' | 'margins'
color string

format

FFmpeg
Video Video
VideoStream.format(opts: FormatOpts): VideoStream

Convert pixel format

Param Type Description
pix_fmts required string

fps

FFmpeg
Video Video
VideoStream.fps(opts: FpsOpts): VideoStream

Change video frame rate

Param Type Description
fps required number
Range: greater than 0

frameInterpolate

ONNX
Video Video
VideoStream.frameInterpolate(opts: FrameInterpolateOpts): VideoStream

Interpolate frames using optical flow model

Param Type Description
model required string
factor number
Range: greater than 0

framestep

FFmpeg
Video Video
VideoStream.framestep(opts: FramestepOpts): VideoStream

Keep every Nth frame

Param Type Description
step required number
Range: at least 1

freezedetect

FFmpeg
Video Video
VideoStream.freezedetect(opts?: FreezedetectOpts): VideoStream

Detect frozen (static) video intervals

Param Type Description
noise number
duration number

gblur

FFmpeg
Video Video
VideoStream.gblur(opts: GblurOpts): VideoStream

Gaussian blur

Param Type Description
sigma required number Blur strength (standard deviation).
Range: greater than 0

geq

FFmpeg
Video Video
VideoStream.geq(opts?: GeqOpts): VideoStream

Per-pixel generic equation filter

Param Type Description
r string
g string
b string
a string
lum_expr string

hflip

FFmpeg
Video Video
VideoStream.hflip(): VideoStream

Flip horizontally

histogram

FFmpeg
Video Video
VideoStream.histogram(opts?: HistogramOpts): VideoStream

Render the color histogram as video

Param Type Description
level_height number
display_mode 'stack' | 'parade' | 'overlay'
levels_mode 'logarithmic' | 'linear'

hqdn3d

FFmpeg
Video Video
VideoStream.hqdn3d(opts?: Hqdn3dOpts): VideoStream

High-quality 3D denoiser (spatial + temporal)

Param Type Description
luma_spatial number
chroma_spatial number
luma_tmp number
chroma_tmp number

hue

FFmpeg
Video Video
VideoStream.hue(opts?: HueOpts): VideoStream

Rotate hue and adjust saturation

Param Type Description
h number | string
s number | string
b number | string

hwdownload

FFmpeg
Video Video
VideoStream.hwdownload(): VideoStream

Download frames from GPU memory to system memory

hwupload

FFmpeg
Video Video
VideoStream.hwupload(): VideoStream

Upload frames from system memory to GPU memory

hwuploadCuda

FFmpeg
Video Video
VideoStream.hwuploadCuda(): VideoStream

Upload frames to CUDA GPU memory

lagfun

FFmpeg
Video Video
VideoStream.lagfun(opts?: LagfunOpts): VideoStream

Slowly decay darker pixels: light-trail effect

Param Type Description
decay number
planes number

lenscorrection

FFmpeg
Video Video
VideoStream.lenscorrection(opts?: LenscorrectionOpts): VideoStream

Correct radial lens distortion

Param Type Description
cx number
cy number
k1 number
k2 number
i 'nearest' | 'bilinear'

loop

FFmpeg
Video Video
VideoStream.loop(opts: LoopOpts): VideoStream

Loop a range of frames

Param Type Description
loop required number
size number
start number

lut1d

FFmpeg
Video Video
VideoStream.lut1d(opts: Lut1dOpts): VideoStream

Apply a 1D color lookup table file

Param Type Description
file required string

lut3d

FFmpeg
Video Video
VideoStream.lut3d(opts: Lut3dOpts): VideoStream

Apply a 3D LUT file (.cube) for color grading

Param Type Description
file required string

minterpolate

FFmpeg
Video Video
VideoStream.minterpolate(opts?: MinterpolateOpts): VideoStream

Motion-interpolated frame rate conversion

Param Type Description
fps number
mi_mode 'dup' | 'blend' | 'mci'
mc_mode 'obmc' | 'aobmc'
me_mode 'bidir' | 'bilat'
me 'esa' | 'tss' | 'tdls' | 'ntss' | 'fss' | 'ds' | 'hexbs' | 'epzs' | 'umh'
mb_size number
search_param number
scd 'none' | 'fdiff'
scd_threshold number

motionRedact

OpenCV
Video Video
VideoStream.motionRedact(opts?: MotionRedactOpts): VideoStream

Redact everything that moves against the static background (motion-completeness privacy mask)

Param Type Description
mode 'black' | 'blur' | 'pixelate'
radius number
Range: greater than 0
sensitivity number
Range: [1, 255]
decay_secs number
Range: greater than 0
dilate_px number
Range: at least 0
warmup_secs number
Range: at least 0
learning_rate number
Range: [0, 1]
fps number
Range: greater than 0

mpdecimate

FFmpeg
Video Video
VideoStream.mpdecimate(opts?: MpdecimateOpts): VideoStream

Drop near-duplicate frames

Param Type Description
max number
lo number
hi number
frac number

negate

FFmpeg
Video Video
VideoStream.negate(opts?: NegateOpts): VideoStream

Invert colors

Param Type Description
negate number
alpha number

nlmeans

FFmpeg
Video Video
VideoStream.nlmeans(opts?: NlmeansOpts): VideoStream

Non-local means denoising

Param Type Description
s number

noise

FFmpeg
Video Video
VideoStream.noise(opts?: NoiseOpts): VideoStream

Add film-grain style noise

Param Type Description
alls number
Range: [0, 100]
allf string
seed number

pad

FFmpeg
Video Video
VideoStream.pad(opts?: PadOpts): VideoStream

Pad the frame to a larger canvas

Param Type Description
w number | string
Range: greater than 0
h number | string
Range: greater than 0
x number | string
y number | string
align 'top-left' | 'top' | 'top-right' | 'left' | 'center' | 'right' | 'bottom-left' | 'bottom' | 'bottom-right'
color string

palettegen

FFmpeg
Video Video
VideoStream.palettegen(opts?: PalettegenOpts): VideoStream

Generate an optimized palette (GIF pipeline)

Param Type Description
max_colors number
reserve_transparent number
stats_mode 'full' | 'diff' | 'single'

paletteuse

FFmpeg
Video Video
VideoStream.paletteuse(opts?: PaletteuseOpts): VideoStream

Map video to a palette (GIF pipeline)

Param Type Description
dither 'bayer' | 'heckbert' | 'floyd_steinberg' | 'sierra2' | 'sierra2_4a' | 'sierra3' | 'burkes' | 'atkinson' | 'none'
bayer_scale number
diff_mode 'rectangle' | 'none'
new number

perspective

FFmpeg
Video Video
VideoStream.perspective(opts?: PerspectiveOpts): VideoStream

Perspective-correct by remapping corner points

Param Type Description
x0 string
y0 string
x1 string
y1 string
x2 string
y2 string
x3 string
y3 string
interpolation 'linear' | 'cubic'
sense 'source' | 'destination'

photosensitivity

FFmpeg
Video Video
VideoStream.photosensitivity(opts?: PhotosensitivityOpts): VideoStream

Reduce flashing that can trigger photosensitivity

Param Type Description
threshold number
frames number
skip number

pseudocolor

FFmpeg
Video Video
VideoStream.pseudocolor(opts?: PseudocolorOpts): VideoStream

Map grayscale values through a color ramp

Param Type Description
preset string
c0 string
c1 string
c2 string
c3 string
index number
opacity number

psnr

FFmpeg
Video Video
VideoStream.psnr(opts?: PsnrOpts): VideoStream

Measure PSNR against a reference stream

Param Type Description
stats_file string

redactTracks

OpenCV
Video Video
VideoStream.redactTracks(opts: RedactTracksOpts): VideoStream

Redact keyframe-tracked regions (reviewed tracks, no detection)

Param Type Description
tracks required string

resize

FFmpeg
Video Video
VideoStream.resize(opts: ResizeOpts): VideoStream

Resize video

Param Type Description
w required number
h required number

reverse

FFmpeg
Video Video
VideoStream.reverse(): VideoStream

Reverse the video (buffers all frames)

rgbashift

FFmpeg
Video Video
VideoStream.rgbashift(opts?: RgbashiftOpts): VideoStream

Shift RGBA channels independently: glitch effect

Param Type Description
rh number
rv number
gh number
gv number
bh number
bv number
ah number
av number
edge 'smear' | 'wrap'
enable string

rotate

FFmpeg
Video Video
VideoStream.rotate(opts?: RotateOpts): VideoStream

Rotate by an arbitrary angle

Param Type Description
angle number | string
a number | string
fillcolor string
bilinear number

scale

FFmpeg
Video Video
VideoStream.scale(opts: ScaleOpts): VideoStream

Scale video dimensions

Param Type Description
w required number Target width in pixels.
h required number Target height in pixels.
force_original_aspect_ratio string 'decrease' or 'increase' to fit/fill while keeping aspect.
flags string Scaler algorithm, e.g. 'lanczos', 'bicubic'.

scaleCuda

FFmpeg
Video Video
VideoStream.scaleCuda(opts?: ScaleCudaOpts): VideoStream

GPU-accelerated scaling on CUDA frames

Param Type Description
w string
h string
interp_algo 'nearest' | 'bilinear' | 'bicubic' | 'lanczos'

select

FFmpeg
Video Video
VideoStream.select(opts: SelectOpts): VideoStream

Keep frames matching an expression

Param Type Description
expr required string

selectivecolor

FFmpeg
Video Video
VideoStream.selectivecolor(opts?: SelectivecolorOpts): VideoStream

CMYK-style adjustments within color ranges

Param Type Description
correction_method 'absolute' | 'relative'
reds string
yellows string
greens string
cyans string
blues string
magentas string
whites string
neutrals string
blacks string

sendcmd

FFmpeg
Video Video
VideoStream.sendcmd(opts?: SendcmdOpts): VideoStream

Send timed commands to other filters

Param Type Description
filename string
commands string

setdar

FFmpeg
Video Video
VideoStream.setdar(opts: SetdarOpts): VideoStream

Set display aspect ratio metadata

Param Type Description
dar required string

setpts

FFmpeg
Video Video
VideoStream.setpts(opts: SetptsOpts): VideoStream

Set presentation timestamps

Param Type Description
expr required string

setsar

FFmpeg
Video Video
VideoStream.setsar(opts: SetsarOpts): VideoStream

Set sample aspect ratio

Param Type Description
sar required string

ssim

FFmpeg
Video Video
VideoStream.ssim(opts?: SsimOpts): VideoStream

Measure SSIM against a reference stream

Param Type Description
stats_file string

subtitles

FFmpeg
Video Video
VideoStream.subtitles(opts: SubtitlesOpts): VideoStream

Burn a subtitle file (SRT/ASS) into the frames

Param Type Description
filename required string
fontsdir string
force_style string
charenc string
stream_index number

tblend

FFmpeg
Video Video
VideoStream.tblend(opts?: TblendOpts): VideoStream

Blend consecutive frames: motion-blur style effects

Param Type Description
all_mode string
all_opacity number
all_expr string

thumbnail

FFmpeg
Video Video
VideoStream.thumbnail(opts?: ThumbnailOpts): VideoStream

Pick the most representative frame of every batch

Param Type Description
n number

tile

FFmpeg
Video Video
VideoStream.tile(opts?: TileOpts): VideoStream

Tile several frames into one mosaic frame

Param Type Description
layout string
nb_frames number
padding number
margin number
color string

tmix

FFmpeg
Video Video
VideoStream.tmix(opts?: TmixOpts): VideoStream

Average N consecutive frames

Param Type Description
frames number
weights string
scale number
planes number

tpad

FFmpeg
Video Video
VideoStream.tpad(opts?: TpadOpts): VideoStream

Pad the stream in time with cloned or blank frames

Param Type Description
start number
stop number
start_mode 'add' | 'clone'
stop_mode 'add' | 'clone'
start_duration number
stop_duration number
color string

transpose

FFmpeg
Video Video
VideoStream.transpose(opts: TransposeOpts): VideoStream

Rotate by 90° steps and/or flip

Param Type Description
dir required number
Range: [0, 3]

trim

FFmpeg
Video Video
VideoStream.trim(opts?: TrimOpts): VideoStream

Keep only the frames between start and end

Param Type Description
start number Keep from this timestamp (seconds).
Range: at least 0
end number Keep until this timestamp (seconds).
Range: greater than 0

unsharp

FFmpeg
Video Video
VideoStream.unsharp(opts?: UnsharpOpts): VideoStream

Sharpen (or soften) with an unsharp mask

Param Type Description
luma_msize_x number
luma_msize_y number
luma_amount number

upscale

ONNX
Video Video
VideoStream.upscale(opts: UpscaleOpts): VideoStream

Upscale video using super-resolution model

Param Type Description
model required string Super-resolution model id (e.g. 'realesrgan-x4').
scale number Upscale factor.
Range: greater than 0
tileSize number Tile size for VRAM-bounded inference.
Range: greater than 0

v360

FFmpeg
Video Video
VideoStream.v360(opts?: V360Opts): VideoStream

Convert between 360° video projections

Param Type Description
input string
output string
interp string
w number
h number
yaw number
pitch number
roll number
d_fov number
id_fov number
h_flip boolean
v_flip boolean
in_stereo string
out_stereo string

vectorscope

FFmpeg
Video Video
VideoStream.vectorscope(opts?: VectorscopeOpts): VideoStream

Render a chroma vectorscope as video

Param Type Description
mode 'gray' | 'tint' | 'color' | 'color2' | 'color3' | 'color4' | 'color5'
intensity number
envelope number

vflip

FFmpeg
Video Video
VideoStream.vflip(): VideoStream

Flip vertically

vidstab

FFmpeg
Video Video
VideoStream.vidstab(opts?: VidstabOpts): VideoStream

Video stabilization

Param Type Description
shakiness number
smoothing number

vidstabdetect

FFmpeg
Video Video
VideoStream.vidstabdetect(opts?: VidstabdetectOpts): VideoStream

Stabilization pass 1: analyze camera motion

Param Type Description
shakiness number
accuracy number
stepsize number
mincontrast number
result string

vidstabtransform

FFmpeg
Video Video
VideoStream.vidstabtransform(opts?: VidstabtransformOpts): VideoStream

Stabilization pass 2: apply smoothed transforms

Param Type Description
input string
smoothing number
optalgo 'opt' | 'gauss' | 'avg'
maxshift number
maxangle number
crop 'keep' | 'black'
zoom number
optzoom number
interpol 'no' | 'linear' | 'bilinear' | 'bicubic'

vignette

FFmpeg
Video Video
VideoStream.vignette(opts?: VignetteOpts): VideoStream

Darken the frame edges

Param Type Description
angle number
Range: [0, 1.5707963267948966]

waveform

FFmpeg
Video Video
VideoStream.waveform(opts?: WaveformOpts): VideoStream

Render a luma waveform monitor as video

Param Type Description
mode 'row' | 'column' | 'color' | 'color2' | 'acolor'
intensity number
mirror number

yadif

FFmpeg
Video Video
VideoStream.yadif(): VideoStream

Deinterlace (yet another deinterlacing filter)

zoompan

FFmpeg
Video Video
VideoStream.zoompan(opts: ZoompanOpts): VideoStream

Ken Burns zoom and pan over frames

Param Type Description
z string Zoom expression per output frame (e.g. 'zoom+0.001').
x string Pan x expression.
y string Pan y expression.
d required number Output frames rendered per input frame.
fps number Output frame rate.
s string Output size, e.g. '1920x1080'.