Java tutorial
//package com.java2s; import android.graphics.Bitmap; import android.media.MediaMetadataRetriever; import java.util.HashMap; public class Main { public static Bitmap getFrameAtTime(String path) { MediaMetadataRetriever retriever = new MediaMetadataRetriever(); retriever.setDataSource(path, new HashMap<String, String>()); return retriever.getFrameAtTime(); } }