Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FONT_EXT = []string{".ttf", ".otf", ".ttc"}
Functions ¶
This section is empty.
Types ¶
type VideoBatchOption ¶
type VideoBatcher ¶
type VideoBatcher interface { GetVideosList() ([]string, error) // 获取视频列表s GetFontsList() ([]string, error) // 获取字体列表 GetFontsParams() ([]string, error) // 获取字体列表 GetConvertBatch() ([][]string, error) // 获取转换视频命令 GetAddFontsBatch() ([][]string, error) // 获取添加字体命令 GetAddSubtitleBatch() ([][]string, error) // 获取添加字幕命令 ExecuteBatch(batchCmd [][]string) error }
func NewVideoBatch ¶
func NewVideoBatch(opt *VideoBatchOption) (VideoBatcher, error)
Click to show internal directories.
Click to hide internal directories.