Gstreamer IMX8MP jpeg decoder and encoder with VPU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Gstreamer IMX8MP jpeg decoder and encoder with VPU

885 Views
thepnimit
Contributor III

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

thepnimit_0-1682075088934.png

 

I would like to know how to modify package gstreamer to support jpeg decoder and encoder using VPU

Regards

Tags (1)
0 Kudos
2 Replies

875 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

You can modify:

https://github.com/Freescale/gstreamer-imx

but the VPU comes in binary form.

Regards

0 Kudos

867 Views
thepnimit
Contributor III

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

0 Kudos