phpmp4 / phpmp4
PHPMp4 is a simple lightweight library for converting videos into HTML5 Mp4 video format
v0.1-alpha
2015-07-26 07:28 UTC
Requires
- php: >=5.3.3
This package is auto-updated.
Last update: 2024-04-29 03:37:58 UTC
README
A simple lightweight php library for converting videos into HTML5 Mp4 video format
##Requirements Requires the latest ffmpeg or avconv with libx264
Usage
Include src\PHPMp4\PHPMp4.php
$video = new \PHPMp4\PHPMp4('test.wmv'); try{ $video->convertVideo(); }catch(Exception $e){ echo 'error '.$e->getMessage(); }