Skip to content
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

GB28181: 经常出现60分钟的录像文件,实际录了90分钟 #2381 #28

Open
winlinvip opened this issue Jan 5, 2022 · 0 comments
Assignees

Comments

@winlinvip
Copy link
Member

经常出现60分钟的录像文件,实际录了90分钟,并且很怪,不会出现80分钟,也不会是100分钟
录制的时长一定是90分钟左右
image
4点之前好多天都是1小时生成一个文件,过了3点基本上是90分钟生成一个文件。
重启一下系统或摄像头,就会恢复正常,但时间长了就一定又会出现这问题,直到重启。

我的配置是这样的:
dvr {
enabled on;
#all表示录制所有视频流,也可以按频道录制
#规则为/,例:live/stream1 live/stream2
dvr_apply all;
#dvr计划
dvr_plan segment;
#录制的路径,详细配置规则见附录三
dvr_path /data/[stream]/[2006][01][02]/[15].[04].[05].flv;
#segment方式录制时间设置,单位:分钟
dvr_duration 3600;
#开启按关键帧且flv
dvr_wait_keyframe on;
#时间戳抖动算法。full使用完全的时间戳矫正;
#zero只是保证从0开始;off不矫正时间戳。
time_jitter full;
}
srs3.0和4.0都是这样的

我用的是gb28181向服务器推流。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants