Auto-Editor is a command line application for automatically editing video or audio by removing the silent parts.
--preview
how displays the correct duration for the new output.- Auto-Editor now works even when running the script in a different working directory.
- The
--debug
and--verbose
commands have been combined. Both now do the same thing. - The macOS binaries have been compressed in the 7zip format and should be extracted with Archive Utility.
See the Changelog for all the differences between releases.
Create an edited version of example.mp4 with the default parameters.
$ python auto-editor.py example.mp4
You can change the pace of a video by changing by including frames that are silent but are next to loud parts. A frame margin of 8 will add up to 8 frames before and 8 frames after the loud part.
$ python auto-editor.py example.mp4 --frame_margin 8
There are many more features in auto-editor, including adding in background music that automatically gets quieter, and zooming in the video when it gets especially loud.
Download and Install the Latest Version of Python 3.
Download Auto-Editor.
Open the ZIP file.
Open Your Console. (Command Prompt on Windows, Terminal on MacOS)
Type in the Console, cd
then hit the spacebar.
Drag the folder, "auto-editor-master", to your Console. Let go of the mouse button, then hit enter.
Run pip3 install -r requirements.txt
The binaries you'll need are already installed, unless you're using Linux.
Linux users need to run this command. sudo apt-get install libavformat-dev libavfilter-dev libavdevice-dev ffmpeg
(If you would like to use your own ffmpeg, add the flag --my_ffmpeg
when using auto-editor)
Now run it with the example video to make sure it is working.
python3 auto-editor.py example.mp4
If that works then congratulations, you have successfully installed auto-editor. You can use now use this with any other type of video or audio that you have.
python3 auto-editor.py C:path\to\your\video
See the docs for more commands and usages.
The best way to contribute is to fork auto-editor and make changes there. Once you're happy with those changes, make a new pull request and type in a brief description on how you improved the code.
No change is too small whether that be a typo in the docs or a small improvement of code.
Original code in auto-editor is under the MIT License
The FFmpeg binaries are under the LGPL License
wavfile.py is under the BSD 3-Clause "New" or "Revised" License
If you have a bug or a code suggestion, you can create a new issue on this github page. If you'll like to discuss this project, suggest new features, or chat with other users, do that in the discord server.