Maxwe11
8 小时 59 分钟前
'''
{
"Father Ted - S02E01 - Hell": {
"filename": "Father Ted - S02E01 - Hell.srt",
"encoding": "us-ascii",
"blocks": [
{
"idx": 1,
"timecode": "00:00:36,771 --> 00:00:40,238",
"english": "Now, Tom, this is the first time\nyou've been trusted"
},
{
"idx": 2,
"timecode": "00:00:40,328 --> 00:00:42,999",
"english": "with such a large consignment\nof raw sewage."
},
{
"idx": 3,
"timecode": "00:00:43,086 --> 00:00:47,201",
"english": "- Are you sure you'll be all right?\n- Don't worry about me at all."
},
'''
'''
{
"Father Ted - S02E01 - Hell": {
"filename": "Father Ted - S02E01 - Hell.srt",
"encoding": "us-ascii",
"blocks": [
{
"idx": 1,
"timecode": "00:00:36,771 --> 00:00:40,238",
"english": "Now, Tom, this is the first time\nyou've been trusted",
"chinese": ""
},
{
"idx": 2,
"timecode": "00:00:40,328 --> 00:00:42,999",
"english": "with such a large consignment\nof raw sewage.",
"chinese": ""
},
{
"idx": 3,
"timecode": "00:00:43,086 --> 00:00:47,201",
"english": "- Are you sure you'll be all right?\n- Don't worry about me at all.",
"chinese": ""
},
'''
大概过程,AI 先抽取,然后每句都有一个唯一的 idx 编号,后面生成一个对应的中文空值位,先把最简单的和不需要翻译的(比如音乐)填充完,再抽取内容,一句一句翻译,翻译完后,填充到对应的中文位置,这样基本上就不会出现时间戳错位的问题了,检查完最后再按照格式生成回新的 srt 格式,作为最终交付物。