Cudacodec:: VideoReader has a high parallel frame loss rate

I used the parallel cudacodec:: createVideoReader to read the 5-way camera, and spliced its pictures into a large picture. I found that many frames were lost, which caused the picture to have a stuck effect. When I use the serial mode, the picture does not lose frames or get stuck, but the time displayed on the pictures of different cameras is not synchronized, and the difference between them is 1-2 seconds.

If you are splicing into a large picture that imples there could be some synchronization, which is causing each read thread to wait?

Is it always 1-2 seconds or just for the first say 30 seconds while they all catch up with each other?

It’s always 1-2 seconds away