[FFmpeg-devel] [PATCH] avcodec/aacenc: add bitrate threshold for PNS and improve attack detection (PR #20815)

2025-11-01 Thread Agent45 via ffmpeg-devel
PR #20815 opened by Agent45 URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20815 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20815.patch - Fixes indexing errors in attack detection logic and introduces a state flag (next_attack0_zero) to stabilize attack[0] prediction across frames.

[FFmpeg-devel] [PATCH] avcodec/aacenc: add high energy check to exclude unsuitable bands from PNS (PR #20521)

2025-09-14 Thread Agent45 via ffmpeg-devel
PR #20521 opened by Agent45 URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20521 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20521.patch Add a maximum energy check in mark_pns() , adapted from search_for_pns(). Extremely high-energy bands should be excluded early from PNS to prevent