code: def __init__(self, env, savedir, k):
      gym.Wrapper.__init__(self, env)
      self.savedir = savedir
      self.k = k
      self.epcount = 0
  
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 1 to create a new MovieRecord object from inherited base classes: gym with example: obj = MovieRecord(env, savedir, k)