Hi i have made a custom video played in android.with some simple \"play\",\"pause\",\"play again\" and \"capture\" button.NOw i have done all this functionalities except \"c
You can get a video frame with MediaMetadataRetriever. The basic usage is as follows.
MediaMetadataRetriever retriever = new MediaMetadataRetriever();
// Set data source to retriever.
// From your code, you might want to use your 'String path' here.
retriever.setDataSource(yourPath);
// Get a frame in Bitmap by specifying time.
// Be aware that the parameter must be in "microseconds", not milliseconds.
Bitmap bitmap = retriever.getFrameAtTime(timeInMicroSeconds);
// Do something with your bitmap.
You might want to use FFmpegMediaMetadataRetriever for better performance.