On 12/03/18 00:22, Mark Thompson wrote: > On 11/03/18 23:59, Rostislav Pehlivanov wrote: >> On 11 March 2018 at 22:41, Mark Thompson <s...@jkqxz.net> wrote: >> >>> Also use that to support mapping VAAPI to Beignet. >>> --- >>> configure | 16 +-- >>> libavutil/hwcontext_opencl.c | 264 +++++++++++++++++++++--------- >>> ------------- >>> 2 files changed, 138 insertions(+), 142 deletions(-) >>> >>> ... >>> >> >> Doesn't seem to work, at least on my machine: >> DRM frame layer 0 plane 0 is not representable in OpenCL: -22 > > What driver and input/output formats are you using? What are the versions of > all the relevant components, so I can maybe try to reproduce it? (beignet, > i965, libva, mesa, libdrm, .. others?)
Fixed in discussion on IRC - BGR0 from kmsgrab is not a valid format for OpenCL because of the padding, using BGRA instead works. - Mark _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel