What I don’t understand, is where meson come in? since the only previous command i did were:
/cerbero-uninstalled bootstrap
./cerbero-uninstalled package gstreamer-1.0
Up till now I used the cerbero and it worked fine, until I reached a point when trying to test the Embeddded risc h264 encoder/decoder resides inside the Intel chip processor (called VAAPI) where it found mismatch version between the gst-lauch-1.0 utulity and the plugin.
I will try the meson build next week and keep you informed
You can build Intel driver with your gstreamer version.
Be aware that it can be very messy. It is better to install your build separately at a specific location. I installed the build under /opt/gstreamer on Linux. The reason is that other apps may still need the old gstreamer and driver.
Q1: Is there any advantage to compile the Intel driver from the github?
Q2: I assume that the VAAPI which is the intel driver and plugin already exists in the GSTREAM TREE, is that correct?
Q3: I managed to get started with the VAAPI generated from gstream source, but vasink did not generate, what is the reason?
Q4: Which folder contains the implementation for the Intel hw accelerator in GSTREAM?
It is getting complicated to build gstreamer from source using meson
It has dependency requirement for GLIB 2.78 (which i build also from source) but the gstreamer could not find it, and thus failed the build
“undefined symbol: g_task_set_static_name” (see below)
Following are the commands :
export SOURCE_DIR=/home/user/Install/meson/gstreamer
export BUILD_DIR=/home/user/Install/meson/build-gstreamer
export INSTALL_DIR=/opt/gstreamer
export GLIB_INSTALL=$HOME/.local
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2986/4095] Compiling C++ object subprojects/gst-plugins-bad/sys/nvcodec/libgstnvcodec.so.p/gstcudaconverter.cpp.o
../gstreamer/subprojects/gst-plugins-bad/sys/nvcodec/gstcudaconverter.cpp: In function ‘gboolean gst_cuda_converter_setup(GstCudaConverter*)’:
../gstreamer/subprojects/gst-plugins-bad/sys/nvcodec/gstcudaconverter.cpp:1386:45: warning: ‘border_color’ may be used uninitialized [-Wmaybe-uninitialized]
1386 | priv->const_buf->border_w = border_color[3];
../gstreamer/subprojects/gst-plugins-bad/sys/nvcodec/gstcudaconverter.cpp:1094:11: note: ‘border_color’ declared here
1094 | gdouble border_color[4];