Skip to content

Signature

Video Single output Transform

Calculate the MPEG-7 video signature

FFmpeg filter: signature — the official reference.

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

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

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

$result = $video->apply(new Signature(), $other);

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
detectmodeSignatureModeoffoff, full, fastset the detectmode
nb_inputsint11number of inputs
filenamestringfilename for output files
formatSignatureFormatbinarybinary, xmlset output format
th_dint90001threshold to detect one word as similar
th_dcint600001threshold to detect all words as similar
th_xhint1161threshold to detect frames as similar
th_diint00minimum length of matching sequence in frames
th_itfloat0.501threshold for relation of good to all frames

Maps to FFmpeg’s signature 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.