adjust volume

This commit is contained in:
j 2026-01-30 14:25:11 +01:00
commit 62d1d7e30b
2 changed files with 4 additions and 2 deletions

View file

@ -270,9 +270,9 @@ def compose(clips, fragment, target=150, base=1024, voice_over=None, options=Non
print('%07.3f-%07.3f %07.3f' % (sub_offset, sub_offset+vo["duration"], vo["duration"]), vo["src"].split('/')[-1])
voice_overs.append(vo)
voc = vo.copy()
a, b = '-11', '-3'
a, b = '-3', '-3'
if options.get('stereo_downmix'):
a, b = '-9', '-1'
a, b = '-1', '-1'
voc['filter'] = {'volume': a}
scene['audio-center']['A1'].append(voc)
vo_low = vo.copy()