      def load_video_frames(self):
          """ Return frames from a video file """
          logger.debug("Input is video. Capturing frames")
          vidname = os.path.splitext(os.path.basename(self.args.input_dir))[0]
          reader = imageio.get_reader(self.args.input_dir)
          for i, frame in enumerate(reader):
              # Convert to BGR for cv2 compatibility
              frame = frame[:, :, ::-1]
              filename = "{}_{:06d}.png".format(vidname, i + 1)
              logger.trace("Loading video frame: '%s'", filename)
 
</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.source_video)
 </s> add         reader = imageio.get_reader(self.source_video, "ffmpeg") </s> remove             # retval = imageio.get_reader(self.folder)
 </s> add             # retval = imageio.get_reader(self.folder, "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")
        reader = imageio.get_reader(self.args.input_dir, "ffmpeg")
      def load_video_frames(self):
          """ Return frames from a video file """
          logger.debug("Input is video. Capturing frames")
          vidname = os.path.splitext(os.path.basename(self.args.input_dir))[0]
        reader = imageio.get_reader(self.args.input_dir, "ffmpeg")
          for i, frame in enumerate(reader):
              # Convert to BGR for cv2 compatibility
              frame = frame[:, :, ::-1]
              filename = "{}_{:06d}.png".format(vidname, i + 1)
              logger.trace("Loading video frame: '%s'", filename)
keep keep keep keep replace keep keep keep keep keep
 Force imageio to use ffmpeg 
scripts/fsmedia.py