Skip to content

Estdif

Video Single output Transform

Apply Edge Slope Tracing deinterlace.

FFmpeg filter: estdif — the official reference.

Add it to a graph. The explicit form works for every filter — bind it to its input and read the result from outputs():

$node = $video->addFilter(new Estdif());
$result = $node->outputs()[0];

Shorthand. Single-output filters can skip the node — apply() returns the result stream directly:

$result = $video->apply(new Estdif());

TODO — when this filter shines: what it’s the right tool for, what to reach for instead when it isn’t, and how it composes with neighbouring filters.

TODO — prose: how the filter actually works and what its key parameters mean (the explanation FFmpeg’s terse option help omits).

TODO — runnable PHP, with the equivalent ffmpeg CLI alongside.

TODO

TODO

ParameterTypeDefaultRange / valuesDescription
modeEstdifModefieldframe, fieldspecify the mode
parityEstdifParityautotff, bff, autospecify the assumed picture field parity
deintEstdifDeintallall, interlacedspecify which frames to deinterlace
rslopeint1115specify the search radius for edge slope tracing
redgeint2015specify the search radius for best edge matching
ecostint2050specify the edge cost for edge matching
mcostint1050specify the middle cost for edge matching
dcostint1050specify the distance cost for edge matching
interpEstdifInterp4p2p, 4p, 6pspecify the type of interpolation

Maps to FFmpeg’s estdif filter. Verified against ffmpeg n7.1.1.

An Artisan Build project.

Built on FFmpeg — an independent binding, not affiliated with or endorsed by the FFmpeg project. Support FFmpeg.