Login  Register

Can't find vaapih264dec in Gstreamer-vaapi 1.10.2

classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Can't find vaapih264dec in Gstreamer-vaapi 1.10.2

kuky丶s
2 posts
gstreamer-vaapi-1.10.2\gst\vaapi\gstvaapi.c

static gboolean plugin_init (GstPlugin * plugin)
{

  GstVaapiDisplay *display;
  GArray *decoders;

  plugin_add_dependencies (plugin);


  display = gst_vaapi_create_test_display ();
  if (!display)
    goto error_no_display;
...
}

in this function ,display return -1 ,so i can't create vaapi element,why?

i build in bananpi m1+.

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Can't find vaapih264dec in Gstreamer-vaapi 1.10.2

Victor Jaquez
183 posts
On 01/07/17 at 01:15am, kuky丶s wrote:

> gstreamer-vaapi-1.10.2\gst\vaapi\gstvaapi.c
>
> static gboolean plugin_init (GstPlugin * plugin)
> {
>
>   GstVaapiDisplay *display;
>   GArray *decoders;
>
>   plugin_add_dependencies (plugin);
>
>
>   display = gst_vaapi_create_test_display ();
>   if (!display)
>     goto error_no_display;
> ...
> }
>
> in this function ,display return -1 ,so i can't create vaapi element,why?
>
> i build in bananpi m1+.

I suspect that the banana pi m1+ does not have VA-API support. If I understand
correctly, it is an ARM board and I am not aware of any VA-API drivers for ARM
SoCs. Perhaps you should take a look to the v4l2 decoders.

vmjl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Can't find vaapih264dec in Gstreamer-vaapi 1.10.2

kuky丶s
2 posts
This post was updated on Jan 09, 2017; 2:48am.
  http://forum.lemaker.org/thread-10992-1-1-_copy_this_link_to_quote_.html,
  it's work,
 i find it's vaapi version is 0.7 ,it's doesn't have  gst_vaapi_create_test_display () function, so it can work well  
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: Can't find vaapih264dec in Gstreamer-vaapi 1.10.2

Victor Jaquez
183 posts
On 01/08/17 at 06:42pm, kuky丶s wrote:
>   http://forum.lemaker.org/thread-10992-1-1-_copy_this_link_to_quote_.html,
>   it's work,
>  i find it's vaapi version is 0.7 ,it's doesn't have
> gst_vaapi_create_test_display () function, so , i'm not sure .

I see!

That's so convoluted: basically it is using a vdpau wrapper for the cedar
driver in allwinner chips, and above that the deprecated vaapi-vdpau bridge,
and above gstreamer-vaapi.

We have blacklisted the vaapi-vdpau bridge because it is unmaintained and it
is reported that it is not working in several platforms.

If you want to force its usage, you should export the environment variable
GST_VAAPI_ALL_DRIVERS=1, but you are on your own.

vmjl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel