DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to turn a talking-head video into a captioned TikTok with Ffmpeg Skill

One render command crops to 9:16, burns in your cue text and normalizes loudness for TikTok.

Short answer: Install the skill with npx ffmpeg-skill and confirm the tools are usable with npx ffmpeg-skill doctor; then write your caption lines into a cues file, one cue per line, with the text as you want it burned in; run python3 $S/render.py talk.mp4 --template tiktok --cues cues.txt, after setting S to the skill's scripts folder. All steps.

  • Content
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Cursor
  • Codex

Who it is forA creator with a talking-head recording and a text file of caption cues, who wants a finished TikTok without learning FFmpeg.

The problemCaptioning, reframing, loudness and platform export are separate steps, and the caption text has to sit clear of the app's own UI.

The outcomeA TikTok-ready file with popped captions above the description bar, around -14 LUFS, plus a check report written by the skill.

What you need first

  • ffmpeg and ffprobe on your PATH (run `npx ffmpeg-skill doctor` to check)
  • python3 on your PATH (on Windows, `python` or the `py` launcher may be needed instead)
  • Node.js, for `npx ffmpeg-skill`
  • A coding agent such as Claude Code, Cursor or Codex, or any MCP client

Steps

  1. Install the skill with npx ffmpeg-skill and confirm the tools are usable with npx ffmpeg-skill doctor.
  2. Write your caption lines into a cues file, one cue per line, with the text as you want it burned in.
  3. Run python3 $S/render.py talk.mp4 --template tiktok --cues cues.txt, after setting S to the skill's scripts folder.
  4. Find the output next to the input, or use -o to choose another folder, and confirm the check.py result for TikTok.

Prompt for your agent

Using the ffmpeg-skill repo, render <talk video> with the tiktok template and the cues file <cues.txt>. Expected output: a 9:16 TikTok MP4 with captions and a platform check written next to it. Verify the check result and the output resolution before reporting success.

Caveat. The cue text is burned in exactly as written, so the wording and line breaks are your responsibility.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for kajisho5/ffmpeg-skill and "Turn a talking-head video into a captioned TikTok"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer