PHPackages                             renus/media - 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. renus/media

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

renus/media
===========

Symfony Bundle to handle image and video

0.5(10y ago)2170MITPHP

Since Apr 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/renus/media)[ Packagist](https://packagist.org/packages/renus/media)[ RSS](/packages/renus-media/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

RenusMediaBundle
================

[](#renusmediabundle)

RenusMediaBundle is a collection of code within a Symfony 2 Bundle to handle image and video, you can create an image or animated gif from a video source or resize, obfuscate and crop an image in Symfony 2.

To use RenusMediaBundle in your project add it via composer

Installation
============

[](#installation)

prerequisites
-------------

[](#prerequisites)

To use RenusMediaBundle you must install and know the path of 'ffmpeg' binary (on Debian):

```
apt-get install ffmpeg php5-ffmpeg php5-imagick

```

configuration
-------------

[](#configuration)

if you use a non standard Debian installation, you must specify the path to ffmpeg in your parameters file :

```
parameters:
  binary: '/usr/bin/ffmpeg'

```

installation
------------

[](#installation-1)

1. Add this bundle to your project in composer.json:

```
{
    "require": {
        "renus/media": "0.*",
    }
}
```

2. Install with composer

```
composer.phar require renus/media dev-master
```

3. Register the bundle

```
