FFmpeg Format Conversion

FFmpeg Format Conversion is a skill for Claude Code, Codex from xuansenpa1/skillrevise. It costs 21 tokens per session (920 once invoked), scanned A, a copy of ffmpeg-format-conversion, MIT.

A set of FFmpeg commands for converting media between containers, formats, and codecs. A codec is the method used to encode audio or video.

In plain words
What is it for?
It is for converting video and audio formats, changing codecs, and copying streams without re-encoding when appropriate.
Why use it?
It helps make files compatible with different players, platforms, and delivery requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for converting video and audio formats, changing codecs, and copying streams without re-encoding when appropriate.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuansenpa1/skillrevise/ffmpeg-format-conversion
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xuansenpa1/skillrevise --skill ffmpeg-format-conversion
Clone the repo
git clone --depth 1 https://github.com/xuansenpa1/skillrevise

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for FFmpeg Format Conversion

README.md
[![agentmods](https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/ffmpeg-format-conversion/github.svg)](https://agentmods.dev/skills/xuansenpa1/skillrevise/ffmpeg-format-conversion)
Your own site
<a href="https://agentmods.dev/skills/xuansenpa1/skillrevise/ffmpeg-format-conversion"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/ffmpeg-format-conversion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for FFmpeg Format Conversion

Your own site · 80×15
<a href="https://agentmods.dev/skills/xuansenpa1/skillrevise/ffmpeg-format-conversion"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/ffmpeg-format-conversion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 920 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00920
Opus 5.5 $0.00008 $0.00368
Sonnet 5.5 $0.00004 $0.00184
Haiku 4.5 $0.00002 $0.00092

Measured 2mo ago against content hash e8680599c219, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

FFmpeg Format Conversion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to ffmpeg-format-conversion — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

data/skillsbench/tasks/multilingual-video-dubbing/environment/skills/ffmpeg-format-conversion/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FFmpeg Format Conversion Skill

Convert media files between different formats and containers.

When to Use

  • Convert video containers (MP4, MKV, AVI, etc.)
  • Convert audio formats (MP3, AAC, WAV, etc.)
  • Transcode to different codecs
  • Copy streams without re-encoding (fast)

Basic Conversion

# Convert container format (re-encode)
ffmpeg -i input.avi output.mp4

# Copy streams without re-encoding (fast, no quality loss)
ffmpeg -i input.mp4 -c copy output.mkv

# Convert with specific codec
ffmpeg -i input.mp4 -c:v libx264 -c:a aac output.mp4

Video Codec Conversion

# H.264
ffmpeg -i input.mp4 -c:v libx264 output.mp4

# H.265 (better compression)
ffmpeg -i input.mp4 -c:v libx265 output.mp4

# VP9 (web optimized)
ffmpeg -i input.mp4 -c:v libvpx-vp9 output.webm

# AV1 (modern codec)
ffmpeg -i input.mp4 -c:v libaom-av1 output.mp4

Audio Format Conversion

# MP3
ffmpeg -i input.wav -acodec libmp3lame -q:a 2 output.mp3

# AAC
ffmpeg -i input.wav -c:a aac -b:a 192k output.m4a

# Opus (best quality/bitrate)
ffmpeg -i input.wav -c:a libopus -b:a 128k output.opus

# FLAC (lossless)
ffmpeg -i input.wav -c:a flac output.flac

Quality Settings

# CRF (Constant Rate Factor) - lower is better quality
ffmpeg -i input.mp4 -c:v libx264 -crf 23 output.mp4

# Bitrate
ffmpeg -i input.mp4 -b:v 2M -b:a 192k output.mp4

# Two-pass encoding (best quality)
ffmpeg -i input.mp4 -c:v libx264 -b:v 2M -pass 1 -f null /dev/null
ffmpeg -i input.mp4 -c:v libx264 -b:v 2M -pass 2 output.mp4

Presets

# Encoding speed presets (faster = larger file)
ffmpeg -i input.mp4 -c:v libx264 -preset fast output.mp4
# Options: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow

# Quality presets
ffmpeg -i input.mp4 -c:v libx264 -preset slow -crf 18 output.mp4

Batch Conversion

# Convert all MKV to MP4
for f in *.mkv; do
  ffmpeg -i "$f" -c copy "${f%.mkv}.mp4"
done

# Convert with re-encoding
for f in *.avi; do
  ffmpeg -i "$f" -c:v libx264 -c:a aac "${f%.avi}.mp4"
done

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 121 lines · 21 tokens per session scan A e8680599c219

Subscribe to this mod's changes

FFmpeg Format Conversion is a skill published in the GitHub repository xuansenpa1/skillrevise (58 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 920 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to ffmpeg-format-conversion, differing in 2 lines, and is treated as a copy.

Related

FFmpeg Format Conversion compared with skills from other repositories

FFmpeg Format Conversion next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
FFmpeg Format Conversionxuansenpa1/skillreviseSkill582mo agoMITA21Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code