Cannot determine the specific cause: argument out of range is a generic error that can be triggered by multiple stages: video/audio parsing, subtitle line indices, VAD slicing, etc. It is necessary to locate the specific stack trace from the log.
Related, but not confirmed, risk factors (worth checking first):
- You are currently running the program from the
C:/Users/minht/Downloads/win-pyvideotrans-v4.17-1028 directory. It is recommended to move the entire software folder to a short path containing only English letters and digits (e.g. D:\pyVideoTrans); do not run it from Downloads or Program Files. - The input video file name or path is too long, or contains special symbols or emoji, which may also trigger out-of-range errors during slicing or subtitle processing. Rename the video to a short English name (e.g.
video1.mp4) and place it in a shallow directory. - v4.17 is not the latest version; upgrading to v4.19 may already fix this issue.
If the problem persists, provide the following information for analysis:
- The latest log file in the
logs/ folder under the software directory (copy the last 30 lines of error information). - At which stage the error occurred (speech recognition / subtitle translation / dubbing / video assembly), and the specific video name and format.
Please refer to the related documentation: