Store the extracted frame from video file in array

what do you want to do, exactly ? do you want to write a video file, stitch a panorama, or make an array of it ? those things are all unrelated to each other.

please try to be as precise as possible, and remove the “garbage words” from your question.