[FFmpeg-devel] [PATCH v2 0/3] lavfi: Add volume scaling, dynamic routing, and abufsrc filter
Nicolas George
george at nsup.org
Mon Jul 21 18:23:34 EEST 2025
cenzhanquan2 at gmail.com (HE12025-07-21):
> This series introduces three interdependent modules for real-time audio processing:
> 1. `volume` (PATCH 1/3): Provides sample-accurate gain control utilities with support for:
> - Linear and logarithmic volume scaling
> - Multi-format handling (s16/s32/flt/dbl, planar/non-planar) [7](@ref)
> - Runtime adjustment via player_volume/volume parameters
> 2. `mapping` (PATCH 2/3): Implements dynamic channel routing with:
> - Configurable output mapping via `map_str` option
> - Multi-output broadcasting with frame cloning to avoid data duplication
> - Runtime reconfiguration through command API
> 3. `abufsrc` (PATCH 3/3): Integrates volume/mapping as an audio source filter enabling:
> - Fade-in/out effects with sample-accurate timing
> - Asynchronous frame request via `on_event_cb` callback
> - Pause/resume with automatic fadeout on state transitions
Please come back when you (1) can produce a patch series that can be
properly applied and (2) have taken the comments I have made this
morning into account.
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list