承接 nm/smoovie 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nm/smoovie

Composer 安装命令:

composer require nm/smoovie

包简介

Video tools using FFMPEG

README 文档

README

#Smoovie: Simple FFMPEG/FFProbe Tools for PHP

Build Status

A mini library of tools to manipulate video files with FFMPEG. Use at your own risk. This is a master alpha build.

Installation

The recommended way to install Smoovie is through Composer.

{
    "require": {
        "nm/smoovie": "dev-master"
    }
}

Basic Usage

Include composer's autoload file

require_once '/path/to/vendor/autoload.php';

Import class in your scripts

use NM\Smoovie\Smoovie;

Have fun :)

$file = '/path/to/video.mp4'
$s = new Smoovie;
$s->make($file);
$duration = $s->duration();
$frames = $s->frames();
$fps = $s->fps();
$generate_thumbnail = $s->thumb();
$vid_trailer = $s->preview($output = null, $start = null, $seconds = null);

License

This project is licensed under the MIT license.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-03