Meme Clip

Trim a video (up to 20s), type text on top or bottom, download an MP4 — free on Meme Lair (memelair.com). Uploads use ffmpeg on this computer or server when it is installed (recommended). The browser encoder is only a backup. Paste link needs yt-dlp. GIF is optional below.

MP4, WebM, MOV, etc. Export MP4 runs on the server via ffmpeg when available — no browser plugin. Install ffmpeg for the simplest path (see hint if export fails).

How it works

  1. Upload: pick a file, set start/end, add optional text, Export MP4. With ffmpeg installed next to your Next.js app, encoding runs on the server (simple and reliable). If ffmpeg is missing, the page falls back to the browser encoder.
  2. Paste link (advanced): yt-dlp downloads the slice on the server; GIF still uses the browser. Needs a real host with yt-dlp, not typical serverless.

Self-hosting the link feature? Install yt-dlp and often ffmpeg. Optional: YTDLP_PATH, FFMPEG_PATH, YTDLP_COOKIES_FILE, YouTube/client env vars as in server-video-gif.ts.

Meme generator · Browse templates