This project is abandoned, a new project to continue this functionality is created.
NEW PROJECT SonataMediaProviderVideoBundle
$ php composer.phar require phansys/getid3:~2.1@dev
There are a problem installing from composer.json of this bundle, issue #16
$ php composer.phar require xmon/video-bundle
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Maesbox\VideoBundle\MaesboxVideoBundle(),
// ...
);
}
You can configure default parameters
maesbox_video:
ffmpeg_binary: "/usr/local/bin/ffmpeg" # Required, ffmpeg binary path
ffprobe_binary: "/usr/local/bin/ffprobe" # Required, ffprobe binary path
binary_timeout: 60 # Optional, default 60
threads_count: 4 # Optional, default 4
config:
image_frame: 10 # Optional, default 10, Can not be empty, second from extract image
mp4: true #default true, generate MP4 format
ogg: true #default true, generate OGG format
webm: true #default true, generate WEBM format