as mentioned by those two topics..
it should caused by hardware side to send abnormal frames to Argus,
so, please have software approach to evaluate the timestamps to filter out abnormal frames.
Thanks, will try on our end. The expectation is normal frames will have identical/similar size value while the value from corrupted frames is significantly different?
Seems the function only returns a number, just wanted to confirm the benefit
it’s just assumption that we’ll see different results to identify abnormal frames.
please also try… Topic329554_Apr11.7z (56.6 KB) to use debug libnvfusacap.so
it added some debug prints to check the status of each frames.
you ma collect nvargus-daemon logs with.. $ sudo journalctl -b -u nvargus-daemon
the debug logs looks like below..
Thanks. We’ll give it a try. One thing I forgot to mention is that we are able to see this issue from two different camera sensors, IMX219 and OnSemi AR0234.
Since IMX219 uses argus while AR0234 uses V4L2, is it possible that, instead of camera, it’s something else causes the issue?
Hi JerryChang,
I defer to yzhao5 on how to reproduce this issue, but I would like to point out that this issue appears to be more complicated than simply a corrupt frame. Looking at the video in the original ticket, the video jumps backwards by more than a single frame, which make me think there must be a buffer of frames somewhere that is being written to/read from incorrectly or that there is memory corruption. Do you know if there is a circular buffer in the VI or other modules? As yzhao5 mentioned, a general overview on how frames are generated and an explanation on how an issue like this could happen would be extremely helpful.
please refer to Camera Architecture Stack for an overview of Argus and v4l2, they’re went through different pipelines.
there did have queue to handle capture buffers, but.. it would be great if you sharing a sample capture pipeline for reference.