                  retval.extend(list(range(rng[0], rng[1] + 1)))
          logger.debug("frame_order: %s", retval)
          return retval
  
      def get_writer(self):
          """ Add the requested encoding options and return the writer """
          logger.debug("writer config: %s", self.config)
          return imageio.get_writer(self.video_tmp_file,
                                    fps=self.video_fps,
                                    ffmpeg_log_level="error",
                                    quality=None,
 
</s> remove         return imageio.get_writer(self.video_tmp_file,
                                  fps=self.video_fps,
 </s> add         return imageio.get_writer(self._video_tmp_file,
                                  fps=self._video_fps, </s> remove             retval = list()
            for rng in self.frame_ranges:
 </s> add             retval = []
            for rng in self._frame_ranges: </s> remove     def set_frame_order(self, total_count):
        """ Return the full list of frames to be converted in order """
        if self.frame_ranges is None:
 </s> add     def _get_output_filename(self) -> str:
        """ Return full path to video output file.

        The filename is the same as the input video with `"_converted"` appended to the end. The
        file extension is as selected in the plugin settings. If a file already exists with the
        given filename, then `"_1"` is appended to the end of the filename. This number iterates
        until a valid filename that does not exist is found.

        Returns
        -------
        str
            The full path to the output video filename
        """
        filename = os.path.basename(self._source_video)
        filename = os.path.splitext(filename)[0]
        ext = self.config["container"]
        idx = 0
        while True:
            out_file = f"{filename}_converted{'' if idx == 0 else f'_{idx}'}.{ext}"
            retval = os.path.join(self.output_folder, out_file)
            if not os.path.exists(retval):
                break
            idx += 1
        logger.info("Outputting to: '%s'", retval)
        return retval

    def _set_frame_order(self, total_count: int) -> List[int]:
        """ Obtain the full list of frames to be converted in order.

        Parameters
        ----------
        total_count: int
            The total number of frames to be converted

        Returns
        -------
        list
            Full list of all frame indices to be converted
        """
        if self._frame_ranges is None: </s> remove                                   output_params=self.output_params)
 </s> add                                   output_params=self._output_params) </s> remove def get_config(plugin_name, configfile=None):
    """ Return the config for the requested model """
 </s> add def get_config(plugin_name: str, configfile: Optional[str] = None) -> dict:
    """ Obtain the configuration settings for the writer plugin.

    Parameters
    ----------
    plugin_name: str
        The name of the convert plugin to return configuration settings for
    configfile: str, optional
        The full path to a custom configuration ini file. If ``None`` is passed
        then the file is loaded from the default location. Default: ``None``.

    Returns
    -------
    dict
        The requested configuration dictionary
    """
    def _get_writer(self) -> imageio.plugins.ffmpeg.FfmpegFormat.Writer:
        """ Add the requested encoding options and return the writer.

        Returns
        -------
        :class:`imageio.plugins.ffmpeg.FfmpegFormat.Writer`
            The imageio ffmpeg writer
        """
                  retval.extend(list(range(rng[0], rng[1] + 1)))
          logger.debug("frame_order: %s", retval)
          return retval
  
    def _get_writer(self) -> imageio.plugins.ffmpeg.FfmpegFormat.Writer:
        """ Add the requested encoding options and return the writer.

        Returns
        -------
        :class:`imageio.plugins.ffmpeg.FfmpegFormat.Writer`
            The imageio ffmpeg writer
        """
    def _get_writer(self) -> imageio.plugins.ffmpeg.FfmpegFormat.Writer:
        """ Add the requested encoding options and return the writer.

        Returns
        -------
        :class:`imageio.plugins.ffmpeg.FfmpegFormat.Writer`
            The imageio ffmpeg writer
        """
          logger.debug("writer config: %s", self.config)
          return imageio.get_writer(self.video_tmp_file,
                                    fps=self.video_fps,
                                    ffmpeg_log_level="error",
                                    quality=None,
keep keep keep keep replace replace keep keep keep keep keep
 ffmpeg writer: Create new filename if output pre-exists 
plugins/convert/writer/ffmpeg.py