3 ms·
It's simple to enable on Windows, any surface with DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY set will get excluded from screen capture APIs. No DRM is required. DRM is
by ack_complete 2y ago
It's simple to enable on Windows, any surface with DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY set will get excluded from screen capture APIs. No DRM is required.
DRM isn't always the reason for video not being capturable, though. Efficiency optimizations can also get in the way, such as hardware video overlays. Back when overlays were first introduced, attempting to capture the screen would often omit the video because it would only capture the chroma key in the primary surface. Even today, the DWM has to undo multi-plane optimizations and specifically composite the screen when screen capture is requested.