ffmpeg-media

FFmpeg media processing. Video/audio transcoding, stream manipulation, and filter graphs.

16 stars

Best use case

ffmpeg-media is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

FFmpeg media processing. Video/audio transcoding, stream manipulation, and filter graphs.

Teams using ffmpeg-media should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ffmpeg-media/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/content-media/ffmpeg-media/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ffmpeg-media/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ffmpeg-media Compares

Feature / Agentffmpeg-mediaStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

FFmpeg media processing. Video/audio transcoding, stream manipulation, and filter graphs.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# FFmpeg Media Skill

**Trit**: +1 (PLUS - generative media transformation)  
**Foundation**: FFmpeg + libav + filter system  

## Core Concept

FFmpeg transforms media through:
- Container/codec transcoding
- Stream extraction and muxing
- Complex filter graphs
- Hardware acceleration

## Common Commands

```bash
# Transcode video
ffmpeg -i input.mp4 -c:v libx264 -crf 23 output.mp4

# Extract audio
ffmpeg -i video.mp4 -vn -c:a aac output.m4a

# Convert to GIF
ffmpeg -i input.mp4 -vf "fps=10,scale=320:-1" output.gif

# Cut segment
ffmpeg -i input.mp4 -ss 00:01:00 -t 00:00:30 -c copy segment.mp4

# Concat files
ffmpeg -f concat -i list.txt -c copy output.mp4
```

## Filter Graphs

```bash
# Scale and add text
ffmpeg -i input.mp4 \
  -vf "scale=1280:720,drawtext=text='Title':fontsize=24:x=10:y=10" \
  output.mp4

# Color adjustment
ffmpeg -i input.mp4 -vf "eq=brightness=0.1:saturation=1.2" output.mp4
```

## GF(3) Integration

```python
def trit_from_media_op(op: str) -> int:
    """Map FFmpeg operations to GF(3) trits."""
    if op in ["probe", "analyze", "check"]:
        return -1  # MINUS: verification
    elif op in ["copy", "remux", "extract"]:
        return 0   # ERGODIC: preservation
    else:
        return 1   # PLUS: transformation
```

## Canonical Triads

```
spi-parallel-verify (-1) ⊗ video-downloader (0) ⊗ ffmpeg-media (+1) = 0 ✓
mathpix-ocr (-1) ⊗ image-enhancer (0) ⊗ ffmpeg-media (+1) = 0 ✓
```



## Scientific Skill Interleaving

This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:

### Graph Theory
- **networkx** [○] via bicomodule
  - Universal graph hub

### Bibliography References

- `general`: 734 citations in bib.duckdb



## SDF Interleaving

This skill connects to **Software Design for Flexibility** (Hanson & Sussman, 2021):

### Primary Chapter: 1. Flexibility through Abstraction

**Concepts**: combinators, compose, parallel-combine, spread-combine, arity

### GF(3) Balanced Triad

```
ffmpeg-media (○) + SDF.Ch1 (+) + [balancer] (−) = 0
```

**Skill Trit**: 0 (ERGODIC - coordination)


### Connection Pattern

Combinators compose operations. This skill provides composable abstractions.
## Cat# Integration

This skill maps to **Cat# = Comod(P)** as a bicomodule in the equipment structure:

```
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
```

### GF(3) Naturality

The skill participates in triads satisfying:
```
(-1) + (0) + (+1) ≡ 0 (mod 3)
```

This ensures compositional coherence in the Cat# equipment structure.

Related Skills

social-media-scheduler

16
from diegosouzapw/awesome-omni-skill

Generate a full week of social media content for any topic. Outputs platform-optimized posts for Twitter/X, LinkedIn, and Instagram with hashtags and posting times.

social-media-manager

16
from diegosouzapw/awesome-omni-skill

Agente especialista em Social Media para múltiplas empresas (Multi-tenant). Cria estratégias semanais, gerencia perfis de marca e gera conteúdo (texto e imagem) em massa para publicação manual.

Media Uploader - R2/S3 with video download

16
from diegosouzapw/awesome-omni-skill

Upload files or download videos from popular platforms (YouTube, Vimeo, Bilibili, etc.) and upload to Cloudflare R2, AWS S3, or any S3-compatible storage with secure presigned download links.

media-generation

16
from diegosouzapw/awesome-omni-skill

Generate images, videos, and audio using Google's Gemini APIs. Use for image generation/editing (Gemini 3 Pro Image), video generation (Veo 3), and speech (TBD). Trigger words - images: generate, create, draw, design, make, edit, modify image/picture. Video: generate video, create video, animate, make a video. Supports text-to-image, image-to-image editing, text-to-video, and image-to-video.

marketing-social-media

16
from diegosouzapw/awesome-omni-skill

Sustainable social media marketing and paid social: content systems, community management, influencer ops, social commerce, and attribution (2026).

instagram-social-media

16
from diegosouzapw/awesome-omni-skill

Atua como um especialista em social media para Instagram, criando conteúdos altamente alinhados com a identidade da marca. Use esta habilidade sempre que o usuário quiser criar posts, stories, legendas ou estratégias para o Instagram.

ffmpeg

16
from diegosouzapw/awesome-omni-skill

Guide for using FFmpeg - a comprehensive multimedia framework for video/audio encoding, conversion, streaming, and filtering. Use when processing media files, converting formats, extracting audio, creating streams, applying filters, or optimizing video/audio quality.

ffmpeg-usage

16
from diegosouzapw/awesome-omni-skill

ffmpeg recipes and best practices: convert, concatenate, merge, resize, compress, GIF creation, audio extraction, subtitles, optimize for social platforms.

cv181x-media

16
from diegosouzapw/awesome-omni-skill

Expert guide for CV181X/CV182X/CV180X (SG200X) multimedia development using CVI MPI API. Use this skill when working with: VI (video input/camera/ISP), VPSS (video processing/scaling/crop), VENC (H.264/H.265/JPEG encoding), VDEC (decoding), VB (video buffer pools), SYS binding, or any CVI_* API calls. Covers camera pipeline setup, offline VPSS processing, VB pool planning, and error diagnosis (ERR_VPSS_NOBUF, ERR_VB_NOBUF). API details in references/.

athlete-social-media-manager

16
from diegosouzapw/awesome-omni-skill

Create brand-safe content for athletes. Personal branding strategy, engagement optimization, crisis communication, sponsor integration.

adverse-media

16
from diegosouzapw/awesome-omni-skill

Search for negative news coverage, controversies, and reputational risks associated with individuals or companies across news sources and media databases

acc-create-mediator

16
from diegosouzapw/awesome-omni-skill

Generates Mediator pattern for PHP 8.5. Creates coordination layer for complex component interactions with event dispatching, request/response handling, and colleague classes. Reduces coupling between interacting objects. Includes unit tests.