PHPackages                             phpmp4/phpmp4 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. phpmp4/phpmp4

ActiveLibrary[Image &amp; Media](/categories/media)

phpmp4/phpmp4
=============

PHPMp4 is a simple lightweight library for converting videos into HTML5 Mp4 video format

v0.1-alpha(10y ago)421MITPHPPHP &gt;=5.3.3

Since Jul 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/anandrmedia/phpmp4)[ Packagist](https://packagist.org/packages/phpmp4/phpmp4)[ RSS](/packages/phpmp4-phpmp4/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

phpmp4
======

[](#phpmp4)

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

\##Requirements Requires the latest ffmpeg or avconv with libx264

Usage
-----

[](#usage)

Include src\\PHPMp4\\PHPMp4.php

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

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3950d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/002981757095ab0e086b3627d3629f9a6f4a636ea1cff2d44de5be58d567dff7?d=identicon)[anands](/maintainers/anands)

---

Top Contributors

[![cloudfoyo](https://avatars.githubusercontent.com/u/16969358?v=4)](https://github.com/cloudfoyo "cloudfoyo (4 commits)")[![meanands](https://avatars.githubusercontent.com/u/2811568?v=4)](https://github.com/meanands "meanands (2 commits)")

---

Tags

audiovideo processingvideoaudio processingavconvffmpegavprobeffprobe

### Embed Badge

![Health badge](/badges/phpmp4-phpmp4/health.svg)

```
[![Health](https://phpackages.com/badges/phpmp4-phpmp4/health.svg)](https://phpackages.com/packages/phpmp4-phpmp4)
```

###  Alternatives

[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k21.7M165](/packages/php-ffmpeg-php-ffmpeg)[pulse00/ffmpeg-bundle

Symfony bundle to provide PHP-FFmpeg as a Symfony service (https://github.com/alchemy-fr/PHP-FFmpeg)

57447.2k1](/packages/pulse00-ffmpeg-bundle)[fmonts/ffmpeg-bundle

Symfony bundle to provide PHP-FFmpeg as a Symfony service (https://github.com/PHP-FFMpeg/PHP-FFMpeg/)

12195.1k](/packages/fmonts-ffmpeg-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
