Short, practical recipes for getting started with auto-editor. Each one is a
command you can copy, paste, and tweak. Replace video.mp4 with your own file.
Cut out the silent "dead space" automatically. This is all you need to start:
auto-editor video.mp4
The result is written to video_ALTERED.mp4. To name it yourself, use -o:
auto-editor video.mp4 -o trimmed.mp4
See how much will be cut without producing a file yet:
auto-editor video.mp4 --preview
By default auto-editor keeps 0.2 seconds of padding around each kept section
so cuts don't feel abrupt. Widen it to let speech breathe, or use different
padding before and after:
# 0.5 seconds of padding on both sides
auto-editor video.mp4 --margin 0.5sec
# 0.3s before, 1.5s after
auto-editor video.mp4 --margin 0.3sec,1.5sec
--edit decides what counts as "loud enough" to keep. Raise the threshold to
cut more, lower it to keep more. You can use a percentage or a dB value:
# Keep only louder audio (cuts more)
auto-editor video.mp4 --edit audio:threshold=6%
# The same idea in decibels
auto-editor video.mp4 --edit audio:-18dB
Useful for screen recordings or silent footage — drop the still parts:
auto-editor video.mp4 --edit motion:threshold=2%
Keep every moment, but fast-forward the quiet parts:
auto-editor video.mp4 -w:0 speed:8
See the Actions Cookbook for volume, zoom, overlays, and more.
# Drop the first and last 30 seconds, on top of the automatic edit
auto-editor video.mp4 --cut-out start,30sec -30sec,end
More in Range Syntax.
Transcribe speech, then cut on the words. First make subtitles, then edit with them:
auto-editor whisper video.mp4 ggml-medium.en.bin --format srt -o video.srt
auto-editor video.mp4 --edit subtitle
Auto-Editor understands video.srt is related to video.mp4. See the whisper command for more details.
Instead of rendering, export a project you can open in your editor:
auto-editor video.mp4 --export premiere
Auto-editor can also export to resolve, final-cut-pro, shotcut, and
kdenlive. To get each kept section as its own file, use clip-sequence:
auto-editor video.mp4 --export clip-sequence
If yt-dlp is installed, pass a link as the input:
auto-editor "https://www.youtube.com/watch?v=kcs82HnguGc"