I have a video file which consists of series of rgb format images, for example:
video name : static_camera2.576v frame size : 480x368 frame rate : 12 frames/sec duration : 5 sec
I need to access each frame with starting frame as I and need to extract all frames so that I can calculate the Motion Vectors based on the previous frame – this is a similar to the block based MAD (mean absolute difference).
Any idea how to access each frame and then store them to manipulate them with the above given parameters?