xmon / video-bundle
Video Bundle adding functiunalities to Sonata media bundle:<br>=> a video provider- handle video upload- re-encode uploaded video to th defined formats - thumbs generation
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 4
Language:JavaScript
Type:symfony-bundle
Requires
- php: >=5.4
- phansys/getid3: ~2.1@dev
- php-ffmpeg/php-ffmpeg: ~0.6
- sonata-project/media-bundle: @stable
Requires (Dev)
- symfony/framework-bundle: >=2.1
This package is not auto-updated.
Last update: 2022-02-01 12:56:23 UTC
README
This project is abandoned, a new project to continue this functionality is created.
NEW PROJECT SonataMediaProviderVideoBundle
Installation and configuration:
First you need install phansys/getid3 dependency
$ php composer.phar require phansys/getid3:~2.1@dev
There are a problem installing from composer.json of this bundle, issue #16
Install this bundle
$ php composer.phar require xmon/video-bundle
Add VideoBundle to your application kernel
// app/AppKernel.php public function registerBundles() { return array( // ... new Maesbox\VideoBundle\MaesboxVideoBundle(), // ... ); }
Configuration example
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