# lucemia/typed-ffmpeg

Type-safe FFmpeg bindings for Python & TypeScript — filters, typing, and docs

Repository: https://github.com/lucemia/typed-ffmpeg
Canonical: https://ross.abutalabs.com/products/typed-ffmpeg
Homepage: https://lucemia.github.io/typed-ffmpeg/
Language: TypeScript
License: MIT
License Family: permissive
Topics: ffmpeg, ffmpeg-python, ffmpeg-wrapper, media, media-processing, multi-media, python, typing, npm, typescript, ffmpeg-typescript
Last push: 2026-08-23T12:47:26+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 72
- inputs: {"age_days": 1013, "days_push": 10, "days_rel": 11, "gap_med": 4.0, "n_releases_24m": 47}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1163, forks 21 (observed 2026-08-28T04:03:49.588643+00:00)

## What it is
typed-ffmpeg is a type-safe wrapper library around FFmpeg for Python and TypeScript, providing IDE-friendly construction of media filter graphs with full typing and inline documentation. It supports JSON serialization of filter graphs, graph visualization, validation, and media file analysis via ffprobe.

## Use cases
- build ffmpeg filter graphs with type checking in python
- generate ffmpeg commands programmatically with autocomplete
- serialize and reload ffmpeg filter graphs as
- probe media file metadata with ffprobe from python
- construct complex video/audio filter pipelines without shell strings
- visualize ffmpeg filter graphs for debugging

## When to choose
- you want type-safe, IDE-friendly ffmpeg bindings instead of raw command strings
- you need to build, validate, and reuse complex filter graphs programmatically
- you want zero-dependency python bindings for ffmpeg
- you need multi-version ffmpeg support with per-version packages

## When to avoid
- you need to actually decode/encode media inside your process rather than shelling out to ffmpeg
- you need a GUI for video editing
- your project does not use python or typescript

## Facets
- artifact type: library
- maturity: active
- function: video-processing, audio-processing, serialization, developer-tools
- domain: media, developer-tools
- platform: python, cross-platform
- tags: ffmpeg, type-safe, filter-graph, media-processing, ffprobe, code-generation, video, automation, typescript, nodejs

## Member repositories
- lucemia/typed-ffmpeg (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.588643+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:34.259903+00:00, confidence not recorded.
  - readme: https://github.com/lucemia/typed-ffmpeg (fetched 2026-08-28T04:03:49.588643+00:00, sha 88f2840085b2)
  - homepage: https://lucemia.github.io/typed-ffmpeg/ (fetched 2026-08-29T12:36:04.552548+00:00, sha d9810c8eb011)
- Data as of 2026-08-30T08:39:29.467469+00:00.
