How to generate still images to create a video of 30 fps.

Hi,

There is an animation object of 30 fps in a scene, which is imported from blender. In each 0.03333 seconds, just after a frame is rendered by Unity, I’d like to get the scene, modify it and store it as a still image file. Then, 30 still image files are generated per second.

But, the time to modify and store is not constant, sometimes one second and sometimes five seconds. And, under free run, Update method is called about 90 times per second.

How should I implement and which method should I override to get and modify?

I have a script by which I can get and modify it.

Thank you.

If you just need this to work in editor, did you already try Unity Recorder? I’m not sure what you are trying to do but if you just need record image sequence of a camera view at a steady frame rate, it might be enough.

But if this is required to work runtime, then this doesn’t work for you.

Hi Olmi,

Thank you for you post, but Unity Recorder could not be used for my purpose.