rubin/video-gif

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP library to create animated gif thumbnails for videos

0.2 2017-11-28 17:50 UTC

This package is auto-updated.

Last update: 2020-02-15 01:51:54 UTC


README

A PHP library to create animated gif thumbnails for videos.

Good to know

How this library works

This library requires a working FFMpeg install. You will need both FFMpeg and FFProbe binaries to use it. Be sure that these binaries can be located with system PATH.

Known issues

  • to be written

Installation

The recommended way to install VideoGif is through Composer.

{
    "require": {
        "antalaron/video-gif": "~0.1"
    }
}

Basic Usage

$videoGif = new Antalaron\VideoGif\VideoGif();

$videoGif->create('path/to/video.mp4', 'path/to/video.gif');

License

This project is licensed under the MIT license.