I recently implemented Runtime Video Recording, which works in the packaged games!
https://www.fab.com/listings/36bd136b-2942-4403-9428-96a430ca71ee
My plugin currently supports Windows, Linux and Android. It also allows to record Render Targets.
Audio is supported too!