Documentation ¶
Index ¶
- type CompareConfig
- type MatchResult
- type SubTimelineFixerHelperEx
- func (s *SubTimelineFixerHelperEx) Check() bool
- func (s SubTimelineFixerHelperEx) IsMatchBySubFile(ffmpegInfo *ffmpeg_helper.FFMPEGInfo, audioVADInfos []vad.VADInfo, ...) (bool, *MatchResult, error)
- func (s SubTimelineFixerHelperEx) IsVideoCanExportSubtitleAndAudio(videoFileFullPath string) (bool, *ffmpeg_helper.FFMPEGInfo, []vad.VADInfo, *subparser.FileInfo, error)
- func (s SubTimelineFixerHelperEx) Process(videoFileFullPath, srcSubFPath string) error
- func (s SubTimelineFixerHelperEx) ProcessByAudioFile(baseAudioFileFPath, srcSubFileFPath string) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
- func (s SubTimelineFixerHelperEx) ProcessByAudioVAD(audioVADInfos []vad.VADInfo, infoSrc *subparser.FileInfo) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
- func (s SubTimelineFixerHelperEx) ProcessBySubFile(baseSubFileFPath, srcSubFileFPath string) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
- func (s SubTimelineFixerHelperEx) ProcessBySubFileInfo(infoBase *subparser.FileInfo, infoSrc *subparser.FileInfo) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompareConfig ¶
type MatchResult ¶
type SubTimelineFixerHelperEx ¶
type SubTimelineFixerHelperEx struct {
// contains filtered or unexported fields
}
func NewSubTimelineFixerHelperEx ¶
func NewSubTimelineFixerHelperEx(log *logrus.Logger, fixerConfig settings.TimelineFixerSettings) *SubTimelineFixerHelperEx
func (*SubTimelineFixerHelperEx) Check ¶
func (s *SubTimelineFixerHelperEx) Check() bool
Check 是否安装了 ffmpeg 和 ffprobe
func (SubTimelineFixerHelperEx) IsMatchBySubFile ¶
func (s SubTimelineFixerHelperEx) IsMatchBySubFile(ffmpegInfo *ffmpeg_helper.FFMPEGInfo, audioVADInfos []vad.VADInfo, infoBase *subparser.FileInfo, srcSubFileFPath string, config CompareConfig) (bool, *MatchResult, error)
func (SubTimelineFixerHelperEx) IsVideoCanExportSubtitleAndAudio ¶
func (s SubTimelineFixerHelperEx) IsVideoCanExportSubtitleAndAudio(videoFileFullPath string) (bool, *ffmpeg_helper.FFMPEGInfo, []vad.VADInfo, *subparser.FileInfo, error)
func (SubTimelineFixerHelperEx) Process ¶
func (s SubTimelineFixerHelperEx) Process(videoFileFullPath, srcSubFPath string) error
func (SubTimelineFixerHelperEx) ProcessByAudioFile ¶
func (s SubTimelineFixerHelperEx) ProcessByAudioFile(baseAudioFileFPath, srcSubFileFPath string) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
func (SubTimelineFixerHelperEx) ProcessByAudioVAD ¶
func (s SubTimelineFixerHelperEx) ProcessByAudioVAD(audioVADInfos []vad.VADInfo, infoSrc *subparser.FileInfo) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
func (SubTimelineFixerHelperEx) ProcessBySubFile ¶
func (s SubTimelineFixerHelperEx) ProcessBySubFile(baseSubFileFPath, srcSubFileFPath string) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
func (SubTimelineFixerHelperEx) ProcessBySubFileInfo ¶
func (s SubTimelineFixerHelperEx) ProcessBySubFileInfo(infoBase *subparser.FileInfo, infoSrc *subparser.FileInfo) (bool, *subparser.FileInfo, sub_timeline_fixer.PipeResult, error)
Click to show internal directories.
Click to hide internal directories.