Gstreamer hardware decoder in opencv


I am having nvidia jetson nano board and I am trying to receive the rtsp stream from IP camera using gstreamer pipeline. The pipeline is as follow:

gst-launch-1.0 rtspsrc location=rtsp:// latency=200 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvideoconvert ! autovideosink

The command work fine with 30%(approx.) of cpu use. But when we try to feed the this stream in opencv using appsink nothing comes as it show the blank screen.

Best Regards,