Skip to content

RTSP stream crashes in tight loop #28

@robotrapta

Description

@robotrapta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions