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. [Image &amp; Media](/categories/media)
4. /
5. elisevgeniy/yii2-ffmpeg

ActiveYii2-extension[Image &amp; Media](/categories/media)

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)1BSD-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 1mo ago

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

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 64% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community14

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

2366d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2894331?v=4)[elisevgeniy](/maintainers/elisevgeniy)[@elisevgeniy](https://github.com/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

[trntv/yii2-glide

Yii2 Glide Extension

41269.5k9](/packages/trntv-yii2-glide)[bilginnet/yii2-cropper

Yii2 Bootstrap Cropper Input Widget

2232.1k](/packages/bilginnet-yii2-cropper)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)[developit/yii2-jcrop

 yii2 image cropping extension

101.5k](/packages/developit-yii2-jcrop)

PHPackages © 2026

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