#6535 Voice role selection required

123.21.**6 Posted at: 3 hours ago

Voice role selection required


=
system:Windows-10-10.0.19044-SP0
version:v4.09
frozen:True
language:en
root_dir:D:/PROGRAMS_D/pyvideotrans

1 Replies

This error occurs because a dubbing/TTS task was started without specifying a voice role (配音角色). pyVideoTrans requires you to choose a concrete voice role whenever the pipeline needs to generate speech.

To resolve it:

  1. In the main window, open the “配音渠道” (TTS channel) dropdown and pick a channel, e.g. Edge-TTS(免费).
  2. Then open the “配音角色” (voice role) dropdown and select an actual voice name (e.g. en-US-GuyNeural, zh-CN-XiaoxiaoNeural).
  3. If your task is not meant to be dubbed at all, choose No as the voice role – this will skip dubbing and avoid the error.
  4. If you are using the CLI, make sure you pass --voice_role <name>; it is mandatory for TTS (tts) and video translation (vtv) tasks.

The error message “Voice role selection required” is exactly the guard for this missing selection. After setting a proper role, restart the task.

Please consult the related documents:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Dondate via PayPal

Related resource