def METHOD_NAME(self, outfile):
    "raises UnsupportedCodec if the codec doesn't support copy"
    if not self._codec["copy"] or not self._codec["copy_format"]:
        raise UnsupportedCodec(f"{self.codec_name} doesn't support copy")
    return [
        "-map",
        f"0:{self.index}",
        "-c:s",
        "copy",
        "-f",
        self._codec["copy_format"],
        outfile,
    ]