                  os.path.splitext(self.folder)[1].lower() in _video_extensions):
              logger.verbose("Video exists at: '%s'", self.folder)
              retval = cv2.VideoCapture(self.folder)  # pylint: disable=no-member
              # TODO ImageIO single frame seek seems slow. Look into this
              # retval = imageio.get_reader(self.folder)
          else:
              logger.verbose("Folder exists at '%s'", self.folder)
              retval = None
          return retval
  
 
</s> remove         reader = imageio.get_reader(self.source_video)
 </s> add         reader = imageio.get_reader(self.source_video, "ffmpeg") </s> remove         reader = imageio.get_reader(self.args.input_dir)
 </s> add         reader = imageio.get_reader(self.args.input_dir, "ffmpeg") </s> remove         reader = imageio.get_reader(self.args.input_dir)
 </s> add         reader = imageio.get_reader(self.args.input_dir, "ffmpeg") </s> remove         reader = imageio.get_reader(input_)
 </s> add         reader = imageio.get_reader(input_, "ffmpeg") </s> remove         reader = imageio.get_reader(input_)
 </s> add         reader = imageio.get_reader(input_, "ffmpeg")
            # retval = imageio.get_reader(self.folder, "ffmpeg")
                  os.path.splitext(self.folder)[1].lower() in _video_extensions):
              logger.verbose("Video exists at: '%s'", self.folder)
              retval = cv2.VideoCapture(self.folder)  # pylint: disable=no-member
              # TODO ImageIO single frame seek seems slow. Look into this
            # retval = imageio.get_reader(self.folder, "ffmpeg")
          else:
              logger.verbose("Folder exists at '%s'", self.folder)
              retval = None
          return retval
  
keep keep keep keep replace keep keep keep keep keep
 Force imageio to use ffmpeg 
tools/lib_alignments/media.py