PHP Classes
elePHPant
Icontem

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
2014-05-02 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 894 All time: 3,780 This week: 961Up
Version License PHP version Categories
kis-ffmpeg 0.1.2GNU 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 is available for providing paid consulting. Contact AlexanderC .
Classes: 13 packages by
Country: Moldova Moldova
Age: 26
All time rank: 7481 in Moldova Moldova
Week rank: 806 Down1 in Moldova Moldova Equal
Innovation award
Innovation award
Nominee: 3x

Details

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:894
This week:0
All time:3,780
This week:961Up