PHPackages                             jsdk/php-video-thumnail-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. jsdk/php-video-thumnail-generator

ActiveLibrary[Image &amp; Media](/categories/media)

jsdk/php-video-thumnail-generator
=================================

PHP random and secure password generator class

1.1(6y ago)0198PHPPHP &gt;=5.3.0

Since Aug 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/creativejaved/php-generate-video-thumbnail)[ Packagist](https://packagist.org/packages/jsdk/php-video-thumnail-generator)[ RSS](/packages/jsdk-php-video-thumnail-generator/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

php-generate-video-thumbnail
============================

[](#php-generate-video-thumbnail)

Generate thumbnail from the video file using PHP

---

### Requirement

[](#requirement)

- FFMPEG

### Using the Library

[](#using-the-library)

#### Installation

[](#installation)

Intall library in PHP project using composer

```
composer require jsdk/php-video-thumnail-generator

```

#### Using Library

[](#using-library)

```
use jsdk\GenerateVideoThumbnail;

$obj = new GenerateVideoThumbnail(FFMPEG_PATH);
$obj->setOutputPath('output_location');

```

#### Generating screenshot/thumbnail

[](#generating-screenshotthumbnail)

Thumbnail/Screenshot can be generate by passing absolute path of the video file in following function call.

```
$thumbnail = $obj->generateScreenshot('video_file_path');

```

If you want to save Thumbnail/Screenshot to a different directory, you can pass the path of the directory as the second parameter.

```
$thumbnail = $obj->generateScreenshot('video_file_path', 'output_path');

```

---

#### NOTE

[](#note)

- If output path is not set using **setOutputPath()** or during **generateScreenshot()**, it will use the path to the video file to save the screenshot.

---

### Exception Handling

[](#exception-handling)

*Ex:*

```
try {
    $thumbnail = $obj->generateScreenshot('video_file_path');
} catch (Exception $exception) {
    echo $exception->getMessage();
}

```

---

### Bug Reporting

[](#bug-reporting)

If you found any bug, create an [issue](https://github.com/creativejaved/php-generate-video-thumbnail/issues/new).

---

### Support and Contribution

[](#support-and-contribution)

Something is missing?

- `Fork` the repositroy
- Make your contribution
- make a `pull request`

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

2

Last Release

2506d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48195566?v=4)[creativejaved](/maintainers/creativejaved)[@creativejaved](https://github.com/creativejaved)

---

Top Contributors

[![creativejaved](https://avatars.githubusercontent.com/u/48195566?v=4)](https://github.com/creativejaved "creativejaved (5 commits)")

---

Tags

ffmpegphp ffmpegffmpeg video screenshotffmpeg php video screenshotvideo screenshotvideo thumbnailphp video thumbnailffmpeg video thumbnailgenerate video thumbnail in phpgenerate video thumbnail using ffmpeg in phpphp generate video screenshot

### Embed Badge

![Health badge](/badges/jsdk-php-video-thumnail-generator/health.svg)

```
[![Health](https://phpackages.com/badges/jsdk-php-video-thumnail-generator/health.svg)](https://phpackages.com/packages/jsdk-php-video-thumnail-generator)
```

###  Alternatives

[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k23.2M183](/packages/php-ffmpeg-php-ffmpeg)[pbmedia/laravel-ffmpeg

FFMpeg for Laravel

1.8k5.2M29](/packages/pbmedia-laravel-ffmpeg)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

495274.0k1](/packages/codescale-ffmpeg-php)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495236.3k1](/packages/char0n-ffmpeg-php)[buggedcom/phpvideotoolkit

PHPVideoToolkit is a set of classes aimed to provide a modular, object oriented and accessible interface for interacting with videos and audio through the FFmpeg program.

25984.0k1](/packages/buggedcom-phpvideotoolkit)[pulse00/ffmpeg-bundle

Symfony bundle to provide PHP-FFmpeg as a Symfony service (https://github.com/alchemy-fr/PHP-FFmpeg)

57454.0k1](/packages/pulse00-ffmpeg-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
