video-reframer
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@video-reframerTurn this YouTube video into a vertical Short with captions: https://youtube.com/watch?v=abc123"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lucky Me Clipper
Tools untuk memotong video horizontal YouTube (16:9) jadi video vertikal (9:16) siap upload ke Shorts, TikTok, atau Reels. Deteksi pergantian scene diproses dengan PySceneDetect, dan posisi wajah pembicara dipantau dengan MediaPipe agar cropping pas di tengah.
Proyek ini menyediakan:
MCP Server (Model Context Protocol) yang bisa dipanggil oleh Claude Desktop, Cursor, Antigravity, OpenCode, VS Code / Roo Code, dan Windsurf.
Web Control Center ringan berbasis FastAPI + Tailwind + Alpine.js untuk memantau status render, cek video di theater player, dan mengelola publish ke YouTube via Zernio API.
Cara Pasang MCP
Jalankan perintah ini di folder proyek untuk memasang server MCP ke semua editor AI yang terpasang di komputer Anda (Claude Desktop, Cursor, Antigravity, OpenCode, VS Code / Roo Code, atau Windsurf):
python doctor.py --install-allPerintah ini akan mencari lokasi konfigurasi masing-masing editor secara otomatis dan mendaftarkan video-reframer.
Bila ingin memasang ke editor tertentu saja:
python doctor.py --install claude_desktop
# Pilihan lain: cursor, antigravity, opencode, windsurf, cline_rooRelated MCP server: VE-MCP
Setup Awal Proyek
1. Pasang Dependensi Python
git clone https://github.com/LuckyAnggara/lucky-me-clipper.git
cd lucky-me-clipper
pip install -r requirements.txt2. Atur Environment (.env)
Salin contoh file .env:
cp .env.example .envLalu masukkan API key Anda ke file .env:
GEMINI_API_KEY=AIzaSyD-xxxxxx
# Opsional jika ingin auto publish ke YouTube Shorts
ZERNIO_API_KEY=
ZERNIO_YOUTUBE_ACCOUNT_ID=3. Cek Status Sistem & Unduh FFmpeg
Jalankan diagnosa sistem:
python doctor.py --checkJika FFmpeg belum terpasang di komputer Anda, jalankan Web UI untuk mengunduh FFmpeg portable sekali klik:
python ui.pyBuka browser di http://127.0.0.1:8080, lalu klik Unduh FFmpeg Portable. Binary akan tersimpan di folder lokal ./bin/ tanpa mengubah path sistem komputer Anda.
Fitur Utama
Kurasi Otomatis (
curate_youtube_clips): Menganalisis video YouTube langsung via Gemini 3.8 Flash tanpa perlu download file video utuh di awal. Memberi rekomendasi timestamp dan hook.Sistem Memory Interaktif: Server menyimpan percakapan analisis klip dan project aktif ke database SQLite lokal (
clipper_memory.db). Jika Anda menanyakan "tadi klip nomor berapa yang tersisa?", AI masih mengingat konteks sebelumnya.Download Presisi (
fetch_and_trim_clip): Hanya mengunduh potongan video yang dipilih menggunakanyt-dlp.Deteksi Shot Kamera (
analyze_scene_composition): Memotong klip tepat di pergantian sudut kamera dan menghitung koordinat wajah.Layout Adaptif 9:16 (
render_adaptive_video):1 Wajah: Fullscreen crop 9:16 mengikuti pembicara.
2 Wajah: Split screen atas-bawah atau 1:1 berdampingan.
B-roll / multi-orang: Format 1:1 di tengah dengan background ambient blur.
Subtitle Animasi Dinamis (
render_dynamic_css_captions): Pilihan gayahormozi,mrbeast,cyberpunk, atauminimal, dirender via Headless Chrome dan ditempel ke video dengan FFmpeg.Cover Thumbnail 9:16 (
render_short_cover): Menghasilkan thumbnail vertikal dengan hook text 2 baris di area dada agar tidak menutupi wajah.Publish ke YouTube Shorts (
publish_clip_to_social,schedule_clip_post): Upload dan jadwalkan posting lewat integrasi Zernio API dengan log audit tersimpan di database.
Contoh Penggunaan via Chat AI
Setelah MCP terhubung ke AI editor Anda, Anda cukup memberikan instruksi seperti ini di ruang obrolan:
"Ambil bagian menarik dari link YouTube ini: https://www.youtube.com/watch?v=xxxx. Buatkan klip vertikal 9:16 dengan subtitle gaya hormozi dan buatkan cover pembukanya."
AI Agent akan:
Menemukan momen terbaik dan memberikan daftar segmen.
Mengunduh segmen yang Anda pilih.
Mendeteksi pergantian shot dan wajah pembicara.
Merender klip 9:16 dan menempelkan subtitle animasi.
Memberikan tautan ke Web UI (
http://127.0.0.1:8080) agar Anda bisa menonton hasilnya di theater player.
Menjalankan Pengujian
Untuk memverifikasi semua fungsi server dan web UI:
python tests/test_server.py
python tests/test_web_server.pyThis server cannot be deployed
Maintenance
Related MCP Connectors
Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
Clip videos into captioned shorts, add captions, and schedule posts from AI agents.
Turn long videos into AI-curated short clips: caption, reframe, thumbnail, schedule, and publish.
Generate AI short-form videos and auto-publish them to TikTok, YouTube, Instagram, Facebook and X.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceTurns long-form videos into short-form clips (TikTok/Reels) by reasoning over word-timestamped transcripts, with silence-aware rendering, STT-based validation, and optional reframing/captions.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to autonomously edit videos into publish-ready vertical short-form content, including silence removal, subtitle generation, voiceover synthesis, color grading, and composite pipeline creation.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to publish and schedule short-form vertical videos across multiple social platforms, validate and normalize video files, generate platform-optimized metadata, and retrieve performance analytics.1MIT
- FlicenseNot gradedqualityBmaintenanceEnables autonomous shortform video editing by tracking speakers and dynamically reframing 16:9 footage into 9:16, with smart bounding box coordination for CapCut and MCP-compatible agent workflows.8-