1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk
Winlin 8865ddd4bb
Change the hls_aof_ratio to 2.1. v5.0.200 v6.0.101 (#3886)
In pure audio mode, there are no keyframes. Therefore, we can only rely
on the length of the slice to determine whether it should be output.
`hls_aof_ratio` is the coefficient that, once reached, will generate a
new slice.

In scenarios with video, if the `hls_aof_ratio` is too small, for
example 1.2, and the GOP (Group of Pictures) is 10 seconds, then a slice
will definitely be generated at 12 seconds. At this point, if there are
no keyframes, it will cause the next slice to start with a non-keyframe.

A safer coefficient is twice the GOP (Group of Pictures). This way, it
won't trigger incorrectly and prevent the individual transcoding of a ts
segment file.

---------

Co-authored-by: Haibo Chen <495810242@qq.com>
2023-11-19 21:50:11 +08:00
..
3rdparty Fix the test fail when enable ffmpeg-opus. v6.0.100 (#3868) 2023-11-16 18:17:04 +08:00
auto Fix the test fail when enable ffmpeg-opus. v6.0.100 (#3868) 2023-11-16 18:17:04 +08:00
conf Change the hls_aof_ratio to 2.1. v5.0.200 v6.0.101 (#3886) 2023-11-19 21:50:11 +08:00
doc Change the hls_aof_ratio to 2.1. v5.0.200 v6.0.101 (#3886) 2023-11-19 21:50:11 +08:00
etc/init.d Squash: Fix bugs 2022-01-13 18:26:28 +08:00
gdb The identifier "ShowCouroutines" needs to be modified to "ShowCoroutines" in order to rectify the typographical error. v6.0.63 (#3703) 2023-07-27 08:12:39 +08:00
ide/srs_clion Change the hls_aof_ratio to 2.1. v5.0.200 v6.0.101 (#3886) 2023-11-19 21:50:11 +08:00
modules Moduels: Refine the description 2021-04-21 11:18:35 +08:00
packaging Windows: Refine cygwin pipeline (#3260) 2022-11-21 14:32:26 +08:00
research RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 v6.0.97 (#3852) 2023-11-04 16:21:44 +08:00
scripts Package script support extra options. v5.0.102 2022-12-03 18:56:21 +08:00
src Change the hls_aof_ratio to 2.1. v5.0.200 v6.0.101 (#3886) 2023-11-19 21:50:11 +08:00
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
.gitignore For #2136: API: Cleanup no active streams for statistics. v5.0.42 2022-08-19 19:45:19 +08:00
AUTHORS.md Update contributors. 2023-09-28 11:03:34 +08:00
AUTHORS.txt Update AUTHORS 2021-08-25 07:43:35 +08:00
configure Support configure with --extra-ldflags. v5.0.199 v6.0.99 (#3879) 2023-11-15 17:43:29 +08:00
Dockerfile.builds Use new cache image name. v6.0.86 (#3815) 2023-10-08 07:43:14 -05:00
Dockerfile.cov Asan: Refine asan warning message for macOS. 2022-12-31 21:20:51 +08:00
Dockerfile.pkg Merge branch v5.0.103 into develop 2022-12-03 21:15:22 +08:00
Dockerfile.test Fix the test fail when enable ffmpeg-opus. v6.0.100 (#3868) 2023-11-16 18:17:04 +08:00