Problems compiling VA-API in GStreamer 1.18

Victor Jaquez vjaquez at igalia.com
Mon Oct 19 09:45:16 UTC 2020


On Mon, 19 Oct 2020 at 03:11, peter12 wrote:
> I have installed in my ubuntu (https://github.com/GStreamer/gst-build).
> 
> In this way, I am able to enter into a development environment of Gstreamer
> 1.18 running the following command
> 
> ```
> ninja -C builddir devenv
> ```

If you are using gst-build, without 'worktrees', then you're using master branch
of all gstreamer repositories. Thus...

> However, I would like to compile the plugin VA-API with the aim to use it in
> that version of Gstreamer. 
> I download the package
> (http://www.linuxfromscratch.org/blfs/view/svn/multimedia/gstreamer10-vaapi.html),
> I unzip it and I execute the next commands in the terminal to install it:

if you're trying to compile a gstreamer-vaapi tarball of a certain version, say
1.18, then a version mismatch will happen, as it follows:

> 
> ```
> mkdir build &&
> cd    build &&
> 
> meson  --prefix=/usr       \
>        -Dbuildtype=release \
>        -Dpackage-origin=http://www.linuxfromscratch.org/blfs/view/svn/ &&
> ninja
> 
> ```
> The problem is that I get the following error :
> 
> gstreamer-vaapi 1.18.0
> 
>   Subprojects
>     gst-plugins-base: NO Subproject directory not found and
> gst-plugins-base.wrap file not found
>               libdrm: NO Subproject directory not found and libdrm.wrap file
> not found
> 
> I have compiled the gst-build in another directory, and inside it is located
> the subprojects directory. So how could I tell the terminal to find in that
> path and install in that directory?

Gstreamer-vaapi is part of gstreamer, all the modules have to have the same
version.

If you are using gst-build, you can just enable it:

cd ~/gst-build
meson -Dvaapi=enable build
ninja -C build


More information about the gstreamer-devel mailing list