PHP Classes

KIS FFmpeg: Manipulate video files with the FFMPEG program

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 969 All time: 3,737 This week: 24Up
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 is available for providing paid consulting. Contact AlexanderC .
Classes: 13 packages by
Country: Moldova Moldova
Age: 34
All time rank: 7301 in Moldova Moldova
Week rank: 178 Up1 in Moldova Moldova Equal
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 (2)  
File Role Description
Accessible without login Plain text file README.md Doc. Docs
Plain text file Video.php Class Main class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:969
This week:0
All time:3,737
This week:24Up