1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/auto
chundonglinlin e7b629cd39
RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 v6.0.97 (#3852)
### Description

When converting between AAC and Opus formats (aac2opus or opus2aac), the
`av_frame_get_buffer` API is frequently called.

### Objective

The goal is to optimize the code logic and reduce the frequent
allocation and deallocation of memory.

In the case of aac2opus, av_frame_get_buffer is still frequently called.
In the case of opus2aac, the goal is to avoid calling
av_frame_get_buffer and reduce memory allocations.

### Additional Note

Before calling the `av_audio_fifo_read` API, use
`av_frame_make_writable` to check if the frame is writable. If it is not
writable, create a new frame.

---------

Co-authored-by: john <hondaxiao@tencent.com>
2023-11-04 16:21:44 +08:00
..
apps.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
auto_headers.sh SRS5: FFmpeg: Support build with FFmpeg native opus. v5.0.131 (#3140) 2023-01-06 17:46:37 +08:00
codecov.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
depends.sh Support build without cache to test if actions fail. v5.0.196 v6.0.96 (#3858) 2023-11-01 17:47:52 +08:00
local_ip.sh update readme. 2014-03-23 18:03:24 +08:00
modules.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
options.sh RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 v6.0.97 (#3852) 2023-11-04 16:21:44 +08:00
reset_module.sh Moduels: Refine the description 2021-04-21 11:18:35 +08:00
setup_variables.sh Compile: Fix typo for 3rdparty. v5.0.166, v6.0.59 (#3615) 2023-07-10 08:16:59 +08:00
summary.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
utest.sh Compile: Fix typo for 3rdparty. v5.0.166, v6.0.59 (#3615) 2023-07-10 08:16:59 +08:00