ash3D / UEVideoRecorder

Video record and screenshot taking plugin for Unreal Engine 4.
MIT License
126 stars 35 forks source link

Could this work with iOS? #7

Open NCMcClure opened 6 years ago

NCMcClure commented 6 years ago

Is it possible that this plugin works with iOS? If so, how would I go about making it work? You're instructions are a bit unclear when it comes to fully installing this plugin's dependencies. I'm not very familiar with c++, so any assistance would help a lot.

ash3D commented 6 years ago

The plugin works with Windows only.

If you need support for other platforms you may implement it. For the most part it would be retargeting/reconfiguring of existing projects, but some code has to be rewritten too. In particular VideoRecorder library depends on DirectXTex - it mostly used to provide rich set of screenshot file formats, so if you don't need screenshots you may just cut it out. But DirectXTex also used to convert video frames from R10G10B10A2 to something that FFMPEG understand - this need to be reimplemented (though it would be trivial). Another code that optionally should be rewritten - asynchronous texture readback mechanism in plugin itself. It is graphics API specific and current implementation is for D3D11; for iOS it would be OpenGL ES or Metal. However it is not obligatory - its purpose is solely optimization. You may stick with UE4's default synchronous texture readback if its performance is satisfactory for you.