PHPackages                             btesanovic/mconv - 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. btesanovic/mconv

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

btesanovic/mconv
================

Image Photo and Video converter shrinker

1.0.6(7y ago)013PHP

Since Nov 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/btesanovic/mconv)[ Packagist](https://packagist.org/packages/btesanovic/mconv)[ RSS](/packages/btesanovic-mconv/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (6)Used By (0)

mconv
=====

[](#mconv)

Photo Image and Video converter shrinker written in PHP for Mac OSX , Linux and possibly Windows

Video conversion is dependant on videolan ffmpeg binary,

Image conversion requieres GD php library

Dependancy
----------

[](#dependancy)

- PHP 7+
- GD extension
- ffmpeg for video conversion

This library can be used in other PHP projects or as standalone with mconv CLI tool , **mconv** stands for media converter

Main purpose of this tool is to **save space but retain image and video quality**

Installing
----------

[](#installing)

- `brew install ffmpeg` OSX
- `composer require btesanovic/mconv`

Usage
-----

[](#usage)

Lets say you want to save space by converting all video files to **mp4** ( this is default video output format )

### Example 1

[](#example-1)

- Input folder `~/Movies`
- Input formats `mpg avi mov`
- Output format `mp4`
- -g Stands for glob , "**\***" matches all files , for example you could use "2018\*" to match all files starting with file name **2018** that have any of extensions mentioned above `mpg avi mov`

Command

`mconv -i ~/Movies -i "mpg,avi,mov" -o mp4 -g "*"`

### Example 2

[](#example-2)

Delete all originally converted files

- Input folder `~/Movies`Command

`mconv -i ~/Movies -d`

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Every ~0 days

Total

5

Last Release

2789d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cfffe426632326638abfd3ec7d7098bd755cb79a23bb72abf9cde5ce6e50626b?d=identicon)[btesanovic](/maintainers/btesanovic)

---

Top Contributors

[![btesanovic](https://avatars.githubusercontent.com/u/1199426?v=4)](https://github.com/btesanovic "btesanovic (1 commits)")

### Embed Badge

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

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

133890.0k3](/packages/goat1000-svggraph)[imagekit/imagekit

PHP library for Imagekit

46877.3k10](/packages/imagekit-imagekit)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

12644.1k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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