The error "Target Lang required for Sub Embedding" occurs because the software cannot determine the target language for embedding subtitles into the final video. This typically happens when the target language setting is missing or incorrectly configured.
Solution Steps:
- Check Target Language Settings: Go to the main interface of pyVideoTrans. In the "Target Language" dropdown menu, ensure you have selected a specific language, such as Vietnamese (Tiếng Việt). Do not leave it as "Auto" or empty.
- Verify Configuration: If you are using the "Embed Subtitles" or "Hardcode Subtitles" option, confirm that the target language for the subtitles matches the language you selected in step 1.
- Fix Installation Path: Your current installation path
C:/Users/thai ha/Downloads contains a space (thai ha). This can cause various errors. You must move the entire pyVideoTrans folder to a new path without spaces or special characters, for example: D:\pyVideoTrans or C:\pyvideotrans. - Restart the Task: After correcting the language setting and moving the software folder, restart your video translation or subtitle embedding task.
If the issue persists after following these steps, please provide the latest log file from the logs/ folder in your installation directory (copy the bottom ~30 lines of the error).
Please refer to the relevant documentation: