buildAudio
Build a single-input audio graph. When the output* parameters are given, an aformat stage is appended so emitted frames arrive encoder-ready (resampled / reformatted / remixed inside the graph).
The composed chain (the description plus any appended aformat stage) must fit in 2048 bytes. A description that does not leave room is refused with FFmpegError.InvalidArgument; it is never silently truncated.
Parameters
filter chain, e.g. volume=0.5,atempo=1.25. Empty or anull means passthrough.
input sample rate
input sample format (decoder output, e.g. fltp)
input channel count
pts time-base of input frames
Build a single-input audio graph. When the output* parameters are given, an aformat stage is appended so emitted frames arrive encoder-ready (resampled / reformatted / remixed inside the graph).
The composed chain (the description plus any appended aformat stage) must fit in 2048 bytes. A description that does not leave room is refused with FFmpegError.InvalidArgument; it is never silently truncated.
Parameters
filter chain, e.g. volume=0.5,atempo=1.25. Empty or anull means passthrough.
input sample rate
input sample format (decoder output, e.g. fltp)
input channel count
pts time-base of input frames
Build a single-input audio graph. When the output* parameters are given, an aformat stage is appended so emitted frames arrive encoder-ready (resampled / reformatted / remixed inside the graph).
The composed chain (the description plus any appended aformat stage) must fit in 2048 bytes. A description that does not leave room is refused with FFmpegError.InvalidArgument; it is never silently truncated.
Parameters
filter chain, e.g. volume=0.5,atempo=1.25. Empty or anull means passthrough.
input sample rate
input sample format (decoder output, e.g. fltp)
input channel count
pts time-base of input frames
Build a single-input audio graph. When the output* parameters are given, an aformat stage is appended so emitted frames arrive encoder-ready (resampled / reformatted / remixed inside the graph).
The composed chain (the description plus any appended aformat stage) must fit in 2048 bytes. A description that does not leave room is refused with FFmpegError.InvalidArgument; it is never silently truncated.
Parameters
filter chain, e.g. volume=0.5,atempo=1.25. Empty or anull means passthrough.
input sample rate
input sample format (decoder output, e.g. fltp)
input channel count
pts time-base of input frames