PHPackages                             nicoverbruggen/mediaprobe - 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. nicoverbruggen/mediaprobe

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

nicoverbruggen/mediaprobe
=========================

MediaProbe leverages `ffprobe` and `ffmpeg` to extract info and cover images from MP3s or other media files.

v1.1(4y ago)24MITPHPPHP &gt;=8.0

Since May 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/nicoverbruggen/mediaprobe)[ Packagist](https://packagist.org/packages/nicoverbruggen/mediaprobe)[ RSS](/packages/nicoverbruggen-mediaprobe/feed)WikiDiscussions main Synced yesterday

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

MediaProbe
==========

[](#mediaprobe)

MediaProbe leverages `ffprobe` and `ffmpeg` to extract info from media files.

System requirements
-------------------

[](#system-requirements)

- PHP 8.0
- `ffmpeg` binaries installed

In order for this to work, the `ffprobe` and `ffmpeg` binaries need to be in your path, or aliased.

On macOS, you may need to run: `brew install ffmpeg`. On Linux, your package manager should contain `ffmpeg`. On Ubuntu, for example, you should run `apt install ffmpeg`.

Usage
-----

[](#usage)

My primary intended usage here is to extract information from MP3 files, but since `ffprobe` is used much more is possible.

Here's some example usage:

### Retrieve metadata

[](#retrieve-metadata)

This only works if the file can be processed by `ffprobe`, but this parser supports *many* formats.

```
use NicoVerbruggen\MediaProbe\MediaProbe;

$path = "./path/to/my/file.mp3";
$probe = new MediaProbe($path);

$tags = $probe->getMediaInfo()->format->tags;

return [
    'artist' => $tags->artist,
    'album' => $tags->album,
    'title' => $tags->title,
];
```

### Extract cover

[](#extract-cover)

This only works if there's a cover present.

```
use NicoVerbruggen\MediaProbe\MediaProbe;

$path = "./path/to/my/file.mp3";
$probe = new MediaProbe($path);

$destination = "./path/to/cover.jpg";
$probe->extractCover($destination);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

2

Last Release

1821d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b101844b491650ca48000b4c1490126bb44ce0a684ed37aad10b3096c2f6bd9?d=identicon)[nicoverbruggen](/maintainers/nicoverbruggen)

---

Top Contributors

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

---

Tags

ffmpegmp3php

### Embed Badge

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

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

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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