Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to read VideoCapture as part in multiple threads

hello,

I have a video of more than 90k frames, and I want to divire it the read into multiple four or more threads for example a video on 20 mins, I want the first thread read the VideoCapture from 0 to 5 min
the 2th thread read the VideoCapture from 5 to 10 min
the 3th thread read the VideoCapture from 10 to 15 min
the 4th thread read the VideoCapture from 15 to 20 min

any help would appreciated.

How to read VideoCapture as part in multiple threads

hello,

I have a video of more than 90k frames, and I want to divire it the read into multiple four or more threads for example a video on 20 mins, I want

the first thread read the VideoCapture from 0 to 5 min
the 2th thread read the VideoCapture from 5 to 10 min
the 3th thread read the VideoCapture from 10 to 15 min
the 4th thread read the VideoCapture from 15 to 20 min

any help would appreciated.

How to read VideoCapture as part in multiple threads

hello,

I have a video of more than 90k frames, and I want to divire it the read into multiple four or more threads for example a video on 20 mins, I want

the first thread read the VideoCapture from 0 to 5 min
the 2th thread read the VideoCapture from 5 to 10 min
the 3th thread read the VideoCapture from 10 to 15 min
the 4th thread read the VideoCapture from 15 to 20 min

any help would appreciated.

How to read VideoCapture as part in multiple threads

hello,

I have a video of more than 90k frames, and I want to divire it the read into multiple four or more threads for example a video on 20 mins, I want

the first thread read the VideoCapture from 0 to 5 min
the 2th thread read the VideoCapture from 5 to 10 min
the 3th thread read the VideoCapture from 10 to 15 min
the 4th thread read the VideoCapture from 15 to 20 min

any help would appreciated.

How to read VideoCapture as part parts in multiple threads

hello,

I have a video of more than 90k frames, and I want to divire it the read into multiple four or more threads for example a video on 20 mins, I want

the first thread read the VideoCapture from 0 to 5 min
the 2th thread read the VideoCapture from 5 to 10 min
the 3th thread read the VideoCapture from 10 to 15 min
the 4th thread read the VideoCapture from 15 to 20 min

I use these function for Similarity check (PNSR and SSIM), In fact, I have a long video sequence, I want to make the code faster by split this sequence loaded in a VideoCapture variable into multiple pasts, So, by doing this. I will use threads to process each part simultaneously. this is the need, I hope it's clear.

image description

any help would appreciated.

How to read VideoCapture as parts in multiple threads

hello,

I have a video of more than 90k frames, and I want to divire it the read into multiple four or more threads for example a video on 20 mins, I want

the first thread read the VideoCapture from 0 to 5 min
the 2th thread read the VideoCapture from 5 to 10 min
the 3th thread read the VideoCapture from 10 to 15 min
the 4th thread read the VideoCapture from 15 to 20 min

I use these function functions for Similarity check (PNSR and SSIM), In fact, I have a long video sequence, I want to make the code faster by split this sequence loaded in a VideoCapture variable into multiple pasts, So, by doing this. I will use threads to process each part simultaneously. this is the need, I hope it's clear.

image description

any help would appreciated.

How to read VideoCapture as parts in multiple threads

hello,

I have a video of more than 90k frames, and I want to divire it the read into multiple four or more threads for example a video on 20 mins, I want

the first thread read the VideoCapture from 0 to 5 min
the 2th thread read the VideoCapture from 5 to 10 min
the 3th thread read the VideoCapture from 10 to 15 min
the 4th thread read the VideoCapture from 15 to 20 min

I use these functions for Similarity check (PNSR and SSIM), In fact, I have a long video sequence, I want to make the code faster by split spliting this sequence loaded in a VideoCapture variable into multiple pasts, parts, So, by doing this. this, I will use threads to process each part simultaneously. this is the need, I hope it's clear.

image description

any help would appreciated.