[FFmpeg-devel] [PATCH v2] avcodec: Add A2DP LATM audio support.

2025-04-27 Thread cenzhanquan2
From: zhanquan cen This commit introduces three key components for Bluetooth A2DP LATM streams: 1.A2DP-specific LATM decoder (aac_latm_a2dp) New codec ID AV_CODEC_ID_AAC_LATM_A2DP Inherits LATMContext with A2DP extensions Attaches "a2dp_rechunk" bitstream filter. 2.Parser enhancement Ex

[FFmpeg-devel] [PATCH 1/1] libavfilter/volume: do fade when adjusting the volume.

2025-04-23 Thread cenzhanquan2
From: zhanquan cen 1. add simple fade when volume. 2. do fade when adjust volume to maximal. when to adjust volume we hope that the audio sample is smooth we need to calculate the gradient step between each sample based on the total change of the gradient (i.e. dst_volume - src_volume) and the n

[FFmpeg-devel] [PATCH 1/1] avcodec: Add A2DP LATM audio support.

2025-04-25 Thread cenzhanquan2
From: zhanquan cen This commit introduces three key components for Bluetooth A2DP LATM streams: 1.A2DP-specific LATM decoder (aac_latm_a2dp) New codec ID AV_CODEC_ID_AAC_LATM_A2DP Inherits LATMContext with A2DP extensions Attaches "a2dp_rechunk" bitstream filter. 2.Parser enhancement Ex

[FFmpeg-devel] [PATCH v2 0/3] lavfi: Add volume scaling, dynamic routing, and abufsrc filter

2025-07-21 Thread cenzhanquan2
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) -

[FFmpeg-devel] [PATCH v2 1/3] avfilter/volume: add volume scaling utilities.

2025-07-21 Thread cenzhanquan2
From: zhanquan cen --- volume.c | 168 +++ volume.h | 44 +++ 2 files changed, 212 insertions(+) create mode 100644 volume.c create mode 100644 volume.h diff --git a/volume.c b/volume.c new file mode 100644 index 00..373

[FFmpeg-devel] [PATCH v2 3/3] avfilter/abufsrc: integrate volume and mapping modules.

2025-07-21 Thread cenzhanquan2
From: zhanquan cen --- asrc_abufsrc.c | 510 + 1 file changed, 510 insertions(+) create mode 100644 asrc_abufsrc.c diff --git a/asrc_abufsrc.c b/asrc_abufsrc.c new file mode 100644 index 00..ac433feed1 --- /dev/null +++ b/asrc_abufsrc.c @

[FFmpeg-devel] [PATCH v2 2/3] avfilter/mapping: implement dynamic routing logic.

2025-07-21 Thread cenzhanquan2
From: zhanquan cen --- mapping.c | 51 +++ mapping.h | 44 2 files changed, 95 insertions(+) create mode 100644 mapping.c create mode 100644 mapping.h diff --git a/mapping.c b/mapping.c new file mode

[FFmpeg-devel] [PATCH 1/1] avfilter/abufsrc: add audio buffer source filter with dynamic routing.

2025-07-21 Thread cenzhanquan2
From: zhanquan cen This commit introduces a new audio buffer source filter `abufsrc` designed for scenarios requiring dynamic audio routing and real-time processing control. Key features include: 1. **Multi-Output Routing**: Supports configurable mapping of input to multiple outputs via `map`