antalaron / video-gif
PHP library to create animated gif thumbnails for videos
v0.1.1
2016-05-23 18:37 UTC
Requires
- gregwar/image: 2.*
- php-ffmpeg/php-ffmpeg: 0.6.*
- sybio/gif-creator: 1.0
This package is auto-updated.
Last update: 2024-12-16 19:56:44 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.