-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streaming the camera to the SRS3.0 server and generating HLS involves a process where the duration (dur) gradually increases over time until the generated ts files no longer contain video information. #1051
Comments
Hello, ZiJinMountain. May I ask where to download SRS3.0?
|
@Liu-Tommy
|
@ZiJinMountain, can you provide the source file for streaming? It could be an issue with the stream.
|
This is because the audio is generated based on the number of AAC samples, so it will increase linearly. If the video is not increasing linearly, it will cause a significant difference between the audio and video streams. When receiving an audio and video, the slicing process starts, but if the timestamp difference is too large, the slice is discarded. Re-push the stream, and the audio continues to increase linearly.
If the stream is re-pushed, the video timestamp starts from 0.
If the duration of a segment exceeds the maximum of 30 seconds specified in the configuration, it will be discarded.
|
The reason is that
|
The process of generating HLS involves the duration (dur) slowly increasing over time until the generated ts files have no video information. Previously, the hls_fragment was set to 10 seconds and hls_window to 60, but it didn't work. After increasing the values, it was able to generate a segment. However, the dur value is very unstable and doesn't gradually increase as configured (around 20 seconds). When it reaches around 40 seconds, the ts files are generated without video, and eventually, the dur value becomes extremely large, causing the ts files to be dropped. Please help identify the issue with this.
Version: 3.0.25
Configuration file:
LOG printing:
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: