          self.input_images = self.get_input_images()
          self.images_found = len(self.input_images)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def get_input_images(self):
          """ Return the list of images that are to be processed """
          if not os.path.exists(self.args.input_dir):
              logger.error("Input directory %s not found.", self.args.input_dir)
              exit(1)
  
          logger.info("Input Directory: %s", self.args.input_dir)
 
</s> remove             logger.error("Input directory %s not found.", self.args.input_dir)
 </s> add             logger.error("Input location %s not found.", self.args.input_dir) </s> remove         self.images_found = len(self.input_images)
 </s> add  </s> remove         logger.info("Input Directory: %s", self.args.input_dir)
        input_images = get_image_paths(self.args.input_dir)
 </s> add     def get_input_images(self):
        """ Return the list of images or video file that is to be processed """
        if self.is_video:
            input_images = self.args.input_dir
        else:
            input_images = get_image_paths(self.args.input_dir)
    @property
    def images_found(self):
        """ Number of images or frames """
        if self.is_video:
            cap = cv2.VideoCapture(self.args.input_dir)  # pylint: disable=no-member
            retval = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))  # pylint: disable=no-member
            cap.release()
        else:
            retval = len(self.input_images)
        return retval

    def check_input_folder(self):
        """ Check whether the input is a folder or video """
          self.input_images = self.get_input_images()
          self.images_found = len(self.input_images)
          logger.debug("Initialized %s", self.__class__.__name__)
  
    @property
    def images_found(self):
        """ Number of images or frames """
        if self.is_video:
            cap = cv2.VideoCapture(self.args.input_dir)  # pylint: disable=no-member
            retval = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))  # pylint: disable=no-member
            cap.release()
        else:
            retval = len(self.input_images)
        return retval

    def check_input_folder(self):
        """ Check whether the input is a folder or video """
    @property
    def images_found(self):
        """ Number of images or frames """
        if self.is_video:
            cap = cv2.VideoCapture(self.args.input_dir)  # pylint: disable=no-member
            retval = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))  # pylint: disable=no-member
            cap.release()
        else:
            retval = len(self.input_images)
        return retval

    def check_input_folder(self):
        """ Check whether the input is a folder or video """
          if not os.path.exists(self.args.input_dir):
              logger.error("Input directory %s not found.", self.args.input_dir)
              exit(1)
  
          logger.info("Input Directory: %s", self.args.input_dir)
keep keep keep keep replace replace keep keep keep keep keep
 Add ability to extract from and convert from a video file (#559)

* Add ability to extract from and convert from a video file

* Update cli helptext. Add filebrowser button for GUI input

* Add video support to Alignments Tool 
scripts/fsmedia.py