VideoLingo Batch Mode
Before utilizing the batch mode, ensure you have used the Streamlit mode and properly configured the parameters in config.yaml.
Usage Guide
1. Video File Preparation
- Place your video files in the
inputfolder - YouTube links can be specified in the next step
2. Task Configuration
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 |
3. Executing Batch Processing
- Double-click to run
OneKeyBatch.bat - Output files will be saved in the
outputfolder - Task status can be monitored in the
Statuscolumn oftasks_setting.xlsx
Note: Keep
tasks_setting.xlsxclosed during execution to prevent interruptions due to file access conflicts.
Important Considerations
Handling Interruptions
If the command line is closed unexpectedly, language settings in config.yaml may be altered. Check settings before retrying.
Error Management
- Failed files will be moved to the
output/ERRORfolder - Error messages are recorded in the
Statuscolumn oftasks_setting.xlsx - To retry:
- Move the single video folder from
ERRORto the root directory - Rename it to
output - Use Streamlit mode to process again
- Move the single video folder from