PHPackages                             tractorcow/silverstripe-mediadata - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tractorcow/silverstripe-mediadata

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

tractorcow/silverstripe-mediadata
=================================

Extracts video and audio data from files using getId3()

4112PHP

Since Jul 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/tractorcow/silverstripe-mediadata)[ Packagist](https://packagist.org/packages/tractorcow/silverstripe-mediadata)[ RSS](/packages/tractorcow-silverstripe-mediadata/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Media Metadata module for Silverstripe
======================================

[](#media-metadata-module-for-silverstripe)

This module allows metadata to be extracted from audio and video media files.

This module works best with the memoryimage module from . If you have this installed then you can also extract, resize, and display embedded album art on pages.

Credits and Authors
-------------------

[](#credits-and-authors)

- Damian Mooyman -

Requirements
------------

[](#requirements)

- SilverStripe 2.4.5, may work on lower versions
- PHP 5.2

Installation Instructions
-------------------------

[](#installation-instructions)

- Extract all files into the 'mediadata' folder under your Silverstripe root.
- To extract extra metadata from a File object you can use the MediaData property to access it.

API
---

[](#api)

Full PHPDoc documentation is included for all classes, so please check the code if you'd like more information.

The MediaData property of the File class contains these properties:

- FileName
- FilePath
- Title
- Artist
- Album
- Format
- Duration
- DurationString
- Bitrate
- FileSize
- MimeType

The following functions return additional data:

- Picture() will extract an Image object if there is an embedded album art
- Audio() will extract further audio specific details
- Video() will extract further video specific details

Audio() will return an object with the following properties (if there is audio information):

- ChannelMode
- ChannelCount
- SampleRate

Video() will return an object with the following properties (if there is video/picture information):

- FrameRate
- Width
- Height
- PixelAspectRatio

Both the Audio() and Video() objects have these shared properties:

- Bitrate
- BitrateMode
- BitsPerSample
- Codec
- CompressionRatio
- Format
- Encoder
- IsLossless

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tractorcow-silverstripe-mediadata/health.svg)

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

###  Alternatives

[rexlabs/enum

Enumeration (enum) implementation for PHP

47502.6k2](/packages/rexlabs-enum)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.6k](/packages/proai-lumen-annotations)

PHPackages © 2026

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