Dear nxp,
I have board IMX8MP processor and I found the problem like this thread
Re: IMX8MP and accellerated jpeg decoder - NXP Community
After I compiled and use linux-imx 5.15 and try to use gstreamer with packge gstreamer1.0-plugins-imx, libimxvpuapi2
It found error after test
gst-launch-1.0 -e -v multifilesrc location=/root/temp/image%04d.jpg start-index=0 stop-index=100 loop=true \
caps="image/jpeg,framerate=\(fraction\)1/1" \
! jpegparse \
! imxvpudec_jpeg \
! fakesink
OMX JPEG ! HantroHwDecOmx_decoder_create_jpeg JpegDecInit error openmax_il/source/decoder/codec_jpeg.c:1045
In that thread NXP TechSupport replied this
I would like to know how to modify package gstreamer to support jpeg decoder and encoder using VPU
Regards
Hello,
You can modify:
https://github.com/Freescale/gstreamer-imx
but the VPU comes in binary form.
Regards
Thanks for your reply,
Do you have suggestion or example code for gstreamer to send image/jpeg to process decode with VPU on IMX8MP?
Regards
Thepnimit