wenprise/video-thumbnail
Composer 安装命令:
composer require wenprise/video-thumbnail
包简介
Generate Video thumbnails in WordPress
README 文档
README
Simple package for generating video thumbnail in WordPress 5 using FFMpeg.
Installation
Composer install:
composer require wenprise/video-thumbnail
$video = new Wenprise\VideoThumbnail\VideoThumbnail('/usr/bin/ffmpeg', '/usr/bin/ffprobe');
$thumbnail = $video->createThumbnail(get_theme_file_path('demo.mp4'), get_theme_file_path(), 'thumbnail.png', 1, 150, 100);
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-06-19