Missing v4l2h264enc plugin on MX8QMEVK/Linux-4.19

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing v4l2h264enc plugin on MX8QMEVK/Linux-4.19

159 Views
RobbieJiang
Contributor IV

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?

0 Kudos
1 Reply

148 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

 

Best regards
igor

0 Kudos