PHPackages                             vkr/multimedia-analyzer-bundle - 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. vkr/multimedia-analyzer-bundle

ActiveSymfony-bundle[Image &amp; Media](/categories/media)

vkr/multimedia-analyzer-bundle
==============================

A bundle for Symfony2/3 that analyzes multimedia file duration using GetID3

1.0.0(9y ago)021MITPHP &gt;=5.6

Since May 9Pushed 9y ago1 watchersCompare

[ Source](https://github.com/wladislavk/MultimediaAnalyzerBundle)[ Packagist](https://packagist.org/packages/vkr/multimedia-analyzer-bundle)[ Docs](https://github.com/wladislavk/MultimediaAnalyzerBundle)[ RSS](/packages/vkr-multimedia-analyzer-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Overview
========

[](#overview)

This is a very simple bundle that currently does just one thing - gets the length of a video or audio file in seconds. It has a dependency on VKRSettingsBundle and it also depends on an object-oriented version of GetID3 library. The dependency on GetID3 is my fork of *phansys/getid3* that is compatible with PHP 7.

Installation
============

[](#installation)

Nothing to install except for standard Symfony bundle installation procedure.

Usage
=====

[](#usage)

There is just a single public method that needs to be called as follows:

```
$analyzer = $this->get('vkr_multimedia_analyzer.multimedia_duration_analyzer');
$file = new Symfony\Component\HttpFoundation\File('/path/to/file');
try {
    $length = $analyzer->getFileDuration($file);
} catch (MultimediaAnalyzerException $e) {
    // handle exception
}

```

If the file is not a multimedia file, 0 will be returned.

You may also use VKRSettingsBundle in this manner:

```
$maximumLengthSetting = 'maximum_length';
$length = $analyzer->getFileDuration($file, $maximumLengthSetting);

```

Here, if the file duration is longer than maximum, `MultimediaAnalyzerException`will be thrown.

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

Unknown

Total

1

Last Release

3288d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/79f5fa971e7fda7a6180c1bdfca4f819a43b7681ec4e04c66b184a082fb5a20f?d=identicon)[wladislavk](/maintainers/wladislavk)

---

Top Contributors

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

---

Tags

Symfony2audiovideogetid3symfony3multimedia

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vkr-multimedia-analyzer-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/vkr-multimedia-analyzer-bundle/health.svg)](https://phpackages.com/packages/vkr-multimedia-analyzer-bundle)
```

###  Alternatives

[php-ffmpeg/php-ffmpeg

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

5.0k21.7M163](/packages/php-ffmpeg-php-ffmpeg)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[happyworm/jplayer

jPlayer allows you to create a media player with a consistent interface and experience across all browsers.

4.6k114.2k1](/packages/happyworm-jplayer)[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)[codescale/ffmpeg-php

PHP wrapper for FFmpeg application

495270.5k1](/packages/codescale-ffmpeg-php)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)

PHPackages © 2026

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