mirror of
https://github.com/serversathome-personal/autocut.git
synced 2026-10-27 09:32:52 -04:00
GUI tool for removing silence from OBS recordings, exports FCPXML timelines for DaVinci Resolve
- Python 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Output folder is now selectable in the UI ("Save to") and persisted to
config, defaulting to ~/Videos. Project-folder mode creates its named
folder inside it; without a project folder the _cut files go straight
there instead of next to the sources.
Also:
- Accumulate combined-timeline offsets in whole frames instead of
re-truncating a seconds Fraction each clip, which drifted and could
overlap clips when source timelines had differing frame rates.
- Skip outputs auto-editor reported success for but never wrote, so a
missing file can't abort the whole combined timeline.
- Hoist the per-call `re` import, widen minsize for the new rows.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
| .gitignore | ||
| autocut.pyw | ||
| README.md | ||
AutoCut
A Windows GUI tool for automatically removing silence from OBS Studio screen recordings, producing FCPXML timeline files for DaVinci Resolve.
Features
- Silence removal powered by auto-editor
- FCPXML export for DaVinci Resolve (free version compatible)
- Batch processing — select multiple clips, process them all at once
- Choosable output folder — pick where results are saved; the choice is remembered between runs (defaults to
~/Videos) - Project folder workflow — creates a named folder inside the output folder, moves clips into it, and generates individual + combined timelines
- Combined timeline — merges all processed clips into a single FCPXML timeline with clips placed sequentially, ready to import as one timeline in DaVinci Resolve
- Presets — Tutorial, Fast-paced, and Relaxed with adjustable threshold and margins
- Drag and drop support (with tkinterdnd2)
Requirements
- Windows 10/11
- Python 3.10+
- auto-editor v29+ —
pip install auto-editor, anauto-editor.exenext to the script, orauto-editoron PATH (resolved in that order) - FFmpeg on PATH (
winget install Gyan.FFmpeg)
Usage
- Install auto-editor (
pip install auto-editor) or placeauto-editor.exein the same folder asautocut.pyw - Double-click
autocut.pywor run:pythonw autocut.pyw - Select your OBS clips, pick a preset, set Save to (the output folder), and hit Process
- Import the resulting
.fcpxmlfiles into DaVinci Resolve via File → Import → Timeline
Where files land
| Mode | Result |
|---|---|
| Project folder on | <Save to>/<project name>/ — clips moved in, plus individual and combined timelines |
| Project folder off | _cut files written straight into <Save to>; sources are left untouched |
If one clip is entirely below the audio threshold, auto-editor reports "Timeline is empty" and that clip is skipped — the remaining clips still produce a combined timeline, and the summary reports how many were skipped.
Presets
| Preset | Threshold | Margin Before | Margin After | Best For |
|---|---|---|---|---|
| Tutorial | 4% | 0.2s | 0.3s | Narrated walkthroughs |
| Fast-paced | 4% | 0.1s | 0.15s | Snappy edits |
| Relaxed | 3% | 0.3s | 0.5s | Conversational content |
License
MIT