          """ Capture tqdm output for progress bar """
          logger.trace("Capturing ffmpeg")
          ffmpeg = self.consoleregex["ffmpeg"].findall(string)
          if len(ffmpeg) < 7:
              logger.trace("Not ffmpeg message. Returning False")
              return False
  
          message = ""
          for item in ffmpeg:
              message += f"{item[0]}: {item[1]}  "
 
</s> remove     def capture_ffmpeg(self, string):
        """ Capture tqdm output for progress bar """
        logger.trace("Capturing ffmpeg")
        ffmpeg = self.consoleregex["ffmpeg"].findall(string)
 </s> add     def _capture_ffmpeg(self, string: str) -> bool:
        """ Capture ffmpeg output for progress bar

        Parameters
        ----------
        string: str
            An output line read from stdout

        Returns
        -------
        bool
            ``True`` if an ffmpeg line was captured from stdout, otherwise ``False``
        """
        logger.trace("Capturing ffmpeg")  # type:ignore[attr-defined]
        ffmpeg = self._consoleregex["ffmpeg"].findall(string) </s> remove             logger.trace("Error creating ffmpeg message. Returning False")
 </s> add             logger.trace(  # type:ignore[attr-defined]
                "Error creating ffmpeg message. Returning False") </s> remove             logger.trace("Not loss message. Returning False")
 </s> add             logger.trace("Not loss message. Returning False")  # type:ignore[attr-defined] </s> remove         loss = self.consoleregex["loss"].findall(string)
 </s> add         loss = self._consoleregex["loss"].findall(string) </s> remove             logger.trace("Error creating loss message. Returning False")
 </s> add             logger.trace(  # type:ignore[attr-defined]
                "Error creating loss message. Returning False")
            logger.trace("Not ffmpeg message. Returning False")  # type:ignore[attr-defined]
          """ Capture tqdm output for progress bar """
          logger.trace("Capturing ffmpeg")
          ffmpeg = self.consoleregex["ffmpeg"].findall(string)
          if len(ffmpeg) < 7:
            logger.trace("Not ffmpeg message. Returning False")  # type:ignore[attr-defined]
              return False
  
          message = ""
          for item in ffmpeg:
              message += f"{item[0]}: {item[1]}  "
keep keep keep keep replace keep keep keep keep keep
 bugfix: GUI force stdout/stderr reading to utf-8 
lib/gui/wrapper.py