Bill Greer
Bill Greer

Reputation: 3156

Measure volume using ffmpeg?

Is it possible to measure decibels using ffmpeg or some other command line utility? It does not exactly need to be decibels I just need peaks and values, etc. Some arbitrary measurement where I can tell when the decibel level has increased x% or something close.

Upvotes: 1

Views: 1203

Answers (1)

576i
576i

Reputation: 8352

Have a look at the free Sox tool which can do this.

Look at "Analysis" part, which has

stat: Enumerate audio peak & RMS levels, approx. freq., etc. 

Upvotes: 1

Related Questions