Decode using nvcuvid

Hello everyone

I am trying to get a bit more performance on my jetson nx , is it possible to use python opencv ncuvid to use it to decode my video inputo from my webcam ? Or how can I use hardware accelerated decode with python opencv (or not opencv) for my webcam or any video input


Please refer to the python sample:
Doesn't work nvv4l2decoder for decoding RTSP in gstreamer + opencv - #3 by DaneLLL

yeah but that one connects to something else not to a webcam, do you know where can I find a python example like that but for webcam?

For webcam, do you mean USB camera? If it is USB camera, you can use v4l2src. If it is IP camera, rtspsrc is used.