Skip to content

Instantly share code, notes, and snippets.

Kyle Swanson kylophone

Block or report user

Report or block kylophone

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kylophone
kylophone / loudness.rb
Last active Feb 14, 2019
FFmpeg loudnorm filter - dual pass loudness normalization example - http://k.ylo.ph/2016/04/04/loudnorm.html
View loudness.rb
#!/usr/bin/env ruby
require 'open3'
require 'json'
ffmpeg_bin = '/usr/local/bin/ffmpeg'
target_il = -24.0
target_lra = +11.0
target_tp = -2.0
samplerate = '48k'
You can’t perform that action at this time.