VideoRecording¶
Attention
The content of this page will be updated soon.
Demonstrate how to do recording.
Can only work when these are satisfied
Android
in EasyAR Settings,
Lib Variants>Androidis set toVideoRecordingGraphics API is set to OpenGLES3 or OpenGLES2
Multithreaded Rendering is off
Unity Linear Rendering¶
Remember, VideoRecorder will record RenderTexture as is. If different color spaces are used, the data recorded will not be converted into correct color automatically.
If you are using linear rendering, please use shader other other ways to convert color bedore feed texture into videoRecorder.RecordFrame.
What can be recorded¶
This sample record the camera output. But that is not all the VideoRecorder can do. VideoRecorder.RecordFrame accept any RenderTexture feed into it. The recorded texture is passed by the user code, so you have full control of what is recorded.