This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 5ffea4c6f1 aacenc: at 192kbps per channel, code the full spectrum
5ffea4c6f1 is described below

commit 5ffea4c6f148dfac48aa353b0e63dd284158f6fe
Author:     Lynne <[email protected]>
AuthorDate: Thu Jul 2 17:32:51 2026 +0900
Commit:     Lynne <[email protected]>
CommitDate: Thu Jul 2 17:32:51 2026 +0900

    aacenc: at 192kbps per channel, code the full spectrum
    
    Better to be safer than usual, since the signal contains literally no
    audible data, and is so expensive to code, the coder itself is very
    reluctant to do so except at very high rates.
---
 libavcodec/aacenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index a4243350eb..88d5ff55f7 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -1598,8 +1598,8 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
         /* For NMR, the rate to bandwidth conversion was tuned to maximize 
metrics
          * over a variable cutoff x bitrate combo */
         if (s->options.coder == AAC_CODER_NMR && frame_br >= 32000) {
-            static const int rates[] = { 32000, 48000, 64000, 96000 };
-            static const int bws[]   = { 14000, 15000, 16000, 18000 };
+            static const int rates[] = { 32000, 48000, 64000, 96000, 192000 };
+            static const int bws[]   = { 14000, 15000, 16000, 18000, 20000 };
             int bw_i = 0;
             for (; bw_i < FF_ARRAY_ELEMS(rates) - 2 && frame_br > rates[bw_i + 
1]; bw_i++);
             s->bandwidth = bws[bw_i] + (int)((int64_t)(bws[bw_i + 1] - 
bws[bw_i]) *

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to