              A list of frame indices corresponding to the key frames in the input video
          """
          sample_filename = next(fname for fname in self.data)
          basename = sample_filename[:sample_filename.rfind("_")]
          logger.info("sample filename: %s, base filename: %s", sample_filename, basename)
          logger.info("Saving video meta information to Alignments file")
          for idx, pts in enumerate(pts_time):
              meta = dict(pts_time=pts, keyframe=idx in keyframes)
              key = "{}_{:06d}.png".format(basename, idx + 1)
              if key not in self.data:
 
</s> remove         if masker is not None and masker.lower() != "none":
            retval.append("mask")
 </s> add         for idx, mask in enumerate(masker):
            if mask is not None and mask.lower() != "none":
                retval.append("mask_{}".format(idx)) </s> remove         plugin = getattr(self, "_{}".format(phase))
 </s> add         plugin_type, idx = self._get_plugin_type_and_index(phase)
        plugin = getattr(self, "_{}".format(plugin_type))
        plugin = plugin[idx] if idx is not None else plugin </s> remove     colorformat: str
 </s> add     color_format: str </s> remove     pass
 </s> add     pass  # pylint: disable=unnecessary-pass
        logger.debug("sample filename: %s, base filename: %s", sample_filename, basename)
              A list of frame indices corresponding to the key frames in the input video
          """
          sample_filename = next(fname for fname in self.data)
          basename = sample_filename[:sample_filename.rfind("_")]
        logger.debug("sample filename: %s, base filename: %s", sample_filename, basename)
          logger.info("Saving video meta information to Alignments file")
          for idx, pts in enumerate(pts_time):
              meta = dict(pts_time=pts, keyframe=idx in keyframes)
              key = "{}_{:06d}.png".format(basename, idx + 1)
              if key not in self.data:
keep keep keep keep replace keep keep keep keep keep
 Extraction - Auto generate Components and Extended Masks 
lib/alignments.py