I need to get a frame of a video file (it may be on sdcard, cache dir or app dir). I have package android.media in my application and inside I have class MediaMetadataRetrie
so is there a specific way to get the frame from video as
File sdcard = Environment.getExternalStorageDirectory(); File file = new File(sdcard, "myvideo.mp4");