Does anyone know if a lightweight screen capture (video) api that we can programmatically control?
I know MBS has a solution for this. You can try to find it here https://www.monkeybreadsoftware.de/xojo/ (I did, but…)
Found something for Screenshots: https://www.monkeybreadsoftware.net/pluginpart-screenshot.shtml
And something for Screen Recordings (macOS only): https://www.monkeybreadsoftware.net/example-avfoundation-screenrecorder.shtml
On Windows you may be able to do it using DirectShow?: https://www.monkeybreadsoftware.net/topic-directshow.shtml