I thought I had found a really good guide at https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/quadro-product-literature/PG-03776-001_v05.pdf
But it’s 11 years old and it seems all of the VideoCaptureDevice stuff was renamed or moved. I cannot find the functionality in current libraries.
// Enumerate available video capture devices
VideoInDevices = glXEnumerateVideoCaptureDevicesNV(dpy, screen, &numDevices);
Could somebody point me towards current functionality like this? Code examples?