Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques audio level check with ffmpeg

  • audio level check with ffmpeg

    Posted by Jay Gustafson on January 27, 2012 at 5:23 pm

    I’m looking to write a script that will check the audio mic level of my mpeg recordings. If there a way to have ffmpeg report the audio level (in dB for example)on a frame-by-frame basis so my script can verify the audio level?

    Michael Rampe replied 14 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Michael Rampe

    January 30, 2012 at 10:19 pm

    I use SoX for this operation.
    https://sox.sourceforge.net/

    A command like:
    $ sox $INPUT -n stats 2> stats.txt

    …will give you a lot of useful data. I found that you get quite inaccurate results on some recordings due to subsonic non-vocal frequencies.

    You can also use SoX to filter these out such as:
    $ sox $INPUT -n -D highpass 100 stats 2> stats.txt

    Let me know if this helps.

    Michael

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy