Mp3Info icon indicating copy to clipboard operation
Mp3Info copied to clipboard

The fastest PHP library to extract mp3 meta information (duration, bitrate, samplerate and so on) and tags (id3v1, id3v2).

Results 11 Mp3Info issues
Sort by recently updated
recently updated
newest added

Nice project 👍🏽 I did a little clean-up and made the project comply with the [PSR-4 standards](https://www.php-fig.org/psr/psr-4/). You probably have to release a new version after merging this PR.

I have tested two mp3 files with the code provided as example, one was ok, but the other, it should be 3.13 min. but it shows 6.24 min.

At 2048(0x800) should be a frame header! what's wrong with it?can anyone help me?

```DivisionByZeroError: Division by zero in ..\vendor\wapmorgan\mp3info\src\Mp3Info.php at line 425``` Sample file: https://drive.google.com/open?id=11IrcdfEWlSTGwwXgf-yro2Hgjk3CV15M&usp=drive_fs 0.1.0

Hello, I am working on a server and I wrote a script that fetch tags of a mp3 file, the issue is once the `new Mp3Info($path);` , the properties: _'tags'_,...

Can I suggest enhancing the library whereby you can specify what tags you would like to read, eg. READTAG_ID3V1, READTAG_ID3V23, READTAG_ID3V24 this should speed up read/processing if the mp3 contains...

Hello , I was pleased to find this library, but it doesn't work at all. Which iD3 version is it looking for?

Thanks (once again) for the useful library we use over at the Nextcloud project! While looking into nextcloud/server#44573, I noted we might as well throw an informative exception if the...

Hello, When I try to parse [those files](https://github.com/wapmorgan/Mp3Info/files/14779943/samples.zip), I get null chars and errors in parsing. This error is common to the files with _Naoto Tanaka_. ![null](https://github.com/wapmorgan/Mp3Info/assets/111014383/962186a6-e4fe-449a-b4a1-0c9bba12e4da) (2009 is the...

This file: http://archives.bassdrivearchive.com/6%20-%20Saturday/Electronic%20Warfare%20-%20The%20Overfiend/%5b2023.04.08%5d%20Electronic%20Warfare%20-%20Overfiend.mp3 The file seems to be bluntly cut out of a running stream. So the file doesn't begin with a tag or mpeg frame header. To test this...