| | 140 | == Windows Screen Capture via Desktop Duplication == |
| | 141 | |
| | 142 | '''Description:''' libavdevice can currently do screen capture on Windows with the gdigrab device, but this is very slow because it is driven entirely by the CPU and involves multiple copies. Windows 8 and onwards offer a new API called [[https://docs.microsoft.com/en-us/windows/win32/direct3ddxgi/desktop-dup-api|Desktop Duplication]] which allows you to fetch D3D textures of the scanout buffers on the GPU being used by the system to then use for any other purpose, such as feeding to another process already also on the GPU. |
| | 143 | |
| | 144 | '''Expected results:''' ddgrab input device usable with the ffmpeg command-line utility. |
| | 145 | |
| | 146 | '''Prerequisites:''' Good C skills, some familiarity with Windows graphics and D3D. |
| | 147 | |
| | 148 | '''Qualification Task:''' ??? |
| | 149 | |