How to speed up video conversion in opencv's VideoCapture/Gstreamer

Hi guys,
I want to use multi-stream decoder using harware of jetson nano in opencv’s VideoCapture+Gstreamer1.0. I use the below codes for that processing.

gstream_elemets = (‘rtspsrc location={} latency=300!’ ‘queue !’
'rtph264depay ! h264parse ! omxh264dec enable-low-outbuffer=1 ! ’
'nvvidconv ! ’
‘video/x-raw , format=(string)RGBA !’
'videoconvert ! ’
‘appsink sync=false’)
cv2.VideoCapture(gstream_elemets, cv2.CAP_GSTREAMER)

My problem is that in the convertor step, opencv use CPU for this work, Is it possible to optimize this stage?

Hi @LoveNvidia,

You may want to try with the ‘nvvidconv’ plugin which can be used as a replacement with hardware optimization for videoconvert. However, as you are using appsink you may want to check the following topic

For instructions on how to use the nvvidconv with appsink.

Regards,
Fabian
www.ridgerun.com