Skip to content

Instantly share code, notes, and snippets.

View mkasberg's full-sized avatar

Mike Kasberg mkasberg

View GitHub Profile
@mkasberg
mkasberg / loundorm.py
Last active April 29, 2022 07:09 — forked from kylophone/loudness.rb
FFmpeg loudnorm filter - dual pass loudness normalization example - http://k.ylo.ph/2016/04/04/loudnorm.html
#!/usr/bin/env python
import json
import os
from subprocess import check_call, check_output, STDOUT
import sys
if len(sys.argv) != 3:
print "Usage: %s input.wav output.wav" % __file__
sys.exit(1)