LightCompressor
LightCompressor copied to clipboard
A powerful and easy-to-use video compression library for android uses MediaCodec API.
I am recording a video with my camera (Samsung S22 with Android 12) and after the recording i use the configuration ``` context = applicationContext, uris = uris, isStreamable =...
When the lib retrieves the file in order to compress it, it caches it inside `/data/user/0/com.your.project.package/` . After compression is complete, the file doesn't get deleted, leaving a file which...
`minSdkVersion` was changed from 21 to 24 in [release 1.3.0](https://github.com/AbedElazizShe/LightCompressor/releases/tag/1.3.0). What is the reason for this change? We want to use this library, but we need to support API from...
Hello! Thank you for providing this library. While incorporating this library into my project, I observed that the output quality and size were not optimal. Upon researching Android documentation, I...
I have integrated the library in my project, selected video is compress successfully, but when I tried to play this video getting below error. In My project Exoplayer version is...
We ask for reading permissions from media store before they can pick the image: ``` fun canReadMediaStore(context: Context) = checkSelfPermission(context, READ_MEDIA_IMAGES) == PackageManager.PERMISSION_GRANTED && checkSelfPermission(context, READ_MEDIA_VIDEO) == PackageManager.PERMISSION_GRANTED ``` But...
This is how I use the video compressor: ``` VideoCompressor.start( context = CoPilotApplication.application.applicationContext, uris = listOf(uri), isStreamable = true, sharedStorageConfiguration = SharedStorageConfiguration( saveAt = SaveLocation.movies, // => default is movies...
I'm using this library and wanted to set a maximum resolution for videos however that is currently not possible. When overriding the default resize function by adding `videoWidth` and `videoHeight`...
Hi, I'm using this library for some video uploading, and I keep seeing this error pop up in Firebase Crashlytics: ``` Fatal Exception: java.lang.IllegalStateException Failed to build unique file: /storage/emulated/0/Movies/compressed_video_temp.mp4...
Hi , Is it possible to compress video with some selected parts only. Is it possible here in this library