I want to get the frames of a video file to show in a gallery view in android. and how to edit frames, for example
Select frame sections
use selected sections
delete selected sections
copy selected sections
cut selected sections
paste into the head
paste into the tail
You can use the MediaMetadataRetriever class. It has getFrameAt() method wherein you can specify the time of the frame that you want to get.
For details refer to MediaMetadataRetriever
Actually, MediaMetadataRetriever.getFrameAtTime
uses microseconds as a parameter, not milliseconds. Once you make that change, you can get the correct frames from the video.