The timeoverly output is too big in AGX Orin

I used the command bellow to display the frame received by usb camera , but I find the timeoverly result is more bigger than textoverlay in AGX Orin.
When execute in Xavier NX, the size of textoverlay and timeoverlay are almost the same.

Cloud anybody know how to make it same size with textoverlay output?

Command:
sudo gst-launch-1.0 v4l2src device=/dev/video8 ! timeoverlay ! textoverlay name=txt0 shaded-background=false valignment=top halignment=right text=路面视频帧 ! nvvidconv ! videoconvert ! nvvidconv ! nvv4l2h264enc profile=4 bitrate=16384000 idrinterval=5 insert-sps-pps=1 maxperf-enable=1 ! h264parse ! mpegtsmux ! tcpserversink host=0.0.0.0 port=4953

The Result in AGX Orin:

The Result in Xavier NX:

You may try disabling auto-resize property of timeoverlay:

... ! timeoverlay auto-resize=0 ! ...

or manually set font size with font-desc property.

1 Like

Thanks for your unceasing helps!

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