DayZ standalone should work, I had someone test it and they said it was working fine.
First, you may want to try running OBS as admin. If that fails, run it as admin, and try using the game capture hotkey feature. It'll capture whatever game that's currently active on the screen when you press the hotkey. Note that you need to press it every time you alt-tab back into the game (design flaw)