code: def reset(self):
      if self.epcount % self.k == 0:
          self.env.unwrapped.movie_path = self.savedir
      else:
          self.env.unwrapped.movie_path = None
          self.env.unwrapped.movie = None
      self.epcount += 1
      return self.env.reset()
  
imports: from collections import deque
  import cv2
  from .atari_wrappers import WarpFrame, ClipRewardEnv, FrameStack, ScaledFloatFrame
  from .wrappers import TimeLimit
  import numpy
  import gym
label_desc: Use image node_id 2 for calling the MovieRecord obj's underlying member method code with example usage: obj.reset() and returns: self