change aevalsrc to anullsrc and fix channel layout #92

This commit is contained in:
jb-alvarado 2021-03-23 14:22:11 +01:00
parent dfab8c9b5d
commit fc00c8edf3

View File

@ -160,7 +160,7 @@ def add_audio(probe, duration):
if not probe.audio: if not probe.audio:
messenger.warning(f'Clip "{probe.src}" has no audio!') messenger.warning(f'Clip "{probe.src}" has no audio!')
line = [(f'aevalsrc=0:channel_layout=2:duration={duration}:' line = [(f'anullsrc:channel_layout=stereo:duration={duration}:'
f'sample_rate={48000}')] f'sample_rate={48000}')]
return line return line