CLI tool for subtitle-based video editing
Top 7.2% on sourcepulse
AutoCut is a command-line tool designed for video editing using text-based transcriptions. It automatically generates subtitles for videos, allowing users to select desired sentences from a Markdown file to extract and save corresponding video segments. This approach eliminates the need for traditional video editing software, making the process accessible to users who prefer text-based workflows.
How It Works
AutoCut leverages the Whisper speech-to-text model for transcription, with support for various Whisper models (tiny, base, small, medium, large, large-v3-turbo) and the OpenAI API. After transcription, it generates a Markdown file where users can edit and select segments. The tool then uses FFmpeg to cut and stitch the video clips based on the edited Markdown or SRT files. It also offers a daemon mode to monitor directories for new videos and process them automatically.
Quick Start & Requirements
pip install autocut-sub
pip install 'autocut-sub[faster]'
pip install 'autocut-sub[openai]'
and set OPENAI_API_KEY
.Highlighted Details
Maintenance & Community
The project is actively maintained, with recent updates supporting new Whisper models and pip installation. Contribution guidelines and a basic code structure are provided.
Licensing & Compatibility
The project is licensed under the MIT License, permitting commercial use and integration with closed-source projects.
Limitations & Caveats
Video export speed on Apple M1 chips may be slower than professional video software due to FFmpeg's limitations on GPU usage. Large Whisper models require significant GPU VRAM; users with insufficient VRAM can opt for smaller models or force CPU usage. Encoding consistency between file generation and editing is crucial to avoid errors.
10 months ago
Inactive