字幕(SRT), 双语翻译并输出。 PO 文件 TXT 文件 HTML 文件 XML 文件 XLF (XML Localization Interchange File Format): OASIS标准组织发布的用于本地化数据交换的格式标准 JSON 文件: 支持通用的JSON字符串值的翻译 ZIP 文件:支持批量翻译的需求(格式上支持除PDF外的以上文件类型) 静态网站的整体翻译 多个字幕文件...
{file_basename}_russian.srt") with open(srt_output_path, "w", encoding="utf-8") as file: file.write(srt_transcription) print(f"Russian SRT transcription saved to: {srt_output_path}") # 翻译SRT内容为简体中文 translated_srt_content = translate_srt_content(srt_transcription, "Russian", "...
You are an expert subtitle translator in all languages. Translate the English subtitle to Chinese subtitle, and keep the original English sentence as new Chinese and English subtitle. Keep the original srt format, make sure the output is valid srt format. Do not miss any empty lines....
openlrc - Transcribe and translate voice into LRC file using Whisper and LLMs (GPT, Claude, et,al). 使用whisper和LLM(GPT,Claude等)来转录、翻译你的音频为字幕文件。 wrest-chat - 微信机器人,PC Wechat Api/Bot/Sdk,内置 WEB 管理界面,可接入GPT、Gemini 、星火、文心、混元 、通义千...
根据srt文件 可生成双语字幕文件 https://github.com/jesselau76/srt-gpt-translator cloudflare 邮箱绑定 https://blog.waterlemons2k.com/Cloudflare-Email-and-Gmail 4月1日 Midjourney学习资源 https://zl49so8lbq.feishu.cn/wiki/wikcn5xErT0r0KlluyOur0an2yb 3月31日 处理PDF https://www.chatpdf.co...
“Translate this English text to French” “Teach me some basic Spanish phrases” 13. There Is An AI For That (One Of The Best ChatGPT Plugins)Unlike most individual function plugins, this ChatGPT plugin stands out as an all-in-one solution, placing it on our best ChatGPT Plugins list....
transcript = openai.Audio.translate("whisper-1", audio_file, prompt=translated_prompt) print(transcript['text']) 输出结果: Welcome to Onboard. Real first-line experience. New investment thinking. I am Monica. I am Gao Ning. Let's talk about how software can change the world. Hello everyon...
使用--single_translate只输出翻译后的图书,不创建双语版本。 --translation_style: 如:--translation_style "color: #808080; font-style: italic;" --retranslate "$translated_filepath" "file_name_in_epub" "start_str" "end_str"(optional): ...
transcript = openai.Audio.transcribe("whisper-1", audio_file, response_format="srt", prompt="这是一段Onboard播客,里面会聊到PALM这个大语言模型。这个模型也叫做Pathways Language Model。") print(transcript) 输出结果: 1 00:00:01,000 --> 00:00:07,000 ...
2、Srt内容过多需要分批多次处理,会话字数有限制,不适合长视频内容。 Please revise the subtitle content of a subtitle file, which contains two lines with repeated sentences in English and timestamps. Your task is to translate the second occurrence of the repeated sentence into Chinese and maintain ...