Cellauto
Video Single output Source
Create pattern generated by an elementary cellular automaton.
FFmpeg filter:
cellauto— the official reference.
Generate a stream. Cellauto is a source — it has no input, so you create a stream from it rather than applying it to one:
$video = \FFmpeg\VideoStream::generate(new Cellauto(…));apply() and addFilter() do not apply to source filters (there is nothing to attach them to).
When to use it
Section titled “When to use it”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.
How to use it
Section titled “How to use it”TODO — prose: how the filter actually works and what its key parameters mean (the explanation FFmpeg’s terse option help omits).
Examples
Section titled “Examples”TODO — runnable PHP, with the equivalent ffmpeg CLI alongside.
Gotchas
Section titled “Gotchas”TODO
See also
Section titled “See also”TODO
Parameters
Section titled “Parameters”| Parameter | Type | Default | Range / values | Description |
|---|---|---|---|---|
filename | string | — | — | read initial pattern from file |
pattern | string | — | — | set initial pattern |
rate | string | 25 | — | set video rate |
size | string | — | — | set video size |
rule | int | 110 | 0–255 | set rule |
random_fill_ratio | float | 0.61803398874989 | 0–1 | set fill ratio for filling initial grid randomly |
random_seed | int | -1 | ≥ -1 | set the seed for filling the initial grid randomly |
scroll | bool | true | — | scroll pattern downward |
start_full | bool | false | — | start filling the whole video |
stitch | bool | true | — | stitch boundaries |
FFmpeg also names these options (use the parameter shown above): f → filename, p → pattern, r → rate, s → size, ratio → random_fill_ratio, seed → random_seed, full → start_full.
Maps to FFmpeg’s cellauto 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.