Change video settings on RTSP streaming

Hi,
Please try

gst-launch-1.0 nvarguscamerasrc ! nvvidconv ! video/x-raw,width=1280,height=720 ! timeoverlay valignment=4 halignment=1 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=1280,height=720' ! tee name=t ! nvv4l2h264enc insert-sps-pps=1 idrinterval=15 ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000 sync=0 t. ! queue ! nvegltransform ! nveglglessink sync=0

The timeoverlay plugin supports CPU buffer(video/x-raw), so would need to copy the buffer from NVMM buffer to CPU buffer via nvvidconv plugin.