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 stream crashes in tight loop #28

Open
robotrapta opened this issue Mar 10, 2023 · 0 comments
Open

RTSP stream crashes in tight loop #28

robotrapta opened this issue Mar 10, 2023 · 0 comments

Comments

@robotrapta
Copy link
Member

When running with an RTSP stream, at some point it can fail, and then it goes into a tight loop of failing to capture the frame hundreds of times per second:

waiting for actual_delay=0.97 to capture the next frame.
grabbed lock to read frame from buffer
could not read frame from self.capture=<VideoCapture 0x7f3a86ccd8b0>
read the frame in 29048.8ms
No frame captured! frame=None
grabbed lock to read frame from buffer
could not read frame from self.capture=<VideoCapture 0x7f3a86ccd8b0>
read the frame in 0.6ms
No frame captured! frame=None
grabbed lock to read frame from buffer
could not read frame from self.capture=<VideoCapture 0x7f3a86ccd8b0>
read the frame in 0.4ms
No frame captured! frame=None
grabbed lock to read frame from buffer
could not read frame from self.capture=<VideoCapture 0x7f3a86ccd8b0>
read the frame in 0.5ms
No frame captured! frame=None
@robotrapta robotrapta changed the title RTSP stream crashes RTSP stream crashes in tight loop Mar 10, 2023
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

1 participant