1. Habit
  2. Skills
  3. FFmpeg skill
digitalsamba · 11K installs

FFmpeg skill
Runs by itself, every time a new video is made.

Every new video is ready for each site in the right size.

Install the FFmpeg skill and make it a habit: follow https://gethabit.dev/skills/digitalsamba/ffmpeg.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

11K installs2K starsMIT licenceSource on GitHub ↗

FFmpeg

by digitalsamba · 11K installs

The skill

Converts, shrinks and cuts video files.

Only when you ask.

Time saved

Every new video is ready for each site in the right size. Time saved.

↻ Runs by itselfevery time a new video is made

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one master render, four platform exports and at most one retry each.

  1. 01

    Inspect the master

    Your agent reads duration, resolution and codecs of out/video.mp4 with ffprobe.

  2. 02

    Export per platform

    FFmpeg writes out/video-youtube.mp4, out/video-twitter.mp4, out/video-linkedin.mp4 and out/video-web.mp4 with the settings for each.

  3. 03

    Make a preview

    It renders a short out/preview.gif with a generated palette.

  4. 04

    Validate outputs

    ffprobe checks that every export has a video stream and fits the platform limits.

  5. 05

    Fix and retry

    If a file is too large it raises CRF or lowers resolution and exports again.

  6. 06

    Log the run

    The run log records settings, file sizes and any failed export.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the FFmpeg skill helps.

Use it when

  • ✓ you prepare assets for Remotion
  • ✓ you export one video for many platforms
  • ✓ you convert GIF to MP4

Skip it when

  • – you edit video on a timeline
  • – you need live streaming setup

Questions

FFmpeg skill, answered.

Does the loop upload the videos?

No. It only writes the platform files into out/. Uploading stays with you.

Why not use Remotion playbackRate for speed changes?

The skill notes that playbackRate must be constant, so variable or extreme speed changes are better done in FFmpeg first.

How do I install the FFmpeg skill?

Copy the prompt at the top into your agent. It installs the skill from digitalsamba/claude-code-video-toolkit and sets up the habit. Or run npx skills add digitalsamba/claude-code-video-toolkit --skill ffmpeg.

Is the FFmpeg skill free?

Yes. It is published under MIT. Habit is free too.

FFmpeg. Now as a habit.

Install the FFmpeg skill and make it a habit: follow https://gethabit.dev/skills/digitalsamba/ffmpeg.md

  • Free
  • No account
  • Undo in one line

All digitalsamba skills →More content skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by digitalsamba, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.