This Windows batch script automates the processing of all .mp4 files in a given folder using auto-editor.
It generates an .xml file for each video, formatted for Adobe Premiere.
- Scans all
.mp4files in the input directory - Creates the output directory if it doesn't exist
- Runs
auto-editorwith:- Silence detection and removal (
--edit audio:threshold=-28dB) - Premiere export format (
--export premiere) - Saves the resulting
.xmlfiles in the output folder
- Silence detection and removal (
-
Windows
-
Python installed
-
auto-editorinstalled via pip:pip install auto-editor