Skip to content

Getting Started

From raw recording to social-ready content in under 2 minutes.


1. Install

bash
npm install -g vidpipe

2. Set Up

bash
vidpipe init

The setup wizard walks you through everything — API keys, FFmpeg verification, social accounts. Just follow the prompts.

3. Process Your First Video

bash
vidpipe /path/to/video.mp4

That's it. Go grab a coffee — your AI editor will cut the dead air, generate highlight clips, burn captions, write social posts, and draft a blog while you wait.


What Happens Next

After your AI editor finishes (~5–15 minutes for a 10–30 min video), you'll find:

OutputFiles
📝 Transcriptstranscript.json — word-level timestamps
✂️ Edited Video*-edited.mp4 — silence removed, *-captioned.mp4 — with burned captions
🎬 Shorts15–60s highlight clips in landscape, portrait (9:16), square, and feed (4:5)
🎞️ Medium Clips1–3 min standalone segments with crossfade transitions
📑 ChaptersYouTube timestamps, Markdown, JSON, and FFmpeg metadata
📱 Social PostsDrafts for TikTok, YouTube, Instagram, LinkedIn, and X
📰 Blog PostDev.to-style article with web-sourced links
📄 SummaryREADME.md with key-frame screenshots

Want to see the full output tree?

recordings/my-video/
├── my-video.mp4
├── my-video-edited.mp4
├── my-video-captioned.mp4
├── README.md
├── transcript.json
├── blog-post.md
├── shorts/
│   ├── highlight-clip.mp4
│   ├── highlight-clip-portrait.mp4
│   └── highlight-clip/posts/
├── medium-clips/
│   └── topic-deep-dive.mp4
├── chapters/
│   ├── chapters.json
│   └── chapters-youtube.txt
└── social-posts/
    ├── tiktok.md
    ├── youtube.md
    ├── instagram.md
    ├── linkedin.md
    └── x.md

Watch Mode

Want continuous processing? Point vidpipe at a folder:

bash
vidpipe --watch-dir ~/Videos/Recordings

Every new .mp4 dropped in that folder is automatically processed.


Verify Your Setup

Something not working? Run the doctor:

bash
vidpipe --doctor

This checks Node.js, FFmpeg, API keys, and folder permissions in one shot.


Prerequisites

What do I need installed?
RequirementVersionHow to Get It
Node.js20+nodejs.org
FFmpeg6.0+Auto-bundled on Windows x64, macOS, Linux x64. Others: see FFmpeg Setup
OpenAI API keyplatform.openai.com/api-keys — needed for transcription
GitHub CopilotActive subscriptionDefault AI provider. Alternatives: OpenAI or Claude

Optional:

ToolPurpose
GitAuto-commit output (on by default, skip with --no-git)
Exa AI keyWeb-search links in social posts and blog

Common First-Run Issues

SymptomFix
Missing required: OPENAI_API_KEYRun vidpipe init or set OPENAI_API_KEY in .env
FFmpeg errorsRun vidpipe --doctor — usually a missing or outdated install
No videos detectedCheck your --watch-dir path exists and contains .mp4 files
Slow first runNormal — Whisper API dominates. Cached transcripts speed up re-runs

Skip What You Don't Need

bash
# Transcription only (fastest)
vidpipe --no-silence-removal --no-shorts --no-social --no-captions --no-git /path/to/video.mp4

# Everything except social media
vidpipe --no-social /path/to/video.mp4

# No git commits (useful during testing)
vidpipe --no-git /path/to/video.mp4

Next Steps