  
      def prepare_images(self):
          """ Prepare the images for conversion """
          filename = ""
          for filename in tqdm(self.images.input_images,
                               total=self.images.images_found,
                               file=sys.stdout):
  
              if (self.args.discard_frames and
                      self.opts.check_skipframe(filename) == "discard"):
                  continue
  
 
</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) </s> remove     def set_folder_filename(self):
 </s> add     def set_folder_filename(self, input_is_video):
        for filename, image in tqdm(self.images.load(),
                                    total=self.images.images_found,
                                    file=sys.stdout):
  
      def prepare_images(self):
          """ Prepare the images for conversion """
          filename = ""
        for filename, image in tqdm(self.images.load(),
                                    total=self.images.images_found,
                                    file=sys.stdout):
        for filename, image in tqdm(self.images.load(),
                                    total=self.images.images_found,
                                    file=sys.stdout):
        for filename, image in tqdm(self.images.load(),
                                    total=self.images.images_found,
                                    file=sys.stdout):
  
              if (self.args.discard_frames and
                      self.opts.check_skipframe(filename) == "discard"):
                  continue
  
keep keep keep keep replace 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/convert.py