How to keep the video in headless mode?

In order to get the result of training, I add an camera in the env as below:

And I will keep the camera image if needed:

  • Why is there only terrain but no actors in my video:

can you share the code of camera setting,rendering and converting to video?
thanks

I have already deal with it. Thanks a lot. By using self.gym.fetch_results(self.sim, True)

Hi, I am able to train in headless mode but can’t render the test scene. So I want to try solving the problem by saving the video in headless mode. Could you share the code, please? I will really appreciate it.