light_compressor
A powerful and easy-to-use video compression plugin for Flutter.
2.2.0
3.2K downloads/mo
#4555 most downloaded on pub.dev
AbedElazizShe/light_compressor
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 13 months
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
21 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
21 releases · Sep 2020 to Sep 2023Releases
latest 21-
2.2.027 Sep 2023Release notes
Open source →BREAKING: cancelCompression() is not static anymore to make it easier to unit test.
macOS 10.15 and iOS 11 support, thanks to starkdmi in this PR
Bumped Android's LightCompressor library to version 1.3.2 which comes with bugs fixes.
-
2.1.016 Jul 2023Release notes
Open source →BREAKING: Minimum supported Android API is 24.
Bumped Android's LightCompressor library to version 1.3.0.
-
2.0.113 Dec 2022Release notes
Open source →BREAKING:
isExternalwas renamed toisSharedStorageBumped Android's LightCompressor library to version 1.2.3.
Bugs fixes
-
2.0.012 Dec 2022Release notes
Open source →BREAKING:
frameRatewas removed and cannot be passed anymore.BREAKING:
destinationPathwas removed and cannot be passed anymore.BREAKING: It is required to pass Android configuration as
android. In addition,videoNameis required.BREAKING: It is required to pass iOS configuration as
ios.BREAKING:
iosSaveInGallerywas renamed tosaveInGalleryand should now be passed iniosconfiguration.BREAKING: It is required to pass video configuration as
videoBREAKING: It is important to add run-time permissions for media access in Android. Refer to the documentation.
disableAudiocan be passed now to generate a video without audio.keepOriginalResolutionwas added to force keeping the video's original height and width.Both
videoHeightandvideoWidthcan be provided now.Bumped Android's LightCompressor library to version 1.2.2.
Android Target SDK was increased to 33.
-
1.2.214 Nov 2021Release notes
Open source →Bumped Android's LightCompressor library to version 1.0.0. Fixed a crash in Android. Fixed iOS app building issue.
-
1.2.105 Sep 2021 -
1.2.004 Sep 2021Release notes
Open source →BREAKING: Renamed isMinBitRateEnabled to isMinBitrateCheckEnabled Passing frameRate value to the compressor is now allowed Redefined the bitrate values for each of the Qualities Compression speed is improved. Bugs fixes related to codec profile and audio track.
-
1.1.122 Jul 2021 -
1.1.022 Jul 2021Release notes
Open source →Breaking: LightCompressor is now following Singleton pattern, call the methods using
LightCompressor()Breaking:
compressVideo()returns adynamicresponse, to check for success, failure, or cancellation; useis OnSuccess,is OnFailure, andis onCancelledrespectively. Refer to the sample app for more details.Breaking: Progress change stream has been renamed and could be called now as
LightCompressor().onProgressUpdatedBumped Android's LightCompressor library to version 0.9.4.
Several bugs fixes and speed improvements.
Enabled the usage of software encoders if hardware encoders don't exist, such as in certain emulators.
-
1.0.313 Jun 2021Release notes
Open source →Fixed iOS crash when the video has no audio. Allowed passing
iosSaveInGallery (true/false)to control saving the compressed video in iOS. -
1.0.211 Apr 2021 -
1.0.128 Mar 2021 -
1.0.004 Mar 2021 -
0.1.007 Feb 2021 -
0.0.713 Dec 2020Release notes
Open source →Fixed a crash at iOS the video has no sound. Replaced image_picker with file_picker for the sample app due to this open issue https://github.com/flutter/flutter/issues/52419
-
0.0.629 Nov 2020 -
0.0.510 Oct 2020Release notes
Open source →Update LightCompressor library for Android with bugs fixes. Added
very_lowvideo quality. Fixed the project to work in iOS 14. -
0.0.413 Sep 2020 -
0.0.312 Sep 2020 -
0.0.212 Sep 2020 -
0.0.112 Sep 2020Release notes
Open source →Initial version of the plugin.
- Includes the ability to compress videos and works in both Android and iOS.