About clockoverlay


We are using R32.2.1.
I have a question about displaying the time using GStreamer.

I was able to display the current time on the video with the following command.

gst-launch-1.0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM)’ ! nvvidconv ! ‘video/x-raw, format=(string)I420’ !
clockoverlay halignment=right valignment=bottom !
nvvidconv ! ‘video/x-raw(memory:NVMM), format=(string)I420’ !
nvegltransform ! nveglglessink

Is the clockoverlay process a CPU processing? Or is it hardware processing?
I want to reduce the load on the CPU as much as possible.

Sorry for the late response, is this still an issue to support? Thanks

It is CPU processing. For putting GUI through GPU, there is no existing function and you would need to implement it.

Another approach is to call cairo functions through nvivafilter plugin. Please refer to
Tx2-4g r32.3.1 nvivafilter performance - #16 by DaneLLL
This can put GUI on NVMM buffer directly instead of copying NVMM buffer to CPU buffer ad then copy back to NVMM buffer. Although cairo functions are CPU processing.

Dear Kayccc, DaneLLL

Thank you for your reply.

It is CPU processing

Okay, understood.
I would like to consider the nvivafilter.

Thank you for your polite answer.
It was helpful.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.