class_docstr: Video output implemented by streaming to FFmpeg with .mp4 output.
class_docstr_tok: ["Video","output","implemented","by","streaming","to","FFmpeg","with",".mp4","output","."]
code: def close(self):
      if self.ffmpeg.poll() is None:
          # Close stdin and consume and discard stderr/stdout.
          self.ffmpeg.communicate()
      self.ffmpeg = None
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import os
  import subprocess
  import time
  import numpy
label_desc: Use image node_id 5 for calling the FFmpegVideoOutput obj's underlying member method code with example usage: obj.close() without return types