              The incoming frame filename.
          image: :class:`numpy.ndarray`
              The converted image to be written
          """
          logger.trace("Received frame: (filename: '%s', shape: %s", filename, image.shape)
          if not self._output_dimensions:
              input_dims = image.shape[:2]
              self._set_dimensions(input_dims)
              self._writer = self._get_writer(input_dims)
          self.cache_frame(filename, image)
 
</s> remove             input_dims = image.shape[:2]
 </s> add             input_dims = cast(Tuple[int, int], image.shape[:2]) </s> remove         logger.trace("Received frame: (filename: '%s', shape: %s", filename, image.shape)
 </s> add         logger.trace("Received frame: (filename: '%s', shape: %s",  # type: ignore
                     filename, image.shape) </s> remove         logger.trace("Reapplying image: (filename: `%s`, image shape: %s)",
 </s> add         logger.trace("Reapplying image: (filename: `%s`, image shape: %s)",  # type: ignore </s> remove         self._image = image
        self._image_shape = image.shape
        self._detected_faces = detected_faces
 </s> add         self._image: Optional["np.ndarray"] = image
        self._image_shape = cast(Tuple[int, int, int], image.shape)
        self._detected_faces: List["DetectedFace"] = ([] if detected_faces is None
                                                      else detected_faces) </s> remove     def __init__(self, filename, image, detected_faces=None):
        logger.trace("Initializing %s: (filename: '%s', image shape: %s, detected_faces: %s)",
                     self.__class__.__name__, filename, image.shape, detected_faces)
 </s> add     def __init__(self,
                 filename: str,
                 image: "np.ndarray",
                 detected_faces: Optional[List["DetectedFace"]] = None) -> None:
        logger.trace("Initializing %s: (filename: '%s', image shape: %s, "  # type: ignore
                     "detected_faces: %s)", self.__class__.__name__, filename, image.shape,
                     detected_faces)
        logger.trace("Received frame: (filename: '%s', shape: %s",  # type: ignore
                     filename, image.shape)
              The incoming frame filename.
          image: :class:`numpy.ndarray`
              The converted image to be written
          """
        logger.trace("Received frame: (filename: '%s', shape: %s",  # type: ignore
                     filename, image.shape)
          if not self._output_dimensions:
              input_dims = image.shape[:2]
              self._set_dimensions(input_dims)
              self._writer = self._get_writer(input_dims)
          self.cache_frame(filename, image)
keep keep keep keep replace keep keep keep keep keep
 Bugfix: convert - Gif Writer
  - Fix non-launch error on Gif Writer
  - convert plugins - linting
  - convert/fs_media/preview/queue_manager - typing
  - Change convert items from dict to Dataclass 
plugins/convert/writer/ffmpeg.py