https://github.com/antalaron/video-gif
PHP library to create animated gif thumbnails for videos
https://github.com/antalaron/video-gif
animated-gif-thumbnails ffmpeg php php-library video
Last synced: 6 months ago
JSON representation
PHP library to create animated gif thumbnails for videos
- Host: GitHub
- URL: https://github.com/antalaron/video-gif
- Owner: antalaron
- License: other
- Created: 2016-05-23T15:21:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-06T00:00:38.000Z (about 9 years ago)
- Last Synced: 2025-01-08T00:02:48.000Z (over 1 year ago)
- Topics: animated-gif-thumbnails, ffmpeg, php, php-library, video
- Language: PHP
- Size: 9.77 KB
- Stars: 13
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VideoGif
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](https://getcomposer.org).
```json
{
"require": {
"antalaron/video-gif": "~0.1"
}
}
```
## Basic Usage
```php
$videoGif = new Antalaron\VideoGif\VideoGif();
$videoGif->create('path/to/video.mp4', 'path/to/video.gif');
```
## License
This project is licensed under the [MIT license](http://opensource.org/licenses/MIT).