Gstreamer IMX8MP jpeg decoder and encoder with VPU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Gstreamer IMX8MP jpeg decoder and encoder with VPU

1,041 次查看
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

标记 (1)
0 项奖励
回复
2 回复数

1,031 次查看
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 项奖励
回复

1,023 次查看
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 项奖励
回复