Answer the question
In order to leave comments, you need to log in
How to check mp3 for validity?
I use this class: code.re/970
The problem is that I record and convert to mp3 directly from the browser
Sometimes (50 to 50) a bitrate error (94 lines of code) crashes, but the file is valid, I play it in the system and that's it fine. As far as I understand - the error depends on the recording time.
Maybe someone will tell you another class (the main thing is not universal, which checks everything, from mp3 to my cat. And not a library, the hoster does not allow this) or notice an error in the class that I threw off? I only need to know the duration (so that the truth checks, and not conditionally) and whether the file
is
mp3
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question