Hi igorpadykov
First, thanks for you help and your time :smileyhappy:
I am working with Prakash and he have not enough time for trying to fix this issue, so I will try.
I did what you asked, I build L4.19.35.
And same issue (but it is perhaps not an issue ...) plugin imxcompositor return 0 features, and it is not in plugin list Table 15. i.MX GStreamer 1.0 plugins, but imxcompositor_g2d, imxcompositor_ipu, imxcompositor_pxp are not available.
In documentation they use version is 1.14.4 but version 1.16 is builded in bsp
We would like to compose/merge multi video source to one video. Exactly like is presented in i.MX_Linux_User's_Guide 7.3.1.6.3Multiple videos overlay
But imxcompositor, or overlaysink is not present. Same thing for imxcompositor_g2d, imxcompositor_ipu, imxcompositor_pxp.
Can you tell us how to do ? Which plugin should be used?
Thanks for your help
Best Regards,
Cedric T
More info :
I try some basic command which is working :
gst-launch-1.0 playbin uri=file:///tmp/a/video/a.mp4
gst-launch-1.0 playbin uri=file:///tmp/a/video/a.mp4 videosink="waylandsink"
gst-launch-1.0 filesrc location=/tmp/a/video/c.mp4 ! decodebin ! glimagesink render-rectangle="<0,0,500,700>"
If I try to launch multime same command with different video, with wayland I can not set render-rectangle position
If I shutdown waylandsink and glimagesink, The video is horrible when I am playing more than one.
Some details :
Plugin Details:
Name imxcompositor
Description IMX Video Composition Plugins
Filename /usr/lib/gstreamer-1.0/libgstimxcompositor.so
Version 4.5.1
License LGPL
Source module imx-gst1.0-plugin
Binary package Freescle Gstreamer Multimedia Plugins
Origin URL http://www.freescale.com
0 features:
Build config and command :
cth@cth:~/workspace/iot/nxp/imx-linux-warrior/build$ cat conf/local.conf
MACHINE ??= 'imx8mqevk'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
IMAGE_FSTYPES = "wic.bmap wic ext4"
#WKS_FILE := "ewv-100.wks.in"
#SOC_DEFAULT_WKS_FILE_mx8 := "ewv-100.wks.in"
IMAGE_BOOT_FILES="Image fsl-imx8mq-evk.dtb"
CORE_IMAGE_EXTRA_INSTALL_append = " imx-test"
CORE_IMAGE_EXTRA_INSTALL_append = " ewv-100-boot-script"
IMAGE_BOOT_FILES="Image fsl-imx8mq-evk.dtb boot.scr"
Build command : bitbake imx-image-multimedia
On the board :
root@imx8mqevk:~# uname -a
Linux imx8mqevk 4.19.35-1.1.0+g0f9917c56d59 #1 SMP PREEMPT Tue Mar 31 05:33:10 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
root@imx8mqevk:~# lsmod
Module Size Used by
8021q 36864 0
garp 16384 1 8021q
stp 16384 1 garp
mrp 20480 1 8021q
crc32_ce 16384 8
crct10dif_ce 16384 0
galcore 491520 28