Freescale / gstreamer-imx

GStreamer 1.0 plugins for i.MX platforms
Other
184 stars 127 forks source link

Gstreamer Incompatible version? Using 1.16.3, sees 1.20 #321

Closed dieseld23 closed 1 year ago

dieseld23 commented 1 year ago

Compiled everything using gstreamer 1.16:

Version: 1.2.2 Source dir: /home/dan/gstreamer-imx/gstreamer-imx Build dir: /home/dan/gstreamer-imx/build Build type: cross build Project name: gstreamer-imx Project version: 2.2.0 C compiler for the host machine: /opt/OSELAS.Toolchain-2013.12.3/arm-cortexa9-linux-gnueabi/gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-cortexa9-linux-gnueabi-gcc (gcc 4.8.3 "arm-cortexa9-linux-gnueabi-gcc (OSELAS.Toolchain-2013.12.3 linaro-4.8-2013.11) 4.8.3 20131111 (prerelease)") C linker for the host machine: /opt/OSELAS.Toolchain-2013.12.3/arm-cortexa9-linux-gnueabi/gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-cortexa9-linux-gnueabi-gcc ld.bfd 2.24 C compiler for the build machine: cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0") C linker for the build machine: cc ld.bfd 2.38 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm Target machine cpu family: arm Target machine cpu: arm Message: Setting up build configuration for gstreamer-imx version 2.2.0 Library dl found: YES Library m found: YES Found pkg-config: /usr/bin/pkg-config (0.29.2) Run-time dependency libimxdmabuffer found: YES 1.1.3 Checking if "dma-heap allocator support" with dependency libimxdmabuffer compiles: NO Message: libimxdmabuffer does not support dma-heap allocation - not enabling dma-heap GstAllocator Checking if "ION allocator support" with dependency libimxdmabuffer compiles: NO Message: libimxdmabuffer does not support ION allocation - not enabling ION GstAllocator Run-time dependency gstreamer-1.0 found: YES 1.16.3 Run-time dependency gstreamer-base-1.0 found: YES 1.16.3 Run-time dependency gstreamer-allocators-1.0 found: YES 1.16.3 Run-time dependency gstreamer-audio-1.0 found: YES 1.16.3 Run-time dependency gstreamer-video-1.0 found: YES 1.16.3 Message: found gstaudio library - building audio plugins Message: found gstvideo library - building video plugins Message: Using sysroot from command line argument: "/opt/OSELAS.Toolchain-2013.12.3/arm-cortexa9-linux-gnueabi/gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-arm-cortexa9-linux-gnueabi" Has header "g2d.h" : YES Library g2d found: YES Fetching value of define "G2D_VERSION_MAJOR" : 1 Fetching value of define "G2D_VERSION_MINOR" : 1 Fetching value of define "G2D_VERSION_PATCH" : 0 Message: G2D version: 1.1.0 Checking if "G2D Amphion tile layout support" with dependency -lg2d compiles: NO Checking if "G2D Amphion 10-bit tile layout support" with dependency -lg2d compiles: NO Checking if "G2D Amphion interlaced tile layout support" with dependency -lg2d compiles: NO Checking if "G2D colorimetry support" with dependency -lg2d compiles: NO Checking if "G2D full range colorimetry support" with dependency -lg2d compiles: NO Message: G2D implementation is not based on the i.MX8qm / i.MX8qxp DPU Message: G2D implementation is too old and not based on DPU; restricting calls to one thread Message: imx2d G2D backend enabled Message: Looking for IPU headers in path "/opt/OSELAS.Toolchain-2013.12.3/arm-cortexa9-linux-gnueabi/gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-arm-cortexa9-linux-gnueabi/kernel-headers/include" Check usable header "linux/ipu.h" : YES Message: imx2d IPU backend enabled Message: Looking for PxP headers in path "/opt/OSELAS.Toolchain-2013.12.3/arm-cortexa9-linux-gnueabi/gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-arm-cortexa9-linux-gnueabi/kernel-headers/include" Check usable header "linux/pxp_device.h" : NO Check usable header "imx/linux/pxp_device.h" : NO Message: imx2d PxP backend disabled due to missing PxP dependency Run-time dependency libimxvpuapi2 found: YES 2.3.0 Message: Found installed imxvpuapi library - VPU elements will be built Dependency libfslaudiocodec skipped: feature uniaudiodec disabled Message: Installed fslaudiocodec library not found, or user disabled uniaudiodec element compilation - uniaudio decoder will not be built Library _mp3_enc_arm12_elinux skipped: feature mp3encoder disabled Message: Installed _mp3_enc_arm12_elinux library not found, or user disabled mp3encoder element compilation - mp3 encoder will not be built Message: imx2d compositor elements enabled Message: imx2d videosink elements enabled Message: mxc_v4l2 Video4Linux2 source and sink elements enabled Message: i.MX8 ISI Video4Linux2 mem2mem transform element disabled Message: Amphion Malone Video4Linux2 mem2mem decoder element disabled Configuring config.h using configuration Build targets in project: 9

After install, the imx plugins dont load and I get this with gst_debug=4 gst-inspect-1.0 {file}

0x211b0 WARN GST_PLUGIN_LOADING gstplugin.c:487:gst_plugin_register_func: plugin "/usr/lib/gstreamer-1.0/libgstimxv4l2video.so" has incompatible version (plugin: 1.20, gst: 1,16), not loading

I have these that are blacklisted:

root@ghiimx6:/usr/bin gst-inspect-1.0 -b Blacklisted files: libgstimxv4l2video.so libgstimxaudio.so libgstimxvpu.so libgstimx2d.so libgstdirectfb.so

Any ideas what is going on? It shows under the meson build that it sees gstreamer 1.16. I removed gstreamer1.0-dev from my build system just in case and still is doing the same.

dieseld23 commented 1 year ago

turns out the gstreamer1.0-dev package on the system was still interfering. Fixed now