Closed tomskikh closed 2 months ago
@bwsw Methods BlockingReader.is_blacklisted()
and BlockingReader.is_started()
is savant-rs wait until BlockingReader.receive()
is completed. I.e. when reader don't receive any messages, it those methods wait receive_timeout
milliseconds.
Reducing receive_timeout
to 10 ms or removing is_blacklisted()
from savant_rs_video_demux
solves the issue with last frames.
Scripts to reproduce this issue with ZMQ separately: https://github.com/insight-platform/Savant/commit/ebcbf9fc775bc7bc02b149f80d7a01fde94cf0c7
@tomskikh please test with the current develop after savant-rs upgrade.
@bwsw The issue fixed.
To reproduce run the following pipeline:
image-source (20 images) -> (dealer-router) -> module
.The first few frames module processing normally. The last frames are processed at 1 FPS.
Log snippet from
savant_rs_video_demux
:Log snippet around
2024-06-28T04:48:38.245554551Z DEBUG Checking if source coco-images is blacklisted
log: