# PHP-FFMpeg/PHP-FFMpeg

An object oriented PHP driver for FFMpeg binary

Repository: https://github.com/PHP-FFMpeg/PHP-FFMpeg
Canonical: https://ross.abutalabs.com/products/php-ffmpeg
Language: PHP
License: MIT
License Family: permissive
Last push: 2026-01-19T21:16:04+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 63, release rhythm 54, longevity 100
- inputs: {"age_days": 5255, "days_push": 226, "days_rel": 226, "gap_med": 81, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5017, forks 893 (observed 2026-08-28T04:09:04.731332+00:00)

## What it is
An object-oriented PHP library that wraps the FFmpeg/AVConv binaries for converting and manipulating video and audio files. It provides a fluent API for opening media, applying filters, extracting frames, and exporting to multiple formats.

## Use cases
- convert uploaded videos to mp4 webm and other formats in a php app
- extract thumbnail frames from video files
- resize and transcode audio and video with ffmpeg from php
- build a video processing pipeline in laravel or symfony
- generate multiple format exports of a single media file

## When to choose
- you need to drive ffmpeg from PHP with a clean object-oriented API
- your app runs on PHP 8+ and ffmpeg/ffprobe binaries are available on the host
- you want simple transcoding, filtering, and frame extraction without shelling out manually

## When to avoid
- you need fine-grained control over every ffmpeg flag or exotic filters not exposed by the API
- you cannot install ffmpeg/ffprobe binaries on the server
- you work in a non-PHP stack or need real-time streaming processing

## Facets
- artifact type: library
- maturity: active
- function: video-processing, audio-processing, image-processing
- domain: media, developer-tools, web-development
- platform: php, cross-platform
- tags: ffmpeg, video-conversion, audio-conversion, transcoding, object-oriented-wrapper

## Member repositories
- PHP-FFMpeg/PHP-FFMpeg (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:04.731332+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-29T18:17:31.329449+00:00, confidence not recorded.
  - readme: https://github.com/PHP-FFMpeg/PHP-FFMpeg (fetched 2026-08-28T04:09:04.731332+00:00, sha fccfe456ba16)
- Data as of 2026-08-30T08:39:29.467469+00:00.
