How to enable MJPEG encoding with i.mx6 VPU and Linux mainline kernel

cancel
Showing results for 
Search instead for 
Did you mean: 

How to enable MJPEG encoding with i.mx6 VPU and Linux mainline kernel

511 Views
bogens
Contributor I

Hi all,

we're using a i.MX6q together with a Linux mainline kernel and the CODA kernel module, which works quite well to encode Video with a gstreamer chain

The question is now, how could we enable the mjpeg encoding feature of the VPU in this setup?

Labels (3)
0 Kudos
2 Replies

425 Views
bogens
Contributor I

Hi Bio_TICFSL,

unfortunately there is no vpudec gstreamer element available. Is this related to the gstreamer-imx ? As far as I know the gstreamer-imx elememts require the NXP kernel and they are not compatible to the mainline kernel. Beside this I need the VPU support for encoding.

Do you know if there is a mainline kernel compatible gstreamer element available which uses the VPU for mjpeg encoding?

Thanks in advance

0 Kudos

425 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello M B,

Try using vpudec, which is a hardware decoder:

 

gst-launch v4l2src ! vpudec ! mfw_v4lsink

Regards

0 Kudos