How to use nvtee?

The following command using nvtee is not working as expected.
one window is black and another window has only still image.

gst-launch-1.0 nvv4l2camerasrc ! ‘video/x-raw(memory:NVMM),width=3840,height=2160’ ! nvtee name=t ! queue ! nvvidconv ! nv3dsink window-width=1280 window-height=720 t. ! queue ! nvvidconv ! nv3dsink window-width=1280 window-height=720

But if I replace nvtee with tee, it works well.

What is the right way to use nvtee element?

Hi,
It looks fine to use tee in the pipeline. For using nvtee, you may check source code of nvgstcapture-1.0, or

/opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample_apps/deepstream-test4/