I have a 28 frame video as input, which outputs 28 images, but the first frame is always this gray image:

This seems to be the case on any input video I try. I think it has something to do with the initialization stage for Processing. There may be a solution in looping once to get the first frame in the second pass, but that doesn't sound very elegant.
I have a 28 frame video as input, which outputs 28 images, but the first frame is always this gray image:

This seems to be the case on any input video I try. I think it has something to do with the initialization stage for Processing. There may be a solution in looping once to get the first frame in the second pass, but that doesn't sound very elegant.