PHPackages                             elisevgeniy/yii2-ffmpeg - 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. elisevgeniy/yii2-ffmpeg

ActiveYii2-extension

elisevgeniy/yii2-ffmpeg
=======================

convert media from one format to other

1.0.5(6y ago)25591[1 issues](https://github.com/elisevgeniy/yii2-ffmpeg/issues)BSD-3-ClausePHP

Since Sep 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/elisevgeniy/yii2-ffmpeg)[ Packagist](https://packagist.org/packages/elisevgeniy/yii2-ffmpeg)[ RSS](/packages/elisevgeniy-yii2-ffmpeg/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (7)Used By (0)

FFMPEG
======

[](#ffmpeg)

convert media from one format to other

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist elisevgeniy/yii2-ffmpeg "*"

```

or add

```
"elisevgeniy/yii2-ffmpeg": "*"

```

to the require section of your `composer.json` file.

Configuration
-------------

[](#configuration)

Install ffmpeg in your system if not installed. To use this extension, you have to configure the Connection class in your application configuration:

return \[ //.... 'components' =&gt; \[ 'ffmpeg' =&gt; \['class' =&gt; '\\rbtphp\\ffmpeg\\Ffmpeg', 'path' =&gt; '/usr/bin/ffmpeg' \], \] \];

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
$args = array('type' => 'audio/video/image',
			'input_file' => '/home/user/Pictures/movie.mp4',
			'output_file' => '/home/user/Pictures/movie.mov',
			'audio_bit_rate' => '20k',
			'video_bit_rate' => '10k',
			'thumbnail_image' => '/home/user/Pictures/movie.gif',
			'thumbnail_generation' => 'yes/no',
			'thumbnail_size' => '100x100'
		);

echo Yii::$app->ffmpeg->ffmpeg($args);```
```

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 55.6% 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 ~161 days

Recently: every ~201 days

Total

6

Last Release

2314d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b8a6845c55f86b07ad4b712026c0e712a81995b3554b0c4fd2589f3dd60cabc?d=identicon)[elisevgeniy](/maintainers/elisevgeniy)

---

Top Contributors

[![raheem12](https://avatars.githubusercontent.com/u/22609830?v=4)](https://github.com/raheem12 "raheem12 (10 commits)")[![elisevgeniy](https://avatars.githubusercontent.com/u/2894331?v=4)](https://github.com/elisevgeniy "elisevgeniy (5 commits)")[![AbdulRaheem123](https://avatars.githubusercontent.com/u/31682120?v=4)](https://github.com/AbdulRaheem123 "AbdulRaheem123 (3 commits)")

---

Tags

ffmpegyii2extension

### Embed Badge

![Health badge](/badges/elisevgeniy-yii2-ffmpeg/health.svg)

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

###  Alternatives

[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1356.4k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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