赞
踩
- lang="en"
- constVideo = VideoConst("GV9AMT")
- combineMp3Path = constVideo.getCombineMp3Path(lang)
- srtPath = constVideo.getOutSrtAsrFixPath(lang=lang)
- result, json_object = utilTts.whisper_transcribe_en(combineMp3Path)
- srt_writer = get_writer("srt", constVideo.videoDir)
- srt_writer(result, srtPath)
max_line_width
the maximum number of characters in a line before breaking the line
换行前一行中的最大字符数
max_line_count
the maximum number of lines in a segment
分段中的最大行数
highlight_words
underline each word as it is spoken in srt and vtt
在srt和vtt中说出的每个单词下面加下划线
max_words_per_line
no effect with --max_line_width) the maximum number of words in a segment
--max_line_width 有值是,max_words_per_line无效。 行中的最大单词数
参考:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。