PHPackages                             olaferlandsen/ffmpeg-php-class - 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. olaferlandsen/ffmpeg-php-class

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

olaferlandsen/ffmpeg-php-class
==============================

FFmpeg class to use with PHP without install FFmpeg-PHP extension

0.1.4(10y ago)105.8k5[1 issues](https://github.com/olaferlandsen/ffmpeg-php-class/issues)[1 PRs](https://github.com/olaferlandsen/ffmpeg-php-class/pulls)3MITPHPPHP &gt;=5.3.0

Since Nov 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/olaferlandsen/ffmpeg-php-class)[ Packagist](https://packagist.org/packages/olaferlandsen/ffmpeg-php-class)[ Docs](https://github.com/olaferlandsen/ffmpeg-php-class)[ RSS](/packages/olaferlandsen-ffmpeg-php-class/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (3)

[![Donate](https://camo.githubusercontent.com/404dd5ff389d9aedf569763c7dbacd835dbb5c1c030ea39cb4ddae12fbddc892/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f65735f58432f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8TJZSNT5JQUXL)

FFmpeg Class ( Without `ffmpeg-php` )
=====================================

[](#ffmpeg-class--without-ffmpeg-php-)

A complete cross-platform class for using FFmpeg written in PHP 5.3+

> **IMPORTANT!**

> This class DON'T depend/need of `ffmpeg-php` php extension.

Requirements
------------

[](#requirements)

- FFmpeg 0.5.12+
- PHP 5.3+
    - PCRE( Perl-Compatible )

Install
-------

[](#install)

You can download FFmpeg class via Github [here](https://github.com/olaferlandsen/ffmpeg-php-class/archive/master.zip)

Or If you want install via Composer, try with `composer require olaferlandsen/ffmpeg-php-class`

Examples
--------

[](#examples)

### Example #1: Input &amp; output.

[](#example-1-input--output)

```
