          logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
          self.alignments = alignments
          self.job = arguments.job
          self.type = None
          self.output = arguments.output
          self.source_dir = self.get_source_dir(arguments)
          self.validate()
          self.items = self.get_items()
 
</s> remove         if self.job in ("multi-faces", "leftover-faces"):
 </s> add         if self.job in ("multi-faces", "leftover-faces") and self.type == "faces": </s> remove         if self.frames.vid_cap:
            dest_folder = os.path.split(self.frames.folder)[0]
 </s> add         if self.frames.is_video:
            dest_folder = os.path.dirname(self.frames.folder)
        self.is_video = False  # Set when getting items
          logger.debug("Initializing %s: (arguments: %s)", self.__class__.__name__, arguments)
          self.alignments = alignments
          self.job = arguments.job
          self.type = None
        self.is_video = False  # Set when getting items
          self.output = arguments.output
          self.source_dir = self.get_source_dir(arguments)
          self.validate()
          self.items = self.get_items()
keep keep keep add keep keep keep keep
 Fix output for alignments tool tasks when input is a video 
tools/lib_alignments/jobs.py