Closed photkey closed 2 years ago
Are you sure the *.srt doesn't have any variables that are invalid?
For example:
1
00:00:00,596 --> 00:00:04,744
Hello world, I am very happy!
edge_tts{emotion:depressed}
will only be valid if the template contains emotion variable. If you're not using a template then it would be invalid because there is no emotion... only rate, volume, pitch, voice, etc
You spotted the problem at a glance, indeed.
This project certainly needs some documentation
and maybe more helpful error messages
After the project is perfected, I'll help you into translating a Chinese document, as well as doing some Chinese promotion.
edge-srt-to-speech .\example.srt test.mp3 --voice zh-CN-YunyangNeural --default-speed +1% --default-pitch +1Hz --default-volume +1%