vaapipostproc with BGRx input format

Gwenole Beauchesne gb.devel at gmail.com
Thu Aug 21 00:44:28 PDT 2014


Hi,

2014-08-15 10:02 GMT+02:00 Thomas Scheuermann <scheuermann at barco.com>:
> Hello Gwenole,
>
> Am 12.08.2014 13:27, schrieb Gwenole Beauchesne:
>
>>> >How can I convert from BGRx to NV12 with vaapi elements?
>>
>> I believe there is a mismatch between what the VA driver reports (in
>> terms of format info: endian, location of each component, etc.) and
>> what gst/gst-vaapi parses. You probably want to examine and try things
>> around video-format.c. Or, check out
>> gstvaapiuploader.c::ensure_allowed_caps() to determine why we are
>> filtering out RGB32 formats.
>
> I can see in gst_vaapi_plugin_base_get_input_buffer() that there is the
> following check:
>
>   if (!GST_VIDEO_INFO_IS_YUV (&plugin->sinkpad_info))
>     goto error_invalid_buffer;
>
> So here it fails, if I have an BGRx buffer.

This should now be fixed in the git master branch. Thanks for
reporting the issue and initial insights.

Regards,
-- 
Gwenole Beauchesne
Intel Corporation SAS / 2 rue de Paris, 92196 Meudon Cedex, France
Registration Number (RCS): Nanterre B 302 456 199


More information about the gstreamer-devel mailing list