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

录制视频偶尔会一直出现WARN reader too slow #144

Open
wh333333 opened this issue Nov 6, 2024 · 7 comments
Open

录制视频偶尔会一直出现WARN reader too slow #144

wh333333 opened this issue Nov 6, 2024 · 7 comments

Comments

@wh333333
Copy link

wh333333 commented Nov 6, 2024

10:00:17.594+0800 WARN reader too slow {"流": "31011500991319590150/31011500991319590150", "id": 3, "类型": "MP4Recorder", "ID": "31011500991319590150/31011500991319590150/mp4/20241106100000", "轨道": "h264", "lastSeq": 521977, "seq": 521811}
10:00:25.634+0800 WARN reader too slow {"流": "31011500991319590150/31011500991319590150", "id": 3, "类型": "MP4Recorder", "ID": "31011500991319590150/31011500991319590150/mp4/20241106100000", "轨道": "h264", "lastSeq": 522176, "seq": 522010}

@langhuihui
Copy link
Owner

使用 v5 可以解决这个问题,v5 对录制进行有了优化,再录制完成后需要对 mp4 文件进行修改,放到异步里面防止影响到现有录制线程

@wh333333
Copy link
Author

wh333333 commented Nov 6, 2024

好的,谢谢。

@wh333333
Copy link
Author

wh333333 commented Nov 6, 2024

请问我继续用v4版本的话,在哪修改一下可以先解决这个问题呢?

@wh333333
Copy link
Author

请问可以在v4版本上修复一下这个录制问题吗?

@langhuihui
Copy link
Owner

可以

@wh333333
Copy link
Author

好的,因为现在还在调试使用v4版本,不太方便升级到v5。

@wh333333
Copy link
Author

停止录制后,关闭那里使用了异步,然后我也配置了writebuffersize,不过后面继续录制还是会出现这个warning。。。

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

2 participants