          self.consoleregex = {
              "loss": re.compile(r"([a-zA-Z_]+):.*?(\d+\.\d+)"),
              "tqdm": re.compile(r".*?(?P<pct>\d+%).*?(?P<itm>\d+/\d+)\W\["
                                 r"(?P<tme>\d+:\d+<.*),\W(?P<rte>.*)[a-zA-Z/]*\]"),
              "ffmpeg": re.compile(r"([a-zA-Z]+)=\s*([\d|N/A]\S+)")}
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def execute_script(self, command, args):
          """ Execute the requested Faceswap Script """
          logger.debug("Executing Faceswap: (command: '%s', args: %s)", command, args)
 
</s> remove         filename = filename.split('.')
        img_ext = filename[-1]
        zero_pad = Effmpeg.__get_zero_pad(filename[-2])
        name = filename[-2][:-zero_pad]
        retval = "{}%{}d.{}".format(name, zero_pad, img_ext)
 </s> add         filename, img_ext = os.path.splitext(filename)
        zero_pad = Effmpeg.__get_zero_pad(filename)
        name = filename[:-zero_pad]
        retval = "{}%{}d{}".format(name, zero_pad, img_ext)
            "ffmpeg": re.compile(r"([a-zA-Z]+)=\s*(-?[\d|N/A]\S+)")}
          self.consoleregex = {
              "loss": re.compile(r"([a-zA-Z_]+):.*?(\d+\.\d+)"),
              "tqdm": re.compile(r".*?(?P<pct>\d+%).*?(?P<itm>\d+/\d+)\W\["
                                 r"(?P<tme>\d+:\d+<.*),\W(?P<rte>.*)[a-zA-Z/]*\]"),
            "ffmpeg": re.compile(r"([a-zA-Z]+)=\s*(-?[\d|N/A]\S+)")}
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def execute_script(self, command, args):
          """ Execute the requested Faceswap Script """
          logger.debug("Executing Faceswap: (command: '%s', args: %s)", command, args)
keep keep keep keep replace keep keep keep keep keep
 effmpeg - gen-vid filename bugfix 
lib/gui/wrapper.py