Show each frame of a video

Hi, im trying to make a small app that allows you to upload a video from your android device and it splits the video up into all of its frames and allows you to download the ones you desire. i just need help with the block coding to get each frame from the video.

Perhaps this ?

Actually VideoUtil would return thumbnail only.