Onimusha: Warlords doesn't even use H264 and has several other problems. None of these games need H264 to be explicitly exposed, they only need compressed output.
This is also only making my work on upstreaming Proton changes more difficult and I don't really understand what you are trying to achieve here.