Skip to content

Oscilloscope

Video Single output Transform

2D Video Oscilloscope.

FFmpeg filter: oscilloscope — 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 Oscilloscope());
$result = $node->outputs()[0];

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

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

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
xfloat0.501set scope x position
yfloat0.501set scope y position
sfloat0.801set scope size
tfloat0.501set scope tilt
ofloat0.801set trace opacity
txfloat0.501set trace x position
tyfloat0.901set trace y position
twfloat0.80.11set trace width
thfloat0.30.11set trace height
cint7015set components to trace
gbooltruedraw trace grid
stbooltruedraw statistics
scbooltruedraw scope

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