dot-audio_concat_filter: Build the filter graph for audio_concat

.audio_concat_filterR Documentation

Build the filter graph for audio_concat

Description

Pure string builder so the graph can be tested without ffmpeg. Each input is normalized (aresample + aformat) to the common rate and layout; gaps and the tail are anullsrc sources trimmed to length; everything runs through one concat filter to [aout].

Usage

.audio_concat_filter(n, gap, tail, sample_rate, channels)

Arguments

n

Number of inputs.

gap

Silence between consecutive inputs, seconds.

tail

Silence after the last input, seconds.

sample_rate

Common sample rate in Hz.

channels

Common channel count (1 or 2).

Value

The filter_complex string.


compost documentation built on Aug. 4, 2026, 5:11 p.m.