Skip to content
Back to skills

Ffmpeg Media

ASecurity

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

  • 666 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added February 8, 2026
developmentpythongobash

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill ffmpeg-media --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ffmpeg Media?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ffmpeg Media
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ffmpeg-media/badge)](https://www.skillsdirectory.com/skills/majiayu000-ffmpeg-media)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ffmpeg-media
description: FFmpeg media processing. Video/audio transcoding, stream manipulation, and filter graphs.
version: 1.0.0
---


# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.