PHP code example of amnuts / jwplayer-thumbnail-preview-generator

1. Go to this page and download the library: Download amnuts/jwplayer-thumbnail-preview-generator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

amnuts / jwplayer-thumbnail-preview-generator example snippets

bash
php thumbnails.php -i "/input/video.mp4"
bash
php thumbnails.php -i "/input/video.mp4" -v
bash
php thumbnails.php -i "/input/video.mp4" -o "/output/directory"
bash
php thumbnails.php -i "/input/video.mp4" -t 30
bash
php thumbnails.php -i "/input/video.mp4" -w 75