using Whisper.net; namespace VideoAnalysisCore.AICore.Whisper { /// /// 字幕识别 结果 /// public class WhisperResDto { public WhisperResDto() { } /// /// /// /// public WhisperResDto(SegmentData sd) { Text = sd.Text; Start = sd.Start; End = sd.End; } /// /// 文本 /// public string Text { get; set; } = string.Empty; /// /// 开始时间 /// public TimeSpan Start { get; set; } /// /// 结束时间 /// public TimeSpan End { get; set; } } }