PHP Classes

KIS FFmpeg: Manipulate video files with the FFMPEG program

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 962 This week: 5All time: 3,745 This week: 71Up
Version License PHP version Categories
kis-ffmpeg 0.1.11GNU General Publi...5.3PHP 5, Video
Description 

Author

This class can manipulate video files with the FFMPEG program.

It can take video files and execute several types of video processing operations.

Currently it can convert the video into another format, extract screenshot images and thumbnails, and retrieve the video details like the video frame width and height, sample rate, bit rate, used codec, and duration.

Picture of AlexanderC
  Performance   Level  
Name: AlexanderC <contact>
Classes: 13 packages by
Country: Moldova Moldova
Innovation award
Innovation award
Nominee: 3x

Documentation

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());

  Files folder image Files  
File Role Description
Accessible without login Plain text file README.md Doc. Docs
Plain text file Video.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 100%
Total:962
This week:5
All time:3,745
This week:71Up