ThumbnailExtractor is an easy way to extract and pick thumbnail image from Video frames
To use this library your minSdkVersion
must be >= 17.
In your build.gradle :
dependencies {
implementation 'com.mlsdev.thumbnailextractor:library:1.0.0'
}
Pick video from gallery:
ThumbnailExtractor.with(supportFragmentManager).pickVideo().observe(this, Observer<Uri> { result ->
//receive video URI
})
Extract image from video:
ThumbnailExtractor.with(supportFragmentManager).extractThumbnail(videoUri).observe(this, Observer {
//receive frame bitmap
})
- Sergey Glebov (frederikos), MLSDev
VideoThumbnailExtractor is released under the MIT license. See LICENSE for details.
VideoThumbnailExtractor is maintained by MLSDev, Inc. We specialize in providing all-in-one solution in mobile and web development. Our team follows Lean principles and works according to agile methodologies to deliver the best results reducing the budget for development and its timeline.
Find out more here and don't hesitate to contact us!