Update usage

This commit is contained in:
Romain Neutron 2012-09-03 14:55:04 +02:00
commit 32cdeb7d48

View file

@ -17,7 +17,6 @@ Browse the [API](http://readthedocs.org/docs/ffmpeg-php/en/latest/_static/API/)
##Usage Example ##Usage Example
```php ```php
<?php
$x264 = new X264(); $x264 = new X264();
$x264->setDimensions(320, 240); $x264->setDimensions(320, 240);
@ -28,6 +27,16 @@ $ffmpeg->open('Video.mpeg')
->close(); ->close();
``` ```
##Using with Silex Microframework
```php
use FFMpeg\SilexServiceProvider;
use Silex\Application;
$app = new Application();
$app->register(new FFMpegServiceProvider());
```
##License ##License
This project is licensed under the [MIT license](http://opensource.org/licenses/MIT). This project is licensed under the [MIT license](http://opensource.org/licenses/MIT).