Repository navigation
Release v1.0.0 - Initial Public Release
This is the first public release of the Subtitle-Driven-AI-Clipper application.
This tool is an AI-powered video editing assistant that automatically clips video segments based on the video's subtitle content and a user-configurable AI prompt. It leverages Whisper for transcription, AI models (GPT or Ollama) for intelligent decision-making, and FFmpeg for efficient video processing.
Key Features in this Release:
- Automated subtitle generation using Whisper.
- AI-powered clip selection based on subtitles and customizable prompts.
- Support for OpenAI GPT and local Ollama models.
- Intuitive GUI for settings configuration, subtitle editing, and workflow management.
- Seamless FFmpeg integration for precise clipping, concatenation, and subtitle embedding.
- Output of merged video with optional burned-in subtitles.
- Portable distribution with external FFmpeg dependency (via relative path).
Download & Setup (for Windows EXE):
- Download the executable asset (e.g.,
4o-1.exeor4o-1_onedir.zipif using--onedir) from the Assets section below. - Download FFmpeg separately from https://ffmpeg.org/download.html. Choose the appropriate build for your system.
- Create a new, empty folder on your computer where you want to run the application.
- Place the downloaded executable file (or unzip the folder content) into this new folder.
- Create a subfolder named
ffmpeginside the new folder, and place the FFmpeg executable (ffmpeg.exe) inside anbinfolder within it. The final structure should look likeyour_app_folder/ffmpeg/bin/ffmpeg.exe. - Run the executable (
4o-1.exe). Aconfig.jsonfile will be generated on first run. Configure your LLM settings (API Key/URL) and FFmpeg path via the "設定" button in the GUI.
For detailed usage instructions and troubleshooting, please refer to the project's README.md file in the repository.
Acknowledgements:
This project utilizes the following fantastic open-source tools and libraries:
- OpenAI Whisper
- FFmpeg
- OpenAI Python Library
- srt
- PyInstaller
- Ollama (optional backend)
中文版 (可搭配英文版發行或作為補充說明):
# 發行版本 v1.0.0 - 首次公開發行
這是 **Subtitle-Driven-AI-Clipper** 應用程式的首次公開發行版本。
本工具是一款由 AI 驅動的影片剪輯輔助應用程式,它能夠根據影片的字幕內容以及使用者自定義的 AI 提示詞,自動化選擇影片片段。它整合了 Whisper 進行語音轉文字,利用 AI 模型 (GPT 或 Ollama) 進行智能決策,並通過 FFmpeg 進行高效的影片處理。
**此版本主要功能:**
* 基於 Whisper 的自動字幕生成。
* 依據字幕內容與可配置提示詞進行 AI 智能片段選擇。
* 支援 OpenAI GPT 和 本地 Ollama 模型作為 AI 後端。
* 提供直觀的 GUI 界面用於參數設定、字幕編輯及工作流程管理。
* 整合 FFmpeg,實現精確的片段剪輯、合併與字幕嵌入功能。
* 輸出合併後的影片,可選擇是否燒錄字幕。
* 可攜式發佈,FFmpeg 作為外部依賴(透過相對路徑)。
**下載與設定 (適用於 Windows EXE 版本):**
1. 從下方 **Assets** 區塊下載可執行檔 (`4o-1.exe` 或 `4o-1_onedir.zip` 若使用 `--onedir` 打包)。
2. 請自行前往 [https://ffmpeg.org/download.html](https://ffmpeg.org/download.html) 下載 **FFmpeg**,選擇適合你系統的版本。
3. 在你電腦上創建一個新的空資料夾,用於放置應用程式。
4. 將下載的可執行檔 (或解壓縮後的資料夾內容) 放置到這個新資料夾內。
5. 在新資料夾中創建一個名為 `ffmpeg` 的子資料夾,並將 FFmpeg 可執行檔 (`ffmpeg.exe`) 放置在該資料夾下的 `bin` 資料夾內。最終結構例如:`你的應用程式資料夾/ffmpeg/bin/ffmpeg.exe`。
6. 運行 `4o-1.exe` 檔案。程式首次運行會自動生成 `config.json` 檔案。請透過 GUI 中的「設定」按鈕,配置你的 LLM 設定 (API 金鑰/URL) 及 FFmpeg 路徑。
更多詳細的使用指南及常見問題排除,請參考倉庫中的 [README.md](連結到你的 README) 文件。
**已知問題:**
OLLAMA情況下會很慢,要依照自己硬體情況調整
**鳴謝:**
此專案使用了以下出色的開源工具及函式庫:
* [OpenAI Whisper](https://github.com/openai/whisper)
* [FFmpeg](https://ffmpeg.org/)
* [OpenAI Python Library](https://github.com/openai/openai-python)
* [srt](https://pypi.org/project/srt/)
* [PyInstaller](https://pyinstaller.org/)
* [Ollama](https://ollama.com/) (可選後端)
---