Auto-Editor is a command line application for automatically editing video and audio by analyzing a variety of methods, most notably audio loudness.
Before doing the real editing, you first cut out the "dead space" which is typically silence. This is known as a "first pass". Cutting these is a boring task, especially if the video is very long.
auto-editor path/to/your/video.mp4
Installing
See Installing for more information.
Skills
npx skills add WyattBlue/auto-editor
Cutting
Change the pace of the edited video by using --margin.
--margin adds in some "silent" sections to make the editing feel nicer.
# Add 0.2 seconds of padding before and after to make the edit nicer.
# `0.2s` is the default value for `--margin`
auto-editor example.mp4 --margin 0.2sec
# Add 0.3 seconds of padding before, 1.5 seconds after
auto-editor example.mp4 --margin 0.3s,1.5sec
Methods for Making Automatic Cuts
The --edit option is how auto-editor makes automated cuts.
For example, edit out motionlessness in a video by setting --edit motion.
# cut out sections where the total motion is less than 2%.
auto-editor example.mp4 --edit motion:threshold=0.02
# `--edit audio:threshold=0.04,stream=all` is used by default.
auto-editor example.mp4
# Different tracks can be set with different attribute.
auto-editor multi-track.mov --edit "(or audio:stream=0 audio:threshold=10%,stream=1)"
Different editing methods can be used together.
# 'threshold' is always the first argument for edit-method objects
auto-editor example.mp4 --edit "(or audio:0.03 motion:0.06)"
You can also use dB unit, a volume unit familiar to video-editors (case-sensitive):
auto-editor example.mp4 --edit audio:-19dB
auto-editor example.mp4 --edit audio:-7dB
auto-editor example.mp4 --edit motion:-19dB
Labels
Every moment gets an integer label: 0 is silent (cut by default), 1 is active (kept). --edit sets what's label 1; -w:0/-w:1 set each one's action. Add more classes with --edit:N and --when:N (N up to 255); where they overlap, the higher label wins.
# Cut silence, keep speech, and additionally speed up the loud parts
auto-editor example.mp4 --edit:2 audio:-12dB --when:2 speed:1.5
As a value (not a label), --edit 1 keeps everything and --edit 0 cuts everything. See the actions docs for more.
See What Auto-Editor Cuts Out
To export what auto-editor normally cuts out. Set --when-active to cut and --when-inactive to nil (leave as is). This is the reverse of the usual default values.
auto-editor example.mp4 --when-active cut --when-inactive nil
Exporting to Editors
Create an XML file that can be imported to Adobe Premiere Pro using this command:
auto-editor example.mp4 --export premiere
Auto-Editor can also export to:
- DaVinci Resolve with
--export resolve - Final Cut Pro with
--export final-cut-pro - ShotCut with
--export shotcut - Kdenlive with
--export kdenlive - CMX 3600 EDL with
--export edl - Individual media clips with
--export clip-sequence
More Options
List all available options:
auto-editor --help
Articles
Run Online and as an Application
You can run auto-editor online or download the application. They use assets from this repository (Unlicense); their own unique assets are under a separate proprietary license.
Copyright
Everything in this repository is under the Public Domain. Binary artifacts in the "Releases" section may be under various open source licenses.
Metadata
Release files for auto-editor 31.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 86.0 MB
Release files / auto_editor-31.11.0-py3-none-win_arm64.whl
| Download URL | auto_editor-31.11.0-py3-none-win_arm64.whl |
|---|---|
| Size | 13.3 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
2f6a159f6c0ce8f7f513aebba834be46e1224193dd29af2ac1caa19e1998bc3e
|
|
BLAKE2b-256 checksum How to use checksums |
3d6d4d37969f770d19c87725c110e812f594c500b88d75b8e1f3bba463f3c193
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / auto_editor-31.11.0-py3-none-win_amd64.whl
| Download URL | auto_editor-31.11.0-py3-none-win_amd64.whl |
|---|---|
| Size | 15.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d72c21fdac1f46a34ddcdd5962dd181c32621f2bb95b8c0a79eec06e7ff319e2
|
|
BLAKE2b-256 checksum How to use checksums |
ceded3e22facbb8505432c0a6fa7af96a8c5c0bb4dc9e4edabb12ee4f9777529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / auto_editor-31.11.0-py3-none-manylinux_2_39_aarch64.whl
| Download URL | auto_editor-31.11.0-py3-none-manylinux_2_39_aarch64.whl |
|---|---|
| Size | 15.8 MB |
| Tags | Linux glibc 2.39+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
721fac44aa32be7d1e66abe185e2858e503a45a79f4862bb65ab28f313181d9b
|
|
BLAKE2b-256 checksum How to use checksums |
4af0139b146ec45752815f0aa548b72ce8a515379771af5dd902fa74bdbcb676
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / auto_editor-31.11.0-py3-none-manylinux_2_38_x86_64.whl
| Download URL | auto_editor-31.11.0-py3-none-manylinux_2_38_x86_64.whl |
|---|---|
| Size | 17.6 MB |
| Tags | Linux glibc 2.38+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
6dc74df3552bc5e5e462ddefc130f164df171905bbcc29f7320a834f07314ee1
|
|
BLAKE2b-256 checksum How to use checksums |
d53ec65b1a7ff7cebff88d94d45f5039595e2f41595cb77936ede8e5d3151680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / auto_editor-31.11.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl
| Download URL | auto_editor-31.11.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl |
|---|---|
| Size | 11.0 MB |
| Tags | Linux glibc 2.17+ ARMv7l Linux musl 1.1+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
f6bb032e9f4c86bcadc5dd535b88cd4b0531c146a0a71a2fc0f3fd07e1977d58
|
|
BLAKE2b-256 checksum How to use checksums |
cdaf5a95b9dee851d49019670cdb33a973d7921f70aacdf7e2cd581c6a46ffed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logRelease files / auto_editor-31.11.0-py3-none-macosx_14_0_arm64.whl
| Download URL | auto_editor-31.11.0-py3-none-macosx_14_0_arm64.whl |
|---|---|
| Size | 12.6 MB |
| Tags | Python 3 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
70c390959c5fd9d68640f6e1fedff8a80eb987ffdc80591abc438d6e6f1f0c71
|
|
BLAKE2b-256 checksum How to use checksums |
b38bdbd835c6b34f557b597b7140d213fd5f47a710c73540b5e2cd3f765ac0e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for auto-editor 31.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for auto_editor-31.11.0-py3-none-win_arm64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.