I want to store the thumbnail image for video after the user start recording, because i want to use the only few video to list which is stored under specific instead of all video from sdcard.
If i want to shoe all video i got the thumbnails form MediaStore class, but i need for specific video i have to store the thumbnails separately for the particular video. Any suggest
some idea to achieve this.
If it is possible tell me how to capture the surface View of camera to save it as bitmap image for use it as Thumbnails.
Thanks
The first frame can be taken using the NDK and ffmpeg, but it’s more trouble than it’s worth.
The simple way is to use
ThumbnailUtilsas per this answer, provided you are on android-8 (Froyo) or later.