          self.extract_faces = False
          self.faces_count = 0
  
          self.images = Images(self.args)
          self.alignments = Alignments(self.args, False)
  
          # Update Legacy alignments
          Legacy(self.alignments, self.images.input_images, arguments.input_aligned_dir)
  
          self.post_process = PostProcess(arguments)
 
</s> remove         self.alignments = Alignments(self.args, True)
 </s> add         self.alignments = Alignments(self.args, True, self.images.is_video) </s> remove         src = os.path.join(self.folder, filename)
        logger.trace("Loading image: '%s'", src)
        image = cv2.imread(src)  # pylint: disable=no-member
 </s> add         if self.vid_cap:
            image = self.load_video_frame(filename)
        else:
            src = os.path.join(self.folder, filename)
            logger.trace("Loading image: '%s'", src)
            image = cv2.imread(src)  # pylint: disable=no-member
        return image

    def load_video_frame(self, filename):
        """ Load a requested frame from video """
        frame = os.path.splitext(filename)[0]
        logger.trace("Loading video frame: '%s'", frame)
        frame_no = int(frame[frame.rfind("_") + 1:])
        self.vid_cap.set(cv2.CAP_PROP_POS_FRAMES, frame_no)  # pylint: disable=no-member
        _, image = self.vid_cap.read() </s> remove             image, detected_faces = convert_item
 </s> add  </s> remove         return image, detected_faces
 </s> add         return detected_faces
        self.alignments = Alignments(self.args, False, self.images.is_video)
          self.extract_faces = False
          self.faces_count = 0
  
          self.images = Images(self.args)
        self.alignments = Alignments(self.args, False, self.images.is_video)
  
          # Update Legacy alignments
          Legacy(self.alignments, self.images.input_images, arguments.input_aligned_dir)
  
          self.post_process = PostProcess(arguments)
keep keep keep keep 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