|
|
@@ -148,7 +148,7 @@ def generate_background_color(width, height, color, opacity, duration_in_seconds
|
|
|
def get_audio_waveforms(av_stream, width, height, colors, opacity):
|
|
|
return (
|
|
|
av_stream
|
|
|
- .filter("showwaves", s="%dx%d" % (width, height), mode="cline", colors=colors, split_channels=0, rate=25, scale="sqrt")
|
|
|
+ .filter("showwaves", s="%dx%d" % (width, height), mode="cline", colors=colors, split_channels=0, rate=25, scale="sqrt", draw="full")
|
|
|
.filter("format", "rgba")
|
|
|
.filter("colorchannelmixer", aa=opacity)
|
|
|
)
|