antalaron/video-gif

PHP library to create animated gif thumbnails for videos

v0.1.1 2016-05-23 18:37 UTC

This package is auto-updated.

Last update: 2024-10-16 19:39:57 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.