title: Saving a video/GIF file for the Open AI GymTaxi environment
body: <p>I am trying to make a GIF file for the Open AI Gym Taxi environment. I can see quite a few codes for the environments that are image objects. But Taxi environment is String and I am not sure how to save the rendered environments as a jpg or a png file. </p>
  
  <p>Here's what I have:</p>
  
  <pre><code>import gym
  env = gym.make('Taxi-v2')
  state=env.reset()
  while True:
      t += 1
      env.render()
      action = env.action_space.sample()
      state, reward, done, info = env.step(action)
      if done:
          print("Episode finished after {} timesteps".format(t+1))
          break
  env.close()
  </code></pre>
  
  <p>I have tried: </p>
  
  <pre><code>env = gym.wrappers.Monitor(env, './video/',video_callable=lambda episode_id: True,force = True)
  </code></pre>
  
  <p>but this just creates a json file.</p>
  
  <p>Any help is sincerely appreciated.
  Thanks</p>