Hi all,
I am interested to the latency of hardware engine (encoder and decoder) on Jetson TX2.
For encoder, I obtain : (for 4096x2160 yuv frames)
—> ~ 30 ms with gstreamer
—> ~ 50 ms with mmapi
—> ~ 60 ms with v4l2(h264 stream presents corruption, I think this is result of memory sync)
For decoder, values are more bigger.
-
so I am interested that you share your results to compare them with what I obtain and to see if what i have obtained is very large and then to try to change my implementations to improve my latencies.
-
when using v4l2 directly, how can I sync cache for better results (in other threads, with MMAPI, it is recommended to use functions in nvbuf_utils.h) how we can do this in v4l2 ?
-
My latencies are not fixed. Sometimes and for the same codes with different API, I obtain different values. Is this normal ? For example, for MMAPI, I reach a latency of 30 ms for 2 or 3 times. What could be the cause ?
Hope that you share your experiences !!!
Regards,