olelo/ffmpeg
Composer 安装命令:
composer require olelo/ffmpeg
包简介
Small helper to connect to olelo FFmpeg URLs in PHP
README 文档
README
This is a little helper to easily call olelo FFmpeg in your PHP projects.
Prerequisites
You need an olelo account and the FFmpeg module enabled.
Installation
You can install the package via composer:
composer require olelo/ffmpeg
If you use Laravel, add your olelo-FFmpeg token to .env as FFMPEG_API_TOKEN.
Usage
$ffmpeg = new \Olelo\FFmpeg\FFmpeg('yourApiToken');
$convertedFile = $ffmpeg->convert('https://your-url.com/something', 'remove-silence');
Laravel
A Laravel service provider with a facade is contained in this package. It is automatically detected. You can use it like:
use Olelo\FFmpeg\Facades\FFmpeg;
$convertedFile = FFmpeg::convert('https://your-url.com/something', 'remove-silence');
统计信息
- 总下载量: 2.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-08