Skip to content

silentfox317/videocoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎬 VideoCoder

AI video editor in terminal chat

Just describe what you want β€” VideoCoder edits your video using MCP-video tools (81 tools) and shell commands.

Go License Based on


https://github.com/user-attachments/assets/placeholder

Talk to AI. Edit video. Done.

✨ Features

  • 🎯 Chat-based editing β€” describe what you want in plain language
  • πŸ”§ 81 MCP-video tools β€” trim, merge, subtitles, audio, effects, stabilize, transcribe
  • πŸ–₯️ Shell access β€” custom ffmpeg scripts when you need them
  • 🧠 Any LLM β€” works with Mistral, OpenAI, Anthropic, local models
  • πŸ“± Social media presets β€” YouTube, TikTok, Instagram, Reels

πŸš€ Quick Start

# Download
git clone https://github.com/silentfox317/videocoder.git
cd videocoder

# Build
go build -o videocoder .

# Configure
cp .videocoder.example.json .videocoder.json
# Edit .videocoder.json with your LLM provider settings

# Run
./videocoder

πŸ“– Usage

Just type what you want to do with your video:

> Trim the first 10 seconds from my video.mp4
> Merge all clips from the ./raw folder
> Add subtitles in Russian to this video
> Extract the audio track as MP3
> Split this long recording into chapters
> Transcribe the speech in this video

πŸ› οΈ MCP Video Tools

VideoCoder comes with 81 MCP-video tools including:

Category Tools
πŸ“ Basic trim, merge, split, concatenate
πŸ“ Text subtitles, captions, text overlay
🎡 Audio extract, replace, mix, volume
✨ Effects filters, color grade, transitions
πŸ“ Resize crop, scale, aspect ratio
πŸ”„ Format transcode, compress, repurpose
🎯 Analysis inspect, detect scenes, transcribe
🧊 Stabilize stabilization, rolling shutter fix
🌐 Social TikTok preset, Reels, YouTube Shorts

βš™οΈ Configuration

See .videocoder.example.json for all options.

LLM Providers

{
  "providers": {
    "openai-compatible": {
      "model": "gpt-4o",
      "baseUrl": "http://localhost:5000/v1",
      "apiKey": "your-key"
    }
  }
}

MCP Server

VideoCoder uses @kyanite/mcp-video by default. Install it:

npx @kyanite/mcp-video

πŸ—οΈ Architecture

VideoCoder is a fork of OpenCode by OpenAI, repurposed for video editing.

  • Chat TUI β€” Bubble Tea terminal UI
  • LLM Agent β€” tool-calling loop
  • MCP Client β€” connects to mcp-video server
  • Shell β€” ffmpeg access

πŸ“„ License

MIT License β€” see LICENSE


Made for video creators who'd rather talk than click

About

🎬 AI video editor in terminal chat. Describe what to do with your video β€” AI edits it using MCP-video tools (81 tools) and shell commands.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors