BingLingGroup / autosub

Command-line utility to transcribe/translate from video/audio/subtitles to subtitles
GNU General Public License v2.0
1.97k stars 243 forks source link

奇怪的bug, 某些内容会翻译失败 #198

Open hxse opened 1 year ago

hxse commented 1 year ago

test.srt 内容如下

1
00:04:41,555 --> 00:04:44,437
None of this is effectively helping us fight terrorism

2
00:04:45,318 --> 00:04:53,236
The motivation behind this might be good, even noble, but if we let our elected governments limit our personal freedom, the terrorists are winning.

autosub -hsp http://127.0.0.1:7890 -i "C:\Users\hxse\Downloads\test.srt" -SRC en -D zh-cn -y -o "C:\Users\hxse\Downloads\test_out.srt" 运行之后会显示翻译失败 image 但是, 把test.srt中的第二个字幕中的 terrorists单词删除, 或者are单词删除, 或者把末尾的.符号删除, 或者把前半句删除, 都能正常翻译成功 很奇怪, 难道文本内容不对谷歌翻译还会失败, 搞不懂是什么原因, 看起来很莫名其妙 autosub 0.5.7-alpha