The error "Default role required" occurs because no voice role (配音角色) has been selected for the chosen TTS channel. The software needs a specific voice to generate the dubbing audio.
Solution:
- In the main interface, make sure you have selected a target language (the language you want to dub into).
- After selecting the target language, click the 配音角色 (voice role) dropdown – it should now be populated with available voices for that language.
- Pick any voice from the list (e.g., "Xiaoxiao", "Yunyang" for Edge-TTS).
- If the dropdown remains empty, verify that the TTS channel you selected supports the chosen target language, and check your network connection (for cloud TTS like Edge-TTS).
If the problem persists, please provide the log file from C:/Hieu/win-pyvideotrans-v4.01-0602/logs/ (latest .log file) – paste the last 30 lines for further diagnosis.