pub fn write_srt( path: impl AsRef<Path>, segments: &[TranscriptSegment], ) -> Result<()>
Writes srt.