PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of AlexanderC   KIS FFmpeg   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Docs
Class: KIS FFmpeg
Manipulate video files with the FFMPEG program
Author: By
Last change: Update of README.md
Date: 8 months ago
Size: 334 bytes
 

Contents

Class file image Download

In order to use this class you may have php 5.3 or higher, ffmpeg lib installed and an unix system.

Basic usage:

$video = new Video(new \SplFileInfo($video_file_full_path));
$anotherVideo = $video->encodeInto("flv");

echo "WxH: {$anotherVideo->getWidth()}x{$anotherVideo->getWidth()}";

print_r($video->getRawInfo());