Live
Black Hat USAAI BusinessBlack Hat AsiaAI BusinessAI models will deceive you to save their own kindThe Register AI/MLArtificial Scarcity, Meet Artificial Intelligence - Health API GuyGoogle News: AIShow HN: Currant – Anonymus social media for NON-AI agentsHacker News AI TopGenesis Agent – A self-modifying AI agent that runs local (Electron, Ollama)Hacker News AI Topb8640llama.cpp ReleasesTourism Tech Revolution in Japan is Changing Everything: Aurora Mobile Unleashes AI That Talks to Tourists Like a Local! - Travel And Tour WorldGNews AI JapanUniversity of Chicago's "self-driving" lab automates experiments in quantum computing research - CBS NewsGoogle News: AIGoogle launches Gemma 4, a new open-source model: How to try it - MashableGoogle News: GeminiMajority of college students use AI for their coursework, poll finds - upi.comGNews AI USAI Tried Building My Own AI… Here’s What Actually HappenedDEV CommunityShow HN: OpenVole – VoleNet Distributed AI Agent NetworkingHacker News AI TopFilesystem for AI Agents: What I Learned Building OneDEV CommunityBlack Hat USAAI BusinessBlack Hat AsiaAI BusinessAI models will deceive you to save their own kindThe Register AI/MLArtificial Scarcity, Meet Artificial Intelligence - Health API GuyGoogle News: AIShow HN: Currant – Anonymus social media for NON-AI agentsHacker News AI TopGenesis Agent – A self-modifying AI agent that runs local (Electron, Ollama)Hacker News AI Topb8640llama.cpp ReleasesTourism Tech Revolution in Japan is Changing Everything: Aurora Mobile Unleashes AI That Talks to Tourists Like a Local! - Travel And Tour WorldGNews AI JapanUniversity of Chicago's "self-driving" lab automates experiments in quantum computing research - CBS NewsGoogle News: AIGoogle launches Gemma 4, a new open-source model: How to try it - MashableGoogle News: GeminiMajority of college students use AI for their coursework, poll finds - upi.comGNews AI USAI Tried Building My Own AI… Here’s What Actually HappenedDEV CommunityShow HN: OpenVole – VoleNet Distributed AI Agent NetworkingHacker News AI TopFilesystem for AI Agents: What I Learned Building OneDEV Community
AI NEWS HUBbyEIGENVECTOREigenvector

How I built a browser-based video editor with FFmpeg.wasm (no backend, no server costs)

DEV Communityby gvmaplicacionesApril 1, 20263 min read0 views
Source Quiz

<p>I got tired of opening CapCut every time I needed to quickly join 2-3 clips. Too many menus, too many features I'll never use. So I built my own.<br> <strong><a href="https://www.2minclip.com" rel="noopener noreferrer">2minclip.com</a></strong> — a free online video editor that runs entirely in the browser. No install, no signup, no watermark.<br> Here's how I built it and what I learned.</p> <h2> The core idea </h2> <p>The concept is simple: ilovepdf but for video. You open the browser, upload your clips, edit, export. That's it. No account, no server processing, no storage costs.<br> The key technical decision was using <strong>FFmpeg.wasm</strong> — a WebAssembly port of FFmpeg that runs entirely in the browser. This means:</p> <ul> <li>Zero server costs (users process video on their

I got tired of opening CapCut every time I needed to quickly join 2-3 clips. Too many menus, too many features I'll never use. So I built my own. 2minclip.com — a free online video editor that runs entirely in the browser. No install, no signup, no watermark. Here's how I built it and what I learned.

The core idea

The concept is simple: ilovepdf but for video. You open the browser, upload your clips, edit, export. That's it. No account, no server processing, no storage costs. The key technical decision was using FFmpeg.wasm — a WebAssembly port of FFmpeg that runs entirely in the browser. This means:

  • Zero server costs (users process video on their own device)

  • Complete privacy (videos never leave the user's device)

  • No backend to maintain

Tech stack

  • React + Vite — fast dev experience, easy deployment

  • FFmpeg.wasm — video processing in the browser

  • Tailwind CSS — styling

  • dnd-kit — drag and drop for the timeline

  • i18next — ES/EN internationalization

  • Vercel — deployment (free tier covers everything) Total infrastructure cost: ~12€/year for the domain. That's it.

The biggest challenge: audio streams

The hardest bug I ran into was this FFmpeg error: Stream specifier ':a' matches no streams It happened when a clip had no audio track. FFmpeg was trying to extract [0:a] from a silent video and failing. The fix was to detect whether each clip has audio before building the filtergraph, and generate silence (aevalsrc=0) for clips without audio.

What it does

  • Upload multiple clips at once (MP4, MOV, WebM)

  • Choose canvas: 9:16 / 16:9 / 1:1

  • Trim with playhead + split button

  • Reorder by dragging

  • Adjust speed (0.5x, 1x, 2x)

  • Flip and rotate clips

  • Add audio tracks with volume control and fade out

  • Add text with fonts and colors

  • Overlay images and videos

  • Export to MP4 H.264 — no watermark, no limits

Lessons learned

FFmpeg.wasm is powerful but slow on mobile. For clips under 60 seconds it works fine. For longer videos on low-end devices it can struggle. The canvas-first approach is better UX. Choosing the output format before editing eliminates confusion and produces predictable results. SEO matters from day one. Since this is a tool people search for when they need it, organic search is the main acquisition channel.

Try it

2minclip.com — free, no account, works on mobile and desktop. Would love feedback — especially if you've worked with FFmpeg.wasm and have tips on improving export performance on mobile.

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

Knowledge Map

Knowledge Map
TopicsEntitiesSource
How I built…featureacquisitionnationalDEV Communi…

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 146 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Products