Compositing, encoding and streaming using Gstreamer on i.MX6 - maximum resolution and performance capability?

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

Compositing, encoding and streaming using Gstreamer on i.MX6 - maximum resolution and performance capability?

1,069 Views
akshaybudhiraja
Contributor II

Hi,

I want to use the imxg2dcompositor from the gstreamer-imx plugins to composite 2x 720p videos (v4l2 devices) together side-by-side, encode it in h.264 using the imxvpuenc_h264 element and stream it over RTP/UDP.

I am wondering if the i.MX6 is capable to do this without framedrops? I am concerned with the CPU/GPU load and whether the i.MX6 can handle this.

Can anyone with any experience or idea shed any light on its performance capabilities?

Any suggestions are much appreciated.

Thanks!

0 Kudos
3 Replies

628 Views
igorpadykov
NXP Employee
NXP Employee

Hi Akshay

one can look at  gstreamer-imx plugins usage at

Yocto/gstreamer – Gateworks 

https://github.com/Freescale/gstreamer-imx/blob/master/README.md

performance capabilities greatly depends on used processor, available memory

and use case. Just for reference below presentation gives some figures

Q&A: MX6 VPU H.264 Dual Stream Encode Limits | NXP Community 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

628 Views
akshaybudhiraja
Contributor II

Thanks for your response igor. A follow up question, if you don't mind: how do I figure out what frequency the VPU of my i.MX6 board is running at? And if the i.MX6 chip has a GPU, VPU and IPU? Do all i.MX6 chips come with a GPU, VPU and IPU? I couldn't find this information in the datasheet.

The benchmarks you gave were for the i.MX6 VPU and they are certainly very useful. I am wondering if these benchmarks are comparable for the GPU/IPU since the compositing elements rely on the G2D or IPU.

Thanks!

0 Kudos

628 Views
igorpadykov
NXP Employee
NXP Employee

>Do all i.MX6 chips come with a GPU, VPU and IPU? I couldn't find this information in the datasheet.

please check i.MX6DQ Datasheet Table 1. Example Orderable Part Numbers

http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf

i.MX 6 and i.MX 7 Series Comparison Table

http://www.nxp.com/assets/documents/data/en/brochures/FLYRIMXPRDCMPR.pdf 

> And if the i.MX6 chip has a GPU, VPU and IPU?

this is senseless question as there are many "i.MX6" processors:

i.MX6DQ, i.MX6SDL e.t.c. and every has own specifics. In future please clarify

what exact processor you are asking about.

Best regards
igor

0 Kudos