Failed to build VPU (encoder/decoder) gstreamer plugins on IMX8

cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to build VPU (encoder/decoder) gstreamer plugins on IMX8

57 Views
Contributor IV

I'm trying to build rootfs with imx-gst1.0-plugins with VPU encoder/decoder support on MX8 / Yocto.

"bitbake imx-image-multimedia" cmd complete successfully,

but no vpu encoder / decoder plugins got built.

root@imx8qmmek:~# gst-inspect-1.0 | grep imx
imxcompositor:  imxcompositor_g2d: IMX g2d Video Compositor
imxvideoconvert:  imxvideoconvert_g2d: IMX g2d Video Converter
root@imx8qmmek:~# gst-inspect-1.0 | grep mxc
imxcompositor:  imxcompositor_g2d: IMX g2d Video Compositor
root@imx8qmmek:~# gst-inspect-1.0 | grep vpu
root@imx8qmmek:~# 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
 
 
Even with 'bitbake imx-gst1.0-plugin' cmd, still failed to get VPU encdoer / decoder built.
From the 'config.log' in 'tmp/work/aarch64-mx8-poky-linux/imx-gst1.0-plugin/4.5.1-r0/build',
it seems that some header files are missing...::
 
configure:13027: result: no
configure:13027: checking for hantro_enc/ewl.h
configure:13027: result: no
configure:13050: checking vpu_lib.h usability
configure:13050: aarch64-poky-linux-gcc --sysroot=/home1/jiejiang/imx8_yocto_bsp/build-xwayland/tmp/work/aarch64-mx8-poky-linux/imx-gst1.0-plugin/4.5.1-r0/recipe-sysroot -c -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home1/jiejiang/imx8_yocto_bsp/build-xwayland/tmp/work/aarch64-mx8-poky-linux/imx-gst1.0-plugin/4.5.1-r0=/usr/src/debug/imx-gst1.0-plugin/4.5.1-r0 -fdebug-prefix-map=/home1/jiejiang/imx8_yocto_bsp/build-xwayland/tmp/work/aarch64-mx8-poky-linux/imx-gst1.0-plugin/4.5.1-r0=/usr/src/debug/imx-gst1.0-plugin/4.5.1-r0 -fdebug-prefix-map=/home1/jiejiang/imx8_yocto_bsp/build-xwayland/tmp/work/aarch64-mx8-poky-linux/imx-gst1.0-plugin/4.5.1-r0/recipe-sysroot= -fdebug-prefix-map=/home1/jiejiang/imx8_yocto_bsp/build-xwayland/tmp/work/aarch64-mx8-poky-linux/imx-gst1.0-plugin/4.5.1-r0/recipe-sysroot-native= -I/home1/jiejiang/imx8_yocto_bsp/build-xwayland/tmp/work/aarch64-mx8-poky-linux/imx-gst1.0-plugin/4.5.1-r0/recipe-sysroot/usr/include/imx conftest.c >&5
conftest.c:59:10: fatal error: vpu_lib.h: No such file or directory
...
 
Am I missing any dependency library?
How to fix this problem and get VPU encoder / decoder plugins built?
 
 
0 Kudos
1 Reply

42 Views
NXP TechSupport
NXP TechSupport

what imx8 board and bsp version do you use?

0 Kudos