this is 10.txt's content:
سلام دوستان، خوش آمدید به کانال آموزش مهاجرت
and this is the command I'm running:
edge-tts --voice fa-IR-DilaraNeural --file 10.txt --write-media 10.mp3 --write-subtitle 10.srt --proxy "http://127.0.0.1:5664"
the audio file is fine but for subtitle I'm getting this (which is invalid when I try to add it in premiere pro):
this is 10.txt's content:
سلام دوستان، خوش آمدید به کانال آموزش مهاجرت
and this is the command I'm running:
edge-tts --voice fa-IR-DilaraNeural --file 10.txt --write-media 10.mp3 --write-subtitle 10.srt --proxy "http://127.0.0.1:5664"
the audio file is fine but for subtitle I'm getting this (which is invalid when I try to add it in premiere pro):
I enabled "show all characters" in notepad++ so you can see exactly what extra characters are in the file:
the other issue is srt formatting. an standard srt file looks like this:
edge-tts generates files like this (dots instead of commas for milli seconds and the index before every timestamp):