opensource-clipping

🎬 終極 AI 自動剪輯工具 - 將長片影片與 Podcast 轉換為爆紅短影音!具備智慧人臉追蹤、動態卡拉 OK 字幕、情境式 B-roll、AI 配音及自動上傳功能(YouTube/FB)。

opensource-clipping 是什麼?

🎬 終極 AI 自動剪輯工具 - 將長片影片與 Podcast 轉換為爆紅短影音!具備智慧人臉追蹤、動態卡拉 OK 字幕、情境式 B-roll、AI 配音及自動上傳功能(YouTube/FB)。由 Whisper、Gemini、MediaPipe 與 Pyannote 驅動。

opensource-clipping 概覽

這是什麼

OpenSource Clipping 是一個開源的 AI 自動剪輯工具,能將長影片與 Podcast 轉換為短影音精華。它使用 Faster-Whisper 進行逐字轉錄、Google Gemini 分析內容、MediaPipe BlazeFace 進行人臉追蹤,以及 Pyannote 進行說話者辨識。工具可產生電影風格的鉤子預告、卡拉 OK 字幕、動態字體、情境 B-roll、自動縮圖,並支援自動上傳到 YouTube 與 Facebook Reels。

主要功能

  • AI 轉錄:使用 Faster-Whisper (large-v3) 進行逐字轉錄
  • AI 內容策展:Google Gemini 分析上下文、挑選爆紅片段並產生中繼資料
  • 智慧自動構圖:透過 MediaPipe BlazeFace 進行人臉追蹤,具備平滑平移、死區與抗抖動演算法
  • 卡拉 OK 字幕:逐字高亮的 .ASS 字幕(Alex Hormozi / Veed 風格)
  • 動態字體:AI 驅動的字詞強調,搭配彈跳/交錯動畫與雙字型系統
  • B-roll 整合:自動從 Pexels 取得情境素材,支援交叉淡出與 Ken Burns 效果
  • 自動 YouTube 上傳:自動將精華片段上傳至 YouTube,支援排程與完整中繼資料

使用情境

  • 將長篇 YouTube 影片或 Podcast 轉換為適用於 TikTok、YouTube Shorts 或 Instagram Reels 的爆紅短影音
  • 產生電影風格的鉤子預告,包含暗色覆蓋、故障轉場與卡拉 OK 字幕
  • 製作 Podcast 分割畫面或攝影機切換影片,自動進行說話者辨識
  • 從現有片段建立 AI 語音評論或反應影片
  • 透過排程上傳至 YouTube 與 Facebook,自動化內容再利用

快速開始

git clone https://github.com/NaufalRizqullah/opensource-clipping.git
cd opensource-clipping
pip install -r requirements.txt
cp .env.sample .env
### 編輯 .env 檔案,加入你的 GOOGLE_API_KEY
python main.py --url "https://youtube.com/watch?v=VIDEO_ID"

若使用 Google Colab,請開啟新筆記本並設定 T4 GPU 執行環境,然後執行儲存庫中提供的設定儲存格。

授權與價格

本專案採用 MIT 授權條款,為開源軟體。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/naufalrizqullahopensource-clipping.svg)](https://yunodb.com/tools/naufalrizqullahopensource-clipping?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/naufalrizqullahopensource-clipping?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/naufalrizqullahopensource-clipping.svg" alt="Featured on YunoDB" height="20"></a>