First time here? Check out the FAQ!
answered 2020-12-05 13:25:52 -0600
there is the "cudacodec" module. that ought to support decoding and encoding videos using the GPU's hardware codec.
I don't know how well maintained that is.
https://docs.opencv.org/master/d0/d61/group__cudacodec.html