This is a simple demo which works with Android's MediaMetadataRetriever class to extract frames from video file.
VideoFramingDemo is hosted in the following web site
https://github.com/steelkiwi/VideoFramingDemo
If you think the Android project VideoFramingDemo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of VideoFramingDemo.
Item | Value |
---|---|
Java File Count | 11 |
Supported screen sizes | [mdpi, xxhdpi, hdpi, xhdpi] |
Target SDK Version | 19 |
Minimum SDK Version | 10 |
Activity Count | 3 |
jar files used | android-support-v4.jar android-support-v4.jar android-support-v7-appcompat.jar fmmr.jar |
Required Permissions | android.permission.READ_EXTERNAL_STORAGE android.permission.WRITE_EXTERNAL_STORAGE |
There are 54 image files in VideoFramingDemo. The names of the image files are listed as follows.
abc_ab_bottom_solid_dark_holo.9.png abc_ab_bottom_solid_light_holo.9.png abc_ab_bottom_transparent_dark_holo.9.png abc_ab_bottom_transparent_light_holo.9.png abc_ab_share_pack_holo_dark.9.png abc_ab_share_pack_holo_light.9.png abc_ab_solid_dark_holo.9.png abc_ab_solid_light_holo.9.png abc_ab_stacked_solid_dark_holo.9.png abc_ab_stacked_solid_light_holo.9.png abc_ab_stacked_transparent_dark_holo.9.png abc_ab_stacked_transparent_light_holo.9.png abc_ab_transparent_dark_holo.9.png abc_ab_transparent_light_holo.9.png abc_cab_background_bottom_holo_dark.9.png abc_cab_background_bottom_holo_light.9.png abc_cab_background_top_holo_dark.9.png abc_cab_background_top_holo_light.9.png abc_ic_ab_back_holo_dark.png abc_ic_ab_back_holo_light.png abc_ic_cab_done_holo_dark.png abc_ic_cab_done_holo_light.png abc_ic_clear_disabled.png abc_ic_clear_normal.png abc_ic_clear_search_api_disabled_holo_light.png abc_ic_clear_search_api_holo_light.png abc_ic_commit_search_api_holo_dark.png abc_ic_commit_search_api_holo_light.png abc_ic_go.png abc_ic_go_search_api_holo_light.png abc_ic_menu_moreoverflow_normal_holo_dark.png abc_ic_menu_moreoverflow_normal_holo_light.png abc_ic_menu_share_holo_dark.png abc_ic_menu_share_holo_light.png abc_ic_search.png abc_ic_search_api_holo_light.png abc_ic_voice_search.png abc_ic_voice_search_api_holo_light.png abc_list_selector_disabled_holo_dark.9.png abc_list_selector_disabled_holo_light.9.png abc_menu_dropdown_panel_holo_dark.9.png abc_menu_dropdown_panel_holo_light.9.png abc_menu_hardkey_panel_holo_dark.9.png abc_menu_hardkey_panel_holo_light.9.png abc_spinner_ab_default_holo_dark.9.png abc_spinner_ab_default_holo_light.9.png abc_spinner_ab_disabled_holo_dark.9.png abc_spinner_ab_disabled_holo_light.9.png abc_spinner_ab_focused_holo_dark.9.png abc_spinner_ab_focused_holo_light.9.png abc_spinner_ab_pressed_holo_dark.9.png abc_spinner_ab_pressed_holo_light.9.png ic_create.png ic_save.png
The following screenshort is generated from the image listed above.
VideoFramingDemo has the following Java source files.
com.skd.videoframing.Frame.java com.skd.videoframing.FrameActivity.java com.skd.videoframing.MainActivity.java com.skd.videoframing.OnFrameClickListener.java com.skd.videoframing.SettingsActivity.java com.skd.videoframing.async.FrameExtractorTask.java com.skd.videoframing.async.FramesExtractorTask.java com.skd.videoframing.utils.FileUtils.java com.skd.videoframing.utils.ImageUtils.java com.skd.videoframing.utils.SharedPrefsUtils.java com.skd.videoframing.utils.StorageUtils.java