I’ve built a video-streaming pipeline using gst-launch-1.0 like this:
gst-launch-1.0 nvcamerasrc fpsRange=“30.0 30.0” ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, format=I420, framerate=30/1’ ! omxh265enc ! ‘video/x-h265, stream-format=byte-stream’ ! rtph265pay mtu=2000 ! udpsink host= port=5000 sync=false async=false
it works well,
and I think the glass-to-glass latency is satisfying.
But my boss asked me to measure the exact time of encoding precisely. He knows nothing about gstreamer and wants to know how much time per frame when the h265 encoder works.
I don’t have any idea about how to measure the encoder’s working time.