in gym_genesis/env.py [0:0]
def save_video(self, save_video: bool = False, file_name: str = "episode.mp4", fps=60):
if self.enable_pixels and save_video:
warnings.warn(
"Calling `save_video()` will immediately stop the camera recording. "
"You will not be able to record additional frames after this call. "
"Call this method only when you are finished recording your episode.",
stacklevel=2,
)
self._env.cam.stop_recording(save_to_filename=file_name, fps=fps)