Before utilizing the batch mode, ensure you have used the Streamlit mode and properly configured the parameters in config.yaml
.
- Place your video files in the
input
folder - YouTube links can be specified in the next step
Edit the tasks_setting.xlsx
file:
Field | Description | Acceptable Values |
---|---|---|
Video File | Video filename (without input/ prefix) or YouTube URL |
- |
Source Language | Source language | 'en', 'zh', ... or leave empty for default |
Target Language | Translation language | Use natural language description, or leave empty for default |
Dubbing | Enable dubbing | 0 or empty: no dubbing; 1: enable dubbing |
Example:
Video File | Source Language | Target Language | Dubbing |
---|---|---|---|
https://www.youtube.com/xxx | German | ||
Kungfu Panda.mp4 | 1 |
- Double-click to run
OneKeyBatch.bat
- Output files will be saved in the
output
folder - Task status can be monitored in the
Status
column oftasks_setting.xlsx
Note: Keep
tasks_setting.xlsx
closed during execution to prevent interruptions due to file access conflicts.
If the command line is closed unexpectedly, language settings in config.yaml
may be altered. Check settings before retrying.
- Failed files will be moved to the
output/ERROR
folder - Error messages are recorded in the
Status
column oftasks_setting.xlsx
- To retry:
- Move the single video folder from
ERROR
to the root directory - Rename it to
output
- Use Streamlit mode to process again
- Move the single video folder from