ZLMediaKit / ZLMediaKit

WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT server and client framework based on C++11
https://docs.zlmediakit.com
Other
13.99k stars 3.42k forks source link

[BUG] zlm sets recording to 1 minute per mp4 video, but no mp4 video is generated after 10 several hours #3912

Open 199212zz opened 1 month ago

199212zz commented 1 month ago

Phenomenon Description

wvp sets zlm to generate an mp4 video every 1 minute, but after running for 10 hours, it fails to generate an mp4 video at a normal 1-minute interval. After clicking the stop playback button on the wvp page, zlm will generate a total mp4 video for the segment of time that was not generated.

How to reproduce?

Related logs or screenshots

Expand to view detailed logs

```
#Please paste the detailed log here!
```

Configuration

Please expand to view detailed configuration

```ini
#Please paste the contents of the config.ini file here!
```

Various environment information

现象描述

wvp设置zlm每隔1分钟生成一个mp4视频,运行10几小时后,无法正常间隔1分钟生成一个mp4视频,点击wvp页面停止播放按钮后,zlm会把未生成视频的这段时间内的视频生成一个总的mp4

如何复现?

相关日志或截图

展开查看详细日志

```
#详细日志粘在这里!
```

配置

展开查看详细配置

```ini
#config.ini内容粘在这里!
```

各种环境信息

TRANS_BY_GITHUB_AI_ASSISTANT

xia-chu commented 1 month ago

无法正常间隔1分钟生成一个mp4视频

It's possible that key frames have not been received. Has the other party suddenly changed the encoding format?

无法正常间隔1分钟生成一个mp4视频

有可能一直没收到关键帧。是不是对方突然变更了编码格式?

TRANS_BY_GITHUB_AI_ASSISTANT

199212zz commented 1 month ago

It shouldn't be, I've tried for several days, every time it runs for a few hours and then does this, click stop playing and then continue playing, zlm resumes with an interval of one video per minute, and I couldn't find any problem by looking at the log

应该不是,试了好几天,每次都运行几个小时后就这样,点击停止播放然后再继续播放,zlm又恢复间隔一分钟一个视频,看log也没看出啥问题来

TRANS_BY_GITHUB_AI_ASSISTANT