          """ Close the ffmpeg writer and mux the audio """
          self.writer.close()
          self.mux_audio()
  
      def mux_audio(self):
          """ Mux audio
              ImageIO is a useful lib for frames > video as it also packages the ffmpeg binary
              however muxing audio is non-trivial, so this is done afterwards with ffmpy.
              A future fix could be implemented to mux audio with the frames """
          if self.config["skip_mux"]:
              logger.info("Skipping audio muxing due to configuration settings.")
 
</s> remove             A future fix could be implemented to mux audio with the frames """
 </s> add             # TODO A future fix could be implemented to mux audio with the frames """ </s> remove         self.writer.close()
        self.mux_audio()
 </s> add         self._writer.close()
        self._mux_audio()

    def _mux_audio(self) -> None:
        """ Mux audio the audio to the generated video temp file. </s> remove     def close(self):
 </s> add     def close(self) -> None: </s> remove             self.writer.append_data(save_image[:, :, ::-1])
 </s> add             self._writer.append_data(save_image[:, :, ::-1]) </s> remove     def video_tmp_file(self):
        """ Temporary video file, prior to muxing final audio """
        path, filename = os.path.split(self.video_file)
        retval = os.path.join(path, "__tmp_{}".format(filename))
 </s> add     def _video_tmp_file(self) -> str:
        """ str: Full path to the temporary video file that is generated prior to muxing final
        audio. """
        path, filename = os.path.split(self._output_filename)
        retval = os.path.join(path, f"__tmp_{filename}")
          """ Close the ffmpeg writer and mux the audio """
          self.writer.close()
          self.mux_audio()
  


              ImageIO is a useful lib for frames > video as it also packages the ffmpeg binary
              however muxing audio is non-trivial, so this is done afterwards with ffmpy.
              A future fix could be implemented to mux audio with the frames """
          if self.config["skip_mux"]:
              logger.info("Skipping audio muxing due to configuration settings.")
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