# You can add as many sections for langauges as you need. Just add to the number in the [LANGUAGE-#] for each one | |
# Each section must contain the synth language code, synth voice name, and translation target language | |
# A value for synth_voice_gender only matters if the service requires it, like Google TTS, but the setting must be there even if not used | |
[SETTINGS] | |
# Enter the language numbers you wish to process when the batch file is read. | |
# This is also useful for multiple presets of a single language - You could just enable one of them at a time | |
# Just enter the numbers separated by commas: For example, to use LANGUAGE-1 and LANGUAGE-2, put "1,2" | |
# Please note that supported languages and their codes vary by service. See the supported languages for each service in the README | |
enabled_languages = 5 | |
# You an use a full file path, or the name of the file if it's in the same directory | |
# The video file name will also be used to name the final output audio file | |
original_video_file_path = video.mp4 | |
srt_file_path = subtitles.srt | |
[LANGUAGE-0] | |
# English / Testing | |
# Remember, the translation target code may be different from synth_language_code because it is the one used by the translation service, not the TTS service | |
# See the codes here: https://cloud.google.com/translate/docs/languages / https://www.deepl.com/docs-api/translating-text/request/ | |
translation_target_language = en | |
# The language of the synthesized voice. Might not necessarily be exactly the same as target_language variable below | |
# Examples - English: en-US Spanish: es-us or es-mx | |
synth_language_code = en-US | |
# Choose one from here so it matches the target language: https://cloud.google.com/text-to-speech/docs/voices / https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support?tabs=stt-tts | |
# Examples - English: en-US-Neural2-I (Google) or en-US-JasonNeural (Azure) Spanish: es-US-Neural2-B (Google) or es-MX-CecilioNeural (Azure) | |
synth_voice_name = en-US-JasonNeural | |
# Google Only: Should match the gender of the chosen voice above | |
synth_voice_gender = MALE | |
[LANGUAGE-1] | |
# Spanish | |
translation_target_language = es | |
synth_language_code = es-MX | |
synth_voice_name = es-MX-CecilioNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-2] | |
# Hindi | |
translation_target_language = hi | |
synth_language_code = hi-IN | |
synth_voice_name = hi-IN-MadhurNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-3] | |
# Arabic | |
translation_target_language = ar | |
synth_language_code = ar-EG | |
synth_voice_name = ar-EG-ShakirNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-4] | |
# Russian | |
translation_target_language = ru | |
synth_language_code = ru-RU | |
synth_voice_name = ru-RU-DmitryNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-5] | |
# Portuguese | |
translation_target_language = pt | |
synth_language_code = pt-BR | |
synth_voice_name = pt-BR-FabioNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-6] | |
# Italian | |
translation_target_language = it | |
synth_language_code = it-IT | |
synth_voice_name = it-IT-DiegoNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-7] | |
# Indonesian | |
translation_target_language = id | |
synth_language_code = id-ID | |
synth_voice_name = id-ID-ArdiNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-8] | |
# Japanese | |
translation_target_language = ja | |
synth_language_code = ja-JP | |
synth_voice_name = ja-JP-NaokiNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-9] | |
# Korean | |
translation_target_language = ko | |
synth_language_code = ko-KR | |
synth_voice_name = ko-KR-BongJinNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-10] | |
# German | |
translation_target_language = de | |
synth_language_code = de-DE | |
synth_voice_name = de-DE-KasperNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-11] | |
# Chinese (Mandarin Simplified) | |
translation_target_language = zh | |
synth_language_code = zh-CN | |
synth_voice_name = zh-CN-YunyeNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-12] | |
# Turkish | |
translation_target_language = tr | |
synth_language_code = tr-TR | |
synth_voice_name = tr-TR-AhmetNeural | |
synth_voice_gender = MALE | |
[LANGUAGE-13] | |
# | |
translation_target_language = | |
synth_language_code = | |
synth_voice_name = | |
synth_voice_gender = | |