[iMX8MP] How to trace and tune VPU H264/H265 encoding?

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

[iMX8MP] How to trace and tune VPU H264/H265 encoding?

604 Views
khang_letruong
Senior Contributor III

Dear iMX VPU and GStreamer Experts,

During my encoded streaming in https://community.nxp.com/t5/i-MX-Processors/iMX8MPlus-How-to-mix-two-video-sources-into-one-with-Gs..., I observed noticeable delay in the streaming of stereo image data over the network using GStreamer. Therefore, I would like to know how to trace and if possible to reduce the latency of the hardware accelerated streaming for the VPU in iMX8M Plus, please ? 

There's suggestion of gst-tracer-hooks debug the following discussion : https://community.nxp.com/t5/i-MX-Processors/i-MX-8M-VPU-Low-Latency-H264-Decoding-with-Gstreamer-vp...

And there's another suggestion (GstTracer, gst-shark) for GStreamer 1.8 or later here : https://archive.fosdem.org/2018/schedule/event/om_gst_dbg/attachments/slides/2126/export/events/atta...

Thanks you in advance and look for having your opinion.

Best Regards,
Khang

 

 

 

0 Kudos
Reply
1 Reply

586 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

You can refer the gst-tracer-hooks debug thread to measure latency.

Also the gst-shark can do similiar measurement:

https://developer.ridgerun.com/wiki/index.php/GstShark_-_Example:_Interlatency