class_docstr: Wrap VecEnv to record rendered image as mp4 video.
code: def step_wait(self):
      obs, rews, dones, infos = self.venv.step_wait()
  
      self.step_id += 1
      if self.recording:
          self.video_recorder.capture_frame()
          self.recorded_frames += 1
          if self.recorded_frames > self.video_length:
              logger.info("Saving video to ", self.video_recorder.path)
              self.close_video_recorder()
      elif self._video_enabled():
          self.start_video_recorder()
  
      return obs, rews, dones, infos
  
file_path: baselines/baselines/common/vec_env/vec_video_recorder.py
imports: import os
  from baselines import logger
  from baselines.common.vec_env import VecEnvWrapper
  from gym.wrappers.monitoring import video_recorder
label_desc: Use image node_id 5 for calling the VecVideoRecorder obj's underlying member method code with example usage: obj.step_wait() and returns: obs,  rews,  dones,  infos