I have a game that launches 2 or more windows when the game starts. Is there a way to read the frames from both these windows simultaneously with separate outputs?
What I have happening is that both windows are having their frames captured, and the output video is displaying frames that switch between the 2 windows quickly.
What I’ve done:
I’ve modified the shim program so that it does not need StartApp.exe to obtain parameters from. It now starts with the parameters hardcoded into NvIFREncoder.cpp.
I was hoping that each window would start with their own instance of the shim layer, but it does not seem to be the case.
I’ve also tried changing the number of buffers (params.dwNBuffers), but index 0 of that buffer still captures the frames from both windows.
So, how exactly do I have each window output into their own video, instead of both writing into the same video (which is what is happening now)?