G
G
g00dv1n2015-06-04 17:11:38
linux
g00dv1n, 2015-06-04 17:11:38

Can ffmpeg recognize a bad audio file?

We need to make a script that will recognize whether the input audio file is valid.
Those. for example, if a file gets into the input, where there is one beep or just noise, then it is not valid.
I just haven't come across this before.
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eddy_Em, 2015-06-04
@Eddy_Em

Unlikely.
But you can, say, using the FFT to get the spectrum of the file and analyze (if the spectrum is flat, then this is clearly white noise; if the spectrum is very narrow, then the conversation is something else like that, etc.)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question