As far as I am aware you can’t do the above, you would need to use the new hardware acceleration api, this may help
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Specifying the HW acceleration to use in VideoCapture | 0 | 469 | April 9, 2024 | |
| Trouble using NVDIA hardware decoder when streaming from Camera | 14 | 5686 | March 15, 2022 | |
| Opencv 4.5.2 breaking change with FFMPEG HW accelerated decoding | 6 | 10082 | April 28, 2021 | |
| Not able to read Video from Capture Card with GPU (Unsupported Format) while Reading with CPU works fine | 47 | 7057 | August 26, 2022 | |
| How to have OpenCV built process use self-built ffmpeg? | 10 | 4052 | November 21, 2023 |