FFmpeg 7.1
Since* 4.0
#

Generate video using an OpenCL program.

source

OpenCL program source file.

kernel

Kernel name in program.

size, s

Size of frames to generate. This must be set.

format

Pixel format to use for the generated frames. This must be set.

rate, r

Number of frames generated every second. Default value is ’25’.

For details of how the program loading works, see the program_opencl filter.

Example programs: