Whisper+剪映制作精听材料

使用ChatGPT等AI工具,给纯文本断句,添加标点,并重新分行,既符合字幕长度的需求,同时又能够按照语法特征在合适的位置断行。

Whisper一般已经是有标点的,然后可以指定一行多少个词,比如
–max_words_per_line 10
断句反正没有特别关心

srt → ass 貌似有python脚本可以用ffmpeg实现

srt sync 我一般用ffmpeg 生成一下
ffmpeg.exe -loop 1 -i test.png -i “test.mp3” -c:a aac -ab 64k -c:v libx264 -pix_fmt yuv420p -shortest -strict -2 -vf “subtitles=test.srt :force_style=‘Fontsize=24’” “test.mp4”

1 个赞