1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 11:21:52 +00:00
srs/trunk/research
chundonglinlin f1db76011b RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852)
When converting between AAC and Opus formats (aac2opus or opus2aac), the
`av_frame_get_buffer` API is frequently called.

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.

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:28:52 +08:00
..
api-server Fix command injection in api-server for HTTP callback. v5.0.157, v6.0.48 2023-06-05 16:41:19 +08:00
apm APM: Extract research to projects. 2022-09-19 13:30:22 +08:00
arm Merge 4.0release, migrate to new website. 2022-07-31 18:34:18 +08:00
code-statistic SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3 2021-05-31 13:42:20 +08:00
console Fix URL parsing bug for __defaultVhost__. v5.0.55 2022-08-31 11:46:09 +08:00
ffempty SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3 2021-05-31 13:42:20 +08:00
frame Update 2021-03-06 10:46:07 +08:00
golang refine srs player to play hls. 2016-03-19 19:11:31 +08:00
gperftools Squash: Fix bugs 2021-12-26 17:30:51 +08:00
hls SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3 2021-05-31 13:42:20 +08:00
msg_zerocopy ST: Simplify it, only Linux/Darwin, epoll/kqueue, single process. 5.0.2 2021-05-19 18:25:49 +08:00
players RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852) 2023-11-04 16:28:52 +08:00
python-subprocess finish the research for python-subprocess 2014-06-11 11:14:43 +08:00
st Clock: Update stat. Insert timer to execute first 2021-02-19 18:53:02 +08:00
thread-model Research: Add udp connect 2021-02-05 11:07:53 +08:00
wireshark GB28181: Support GB28181-2016 protocol. v5.0.74 (#3201) 2022-10-06 17:40:58 +08:00