          out_filename = os.path.join(self.output_folder, out_filename)
          logger.trace("in filename: '%s', out filename: '%s'", filename, out_filename)
          return out_filename
  
      def cache_frame(self, filename, image) -> None:
          """ Add the incoming converted frame to the cache ready for writing out.
  
          Used for ffmpeg and gif writers to ensure that the frames are written out in the correct
          order.
  
 
</s> remove     def get_save_args(self):
        """ Return the save parameters for the file format """
 </s> add     def _get_save_args(self) -> Tuple[int, ...]:
        """ Obtain the save parameters for the file format.

        Returns
        -------
        tuple
            The OpenCV specific arguments for the selected file format
         """ </s> remove         self.format_dict = dict(jpg="JPEG", jp2="JPEG 2000", tif="TIFF")
        self.kwargs = self.get_save_kwargs()
 </s> add         self._format_dict = dict(jpg="JPEG", jp2="JPEG 2000", tif="TIFF")
        self._separate_mask = self.config["draw_transparent"] and self.config["separate_mask"]
        self._kwargs = self._get_save_kwargs()
        logger.trace("in filename: '%s', out filename: '%s'", filename, retval)  # type:ignore
        return retval

    def cache_frame(self, filename: str, image: np.ndarray) -> None:
          out_filename = os.path.join(self.output_folder, out_filename)
          logger.trace("in filename: '%s', out filename: '%s'", filename, out_filename)
          return out_filename
  
        logger.trace("in filename: '%s', out filename: '%s'", filename, retval)  # type:ignore
        return retval

    def cache_frame(self, filename: str, image: np.ndarray) -> None:
          """ Add the incoming converted frame to the cache ready for writing out.
  
          Used for ffmpeg and gif writers to ensure that the frames are written out in the correct
          order.
  
keep keep keep keep replace keep keep keep keep keep
 Convert: Add option to output mask separately for draw-transparent 
plugins/convert/writer/_base.py