First post, by kekko
Hi,
yesterday I was trying to capture a video of Flight Unllimited with the embedded video capturing functionality.
Sadly I noticed that, even on a not-so-weak machine (e8400), capturing a video makes an heavy game to slow down in a way the it becomes unplayable (and I can't film my stunts...). At the same time, only one cpu core was used, while the other one was twiddling thumbs.
So I decided to experiment with multithreading, and my first try has been encouraging: capturing a video doesn't make the game stutter anymore and both cores work 😜 I also tried other games like tomb raider and screamer rally and it helps a lot.
What I've done it's just a quick try, many thing are not managed at all: "deferred" capturing/audio synching/shared access to memory areas...
Do you think it's worth? Anyone want to help?
Edit: latest, fully working version is here.