Answer the question
In order to leave comments, you need to log in
How to count the number of seconds of a WAV file using PHP?
Good afternoon!
Question within a question. I'm converting MP3 -> WAV by calling a system function from PHP, but now I need to count the number of seconds in the resulting WAV file using PHP. But how to do that? Are there any libraries for working with WAV files?
Answer the question
In order to leave comments, you need to log in
mp3 is divided into frames, usually 1ms. I'm lying.
here - https://habrahabr.ru/post/103635/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question