Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anandrmedia/phpmp4

A simple lightweight php library for converting videos into HTML5 Mp4 video format
https://github.com/anandrmedia/phpmp4

Last synced: 2 months ago
JSON representation

A simple lightweight php library for converting videos into HTML5 Mp4 video format

Awesome Lists containing this project

README

        

# phpmp4
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

```php

$video = new \PHPMp4\PHPMp4('test.wmv');

try{
$video->convertVideo();
}catch(Exception $e){
echo 'error '.$e->getMessage();
}

```