PHPackages                             ne0bot/ffmpeg-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. ne0bot/ffmpeg-php

ActiveLibrary[Image &amp; Media](/categories/media)

ne0bot/ffmpeg-php
=================

PHP wrapper for FFmpeg application

2.9.0(9y ago)019New BSDPHPPHP &gt;=5.3

Since May 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ne0bot/ffmpeg-php)[ Packagist](https://packagist.org/packages/ne0bot/ffmpeg-php)[ Docs](http://freecode.com/projects/ffmpegphp)[ RSS](/packages/ne0bot-ffmpeg-php/feed)WikiDiscussions PSR-4-develop Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

[![https://circleci.com/gh/char0n/ffmpeg-php.svg?style=svg](https://camo.githubusercontent.com/768d817f455184f8266e3e2dbf4bbf9616ccd087b085fa3b239762cb6470d6f0/68747470733a2f2f636972636c6563692e636f6d2f67682f63686172306e2f66666d7065672d7068702e7376673f7374796c653d737667)](https://circleci.com/gh/char0n/ffmpeg-php)FFmpegPHP
---------

[](#ffmpegphp)

FFmpegPHP is a pure OO PHP port of ffmpeg-php (written in C). It adds an easy to use, object-oriented API for accessing and retrieving information from video and audio files. It has methods for returning frames from movie files as images that can be manipulated using PHP image functions. This works well for automatically creating thumbnail images from movies. FFmpegPHP is also useful for reporting the duration and bitrate of audio files (mp3, wma...). FFmpegPHP can access many of the video formats supported by ffmpeg (mov, avi, mpg, wmv...)

### Requirements

[](#requirements)

- PHP 5.3 and higher
- ffmpeg or ffprobe

### Tests

[](#tests)

**Tested environment**

- Xubuntu Linux 12.04.2 LTS precise 64-bit
- ffmpeg version N-37798-gcd1c12b
- PHPUnit 3.7.18
- PHP 5.3.10

**Running tests**

To run the test install phpunit () and run:

```
$ phpunit --configuration="test/phpunit.xml"
```

### Installation

[](#installation)

or download package from github.com:

```
$ wget http://github.com/char0n/ffmpeg-php/tarball/master
```

or to install via composer () place the following in your composer.json file:

```
{
   "require": {
       "char0n/ffmpeg-php": "dev-master"
   }
}
```

### Using FFmpegPHP

[](#using-ffmpegphp)

Package downloaded from github.com and unpacked into certain directory:

```
require_once 'PATH_TO_YOUR_DIRECTORY/FFmpegAutoloader.php';
```

### Author

[](#author)

char0n (Vladimír Gorej.)

email:

web:

### Documentation

[](#documentation)

FFmpegPHP API documentation:

FFmpegPHP documentation can be build from source code using PhpDocumentor with following commnad:

```
$ phpdoc -d . -t docs --ignore="test/*"
```

### References

[](#references)

-
-
-
-
-
-

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1370 days

Total

2

Last Release

3434d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2814336?v=4)[Ne0 is not a Bot](/maintainers/ne0bot)[@ne0bot](https://github.com/ne0bot)

---

Top Contributors

[![char0n](https://avatars.githubusercontent.com/u/193286?v=4)](https://github.com/char0n "char0n (77 commits)")[![robwalch](https://avatars.githubusercontent.com/u/333258?v=4)](https://github.com/robwalch "robwalch (7 commits)")[![ne0bot](https://avatars.githubusercontent.com/u/2814336?v=4)](https://github.com/ne0bot "ne0bot (4 commits)")[![nabeelio](https://avatars.githubusercontent.com/u/99736?v=4)](https://github.com/nabeelio "nabeelio (4 commits)")[![ABM-Dan](https://avatars.githubusercontent.com/u/16050346?v=4)](https://github.com/ABM-Dan "ABM-Dan (1 commits)")[![theMadness](https://avatars.githubusercontent.com/u/160864?v=4)](https://github.com/theMadness "theMadness (1 commits)")[![danielholmes](https://avatars.githubusercontent.com/u/349833?v=4)](https://github.com/danielholmes "danielholmes (1 commits)")[![glensc](https://avatars.githubusercontent.com/u/199095?v=4)](https://github.com/glensc "glensc (1 commits)")[![nburka](https://avatars.githubusercontent.com/u/1284966?v=4)](https://github.com/nburka "nburka (1 commits)")

---

Tags

audiovideoffmpeg

### Embed Badge

![Health badge](/badges/ne0bot-ffmpeg-php/health.svg)

```
[![Health](https://phpackages.com/badges/ne0bot-ffmpeg-php/health.svg)](https://phpackages.com/packages/ne0bot-ffmpeg-php)
```

###  Alternatives

[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k24.0M185](/packages/php-ffmpeg-php-ffmpeg)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

495274.0k1](/packages/codescale-ffmpeg-php)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

496240.6k1](/packages/char0n-ffmpeg-php)[buggedcom/phpvideotoolkit

PHPVideoToolkit is a set of classes aimed to provide a modular, object oriented and accessible interface for interacting with videos and audio through the FFmpeg program.

25984.0k1](/packages/buggedcom-phpvideotoolkit)[pulse00/ffmpeg-bundle

Symfony bundle to provide PHP-FFmpeg as a Symfony service (https://github.com/alchemy-fr/PHP-FFmpeg)

57454.0k1](/packages/pulse00-ffmpeg-bundle)[fmonts/ffmpeg-bundle

Symfony bundle to provide PHP-FFmpeg as a Symfony service (https://github.com/PHP-FFMpeg/PHP-FFMpeg/)

12215.2k](/packages/fmonts-ffmpeg-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
