mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
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> |
||
---|---|---|
.. | ||
3rdparty | ||
auto | ||
conf | ||
doc | ||
etc/init.d | ||
gdb | ||
ide/srs_clion | ||
modules | ||
packaging | ||
research | ||
scripts | ||
src | ||
usr/lib/systemd/system | ||
.gitignore | ||
AUTHORS.md | ||
AUTHORS.txt | ||
configure | ||
Dockerfile.builds | ||
Dockerfile.cov | ||
Dockerfile.pkg | ||
Dockerfile.test |