[FFmpeg-devel] [PATCH 00/15] OpenCL infrastructure, filters

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Nov 15 00:30:47 EET 2017

2017-11-14 20:47 GMT+01:00 Mark Thompson <sw at jkqxz.net>:

> Silly example using everything (for i965 VAAPI + Beignet):
> ./ffmpeg_g -y -init_hw_device vaapi=va:/dev/dri/renderD128
> -init_hw_device opencl=ocl at va -hwaccel vaapi
> -hwaccel_device va -hwaccel_output_format vaapi -i in.mp4
> -f image2 -r 1 -i overlays/%d.png -an -filter_hw_device ocl
> -filter_complex '[1:v]format=yuva420p,hwupload[x2];
> [0:v]scale_vaapi=1280:720:yuv420p,hwmap[x1];
> [x1][x2]overlay_opencl=0:0,

> program_opencl=test.cl

Is this the equivalent of the vhook functionality?

Carl Eugen

More information about the ffmpeg-devel mailing list