I have managed to add quite a few libs and plugins successfully. How to enable
libs gstcodesparsers-1.0, gstandroidmedia and gstopensles? I am not familiar with meson.
trying to add lib gstandroidmedia which needs opengl. But meson set-up shows GL/gl.h can not be found. How to enable opengl?
I added the following options to the meson set-up
-Dgst-plugins-base:gl_api=opengl
-Dgst-plugins-base:gl=enabled
-Dgst-plugins-base:gl_platform=egl
-Dgst-plugins-base:gl_winsys=android
-Dgst-plugins-base:gl-graphene=enabled
-Dgst-plugins-base:gl-jpeg=enabled
-Dgst-plugins-base:gl-png=enabled \
Got the following messages:
gst-plugins-base| Dependency (anonymous) from subproject subprojects/gl-headers found: YES 2019.1.0
gst-plugins-base| Run-time dependency opengl found: NO (tried pkgconfig)
gst-plugins-base| Run-time dependency gl found: NO (tried pkgconfig)
gst-plugins-base| Library GL found: NO
gst-plugins-base| Has header “GL/gl.h” : NO
subprojects/gst-plugins-base/gst-libs/gst/gl/meson.build:349:6: ERROR: Problem encountered: Could not find requested OpenGL library
I looked through gstreamer source code and could not find GL/gl.h
last puzzle:
libav is needed as well. Added -Dlibav=enabled. libav seems to be built into the single dynamic lib. If I remove static libs of libav in my app, video streaming disappears although there are no build errors.