volume
This commit is contained in:
parent
55c55d8498
commit
dad497a824
2 changed files with 4 additions and 1 deletions
|
@ -73,6 +73,9 @@ def encode(xml, force=False):
|
||||||
'ac=1'
|
'ac=1'
|
||||||
]
|
]
|
||||||
subprocess.call(cmd)
|
subprocess.call(cmd)
|
||||||
|
#for wav in (left, right, vocals):
|
||||||
|
# cmd = ['normalize-audio', wav]
|
||||||
|
# subprocess.call(cmd)
|
||||||
cmd = [
|
cmd = [
|
||||||
'ffmpeg', '-y',
|
'ffmpeg', '-y',
|
||||||
'-i', left, # FL
|
'-i', left, # FL
|
||||||
|
|
|
@ -229,7 +229,7 @@ output_tracks.connect(overlay, 1)
|
||||||
|
|
||||||
norm = mlt.Filter(profile, "volume")
|
norm = mlt.Filter(profile, "volume")
|
||||||
#norm.set("gain", "-6dB")
|
#norm.set("gain", "-6dB")
|
||||||
norm.set("gain", "3dB")
|
norm.set("gain", "6dB")
|
||||||
output.plant_filter(norm)
|
output.plant_filter(norm)
|
||||||
|
|
||||||
composite = mlt.Transition(profile, "composite")
|
composite = mlt.Transition(profile, "composite")
|
||||||
|
|
Loading…
Reference in a new issue