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

输入为rtsp直播流时,有时会出现av_read_frame(input_fmt_ctx_, &pkt)返回AVERROR_EOF #123

Open
zhangsong1234 opened this issue Jun 19, 2024 · 3 comments

Comments

@zhangsong1234
Copy link

同时起多个bmf脚本,每个脚本拉取一路直播流,过程中有时会出现av_read_frame(input_fmt_ctx_, &pkt)返回AVERROR_EOF,导致程序终止

@JackLau1222
Copy link
Contributor

用的哪个脚本?直播流确认无误没有丢包? 可以先用ffplay验证一下

@sfeiwong sfeiwong added good first issue Good for newcomers and removed good first issue Good for newcomers labels Jun 19, 2024
@zhangsong1234
Copy link
Author

用的人脸识别的脚本,模型替换为了自己的模型,中间添加了部分处理逻辑,逻辑上有时会耗时较长,但总体是可以达到实时处理的速度。 rtsp流采用的tcp传输,基本不会有丢包。直播流是一直有的且正常

@zhangsong1234
Copy link
Author

用人脸识别的脚本,在inference中添加time.sleep(0.1)会很容易复现这种问题,现象看起来是在压力大时比较容易出现

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