question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect metadata for mp3 file

See original GitHub issue

I’ve got incorrect data while using parseBlob function with .mp3 extension audio file.

Input audiofile: issue_incorrect_mp2_metadata_recognition.zip

Steps to reproduce:

  1. upload mp3 file from zip
  2. use function parseBlob or parseFile (from music-metadata) for file

Output:

codec: "MP2"
numberOfChannels: 2
sampleRate: 16000

Expected: (as f.e. get-metadata.com resolves it)

codec: "MP3"
numberOfChannels: 1
SampleRate: 8000

71 warnings while parsing file:

  • 64 warnings - "Parse error: Cannot determine bit-rate"
  • 5 warnings - "Parse error: Cannot read property 'toString' of null",
  • 2 warnings - "Parse error: Cannot determine sampling-rate"

Issue repeats in library music-metadata too. Hope, you may help clarify things for me or find a fix for this.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
davakhcommented, Dec 10, 2019

How is that possible to react so fast on issues? Thank you for your job ❤️ , it fixed.

0reactions
Borewitcommented, Dec 9, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

My mp3 player shows incorrect metadata - Support
Open the options then Tags -> Mpeg -> Read and uncheck ID3v2 and then open or reload the files (F5). I think then...
Read more >
MP3 metadata such as Album name can't be modified
MP3 metadata such as Album name can't be modified. Hi, for the recent months, I have been facing a problem when editing the...
Read more >
Cannot edit mp3 Tags in Properties (two ways to fix!) - YouTube
What if we cannot edit the tags( metadata ) from the properties menu? It is locked? ... Mp3 files are the most commonly...
Read more >
Odd metadata problem with music (MP3) files
I'm on Xubuntu 20.04 using exiftool 11.88. I've been using exiftool to extract tags from my MP3 files. Here is the command that...
Read more >
10 Best Tools to Tag MP3s and Edit Metadata
Most apps that let you edit MP3 metadata use manual methods to do the task. Music Tag is unlike those apps and lets...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found