Skip to content

MLSDev/VideoThumbnailExtractor

Repository files navigation

VideoThumbnailExtractor

ThumbnailExtractor is an easy way to extract and pick thumbnail image from Video frames

Setup

To use this library your minSdkVersion must be >= 17.

In your build.gradle :

dependencies {
    implementation 'com.mlsdev.thumbnailextractor:library:1.0.0'    
}

Example

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
                })

Sample App

Authors

License

VideoThumbnailExtractor is released under the MIT license. See LICENSE for details.

About MLSDev

MLSDev.com

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!

About

Pick image frame from video using LiveData component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published