Based on the information provided, it seems you are looking for details about the mli/autocut GitHub repository, which is a Python-based tool for video editing using text editors. Here’s a summary of the key information you need:
Repository Overview
- Repository Name: mli/autocut
- Language: Python
- Stars: 6544
- Forks: 651
Features
- AutoCut: Automatically generates subtitles for your video.
- Text Editor Integration: Allows users to edit video content by selecting sentences in the text editor, which then cuts and saves the corresponding video segments.
- Supports Multiple Whisper Modes: Including whisper, faster-whisper, and openai-whisper for transcription.
Updates
- 2024.03.10: Added support for pip installation and importable transcription features.
- Install command:
pip install autocut-sub
- Usage:
from autocut import Transcribe, load_audio
- Install command:
- 2023.10.14: Added support for faster-whisper and specified dependencies (with faster-whisper tests removed due to Action limits).
- Install commands:
- For whisper only:
pip install .
- For whisper and faster-whisper:
pip install '.[faster]'
- For whisper and openai-whisper:
pip install '.[openai]'
- For all:
pip install '.[all]'
- For whisper only:
- Usage example with faster-whisper:
autocut -t xxx --whisper-mode=faster
- Install commands:
- 2023.08.13: Added support for calling Openai Whisper API.
- Usage example:
export OPENAI_API_KEY=sk-xxx
and thenautocut -t xxx --whisper-mode=openai --openai-rpm=3
- Usage example:
Usage Example
- If your recorded video is in a folder named
2022-11-04
, you can run:
bash
autocut -d 2022-11-04
Additional Notes
- If you are using OBS for screen recording, you can adjust the settings under
Settings -> Advanced -> Recording -> Filename
for better compatibility with AutoCut.
License
- The project is licensed under the Apache-2.0 license.
This information should provide you with a comprehensive overview of the mli/autocut repository and its capabilities. If you need further details or have specific questions, feel free to ask!
Views: 0