change aevalsrc to anullsrc and fix channel layout #92
This commit is contained in:
parent
dfab8c9b5d
commit
fc00c8edf3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user