SoC: MX8QMEVK
Yocto: warrior 4.19
root@imx8qmmek:/usr/lib/gstreamer-1.0# uname -a
Linux imx8qmmek 4.19.35+ #2 SMP PREEMPT Mon Oct 19 23:10:49 PDT 2020 aarch64 aarch64 aarch64 GNU/Linux
command to build image:
DISTRO=fsl-imx-xwayland MACHINE=imx8qmmek source fsl-setup-release.sh -b build-xwayland
bitbake imx-image-multimedia
The built library libgstvideo4linux2.so has related sysmbols:
jie@ubuntu:~/imx8_yocto_bsp/build-xwayland/tmp/work/aarch64-mx8-poky-linux/gstreamer1.0-plugins-good/1.16.0.imx-r0/image/usr/lib/gstreamer-1.0$ nm libgstvideo4linux2.so | grep h264
000000000002f960 t gst_v4l2_h264_enc_class_intern_init
000000000005c038 b gst_v4l2_h264_enc_debug
00000000000301d0 t gst_v4l2_h264_enc_get_property
00000000000301d8 t gst_v4l2_h264_enc_get_type
000000000002f910 t gst_v4l2_h264_enc_get_type_once
000000000002f908 t gst_v4l2_h264_enc_init
0000000000030278 t gst_v4l2_h264_enc_register
000000000002f900 t gst_v4l2_h264_enc_set_property
0000000000030240 t gst_v4l2_is_h264_enc
However, after flashing this rootfs image to the EV board:
root@imx8qmmek:/usr/lib/gstreamer-1.0# gst-inspect-1.0 | grep 264
videoparsersbad: h264parse: H.264 parser
rtp: rtph264depay: RTP H264 depayloader
rtp: rtph264pay: RTP H264 payloader
typefindfunctions: video/x-h264: h264, x264, 264
uvch264: uvch264mjpgdemux: UVC H264 MJPG Demuxer
uvch264: uvch264src: UVC H264 Source
There is no v4l2h264enc / v4l2h264dec plugins.
How to build and install v4l2h264enc / v4l2h264dec plugins to MX8QM EVK rootfs?
Am I missing anything?
Hi RobbieJiang
one can try to follow sect.5.2 Choosing an i.MX Yocto project image (imx-image-multimedia,
imx-image-full) Yocto Guide included in Documentation
or test with Demo Image i.MX 8QuadMax MEK
All documentation
Best regards
igor