xmon/video-bundle

This package is abandoned and no longer maintained. The author suggests using the xmon/sonata-media-provider-video-bundle package instead.

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: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 4

Language:JavaScript

Type:symfony-bundle

v0.0.4 2016-03-12 00:39 UTC

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