From dad497a8243e4be97ebce1112c0cc4a335dbd84c Mon Sep 17 00:00:00 2001 From: j Date: Sun, 21 May 2017 11:55:53 +0000 Subject: [PATCH] volume --- encode.py | 3 +++ render_mlt.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/encode.py b/encode.py index 3c6b063..51d2a58 100755 --- a/encode.py +++ b/encode.py @@ -73,6 +73,9 @@ def encode(xml, force=False): 'ac=1' ] subprocess.call(cmd) + #for wav in (left, right, vocals): + # cmd = ['normalize-audio', wav] + # subprocess.call(cmd) cmd = [ 'ffmpeg', '-y', '-i', left, # FL diff --git a/render_mlt.py b/render_mlt.py index 9103491..aa71692 100755 --- a/render_mlt.py +++ b/render_mlt.py @@ -229,7 +229,7 @@ output_tracks.connect(overlay, 1) norm = mlt.Filter(profile, "volume") #norm.set("gain", "-6dB") -norm.set("gain", "3dB") +norm.set("gain", "6dB") output.plant_filter(norm) composite = mlt.Transition(profile, "composite")