First time here? Check out the FAQ!
answered 2016-11-10 23:05:01 -0600
VideoCapture will return an empty, invalid frame, if it reached the end of your movie. you will have to check for this:
capture1 >> frame1; if (frame1.empty()) { // what now ? } // repeat for all 6 captures