Before utilizing the batch mode, ensure you have familiarized yourself with the Streamlit mode and properly configured the parameters in config.yaml.
Note: All referenced files, with the exception of
config.yaml, are located within thebatchfolder.
- Upload your video files for processing to the
inputfolder - YouTube links can be specified in the subsequent step
Modify the tasks_setting.xlsx file as follows:
| Field | Description | Acceptable Values |
|---|---|---|
| Video File | Video filename (excluding input/ prefix) or YouTube URL |
- |
| Source Language | Original language of the video | 'en', 'zh', 'auto', or leave empty for default |
| Target Language | Desired translation language | Use natural language description, or leave empty for default |
| Dubbing | Enable or disable dubbing | 0 or empty: no dubbing; 1: enable dubbing |
Example configuration:
| Video File | Source Language | Target Language | Dubbing |
|---|---|---|---|
| https://www.youtube.com/xxx | German | ||
| Kungfu Panda.mp4 | 1 |
- Launch
OneKeyBatch.batwith a double-click - Processed files will be stored in the
outputfolder - Monitor task progress in the
Statuscolumn oftasks_setting.xlsx
Note: Keep
tasks_setting.xlsxclosed during execution to prevent interruptions due to file access conflicts.
In the event of an unexpected command line closure, language settings in config.yaml may be altered. Verify these settings before attempting to resume processing.
- Files that fail to process will be relocated to the
output/ERRORfolder - Detailed error messages are logged in the
Statuscolumn oftasks_setting.xlsx - To reattempt processing:
- Transfer the specific video folder from
ERRORto the root directory - Rename this folder to
output - Utilize the Streamlit mode to reinitiate processing
- Transfer the specific video folder from