PackageTrack
Sign in Get early access

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 2023
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 21
  1. 2.2.0 27 Sep 2023
    Release notes

    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.

    Open source →
  2. 2.1.0 16 Jul 2023
    Release notes

    BREAKING: Minimum supported Android API is 24.

    Bumped Android's LightCompressor library to version 1.3.0.

    Open source →
  3. 2.0.1 13 Dec 2022
    Release notes

    BREAKING: isExternal was renamed to isSharedStorage

    Bumped Android's LightCompressor library to version 1.2.3.

    Bugs fixes

    Open source →
  4. 2.0.0 12 Dec 2022
    Release notes

    BREAKING: frameRate was removed and cannot be passed anymore.

    BREAKING: destinationPath was removed and cannot be passed anymore.

    BREAKING: It is required to pass Android configuration as android. In addition, videoName is required.

    BREAKING: It is required to pass iOS configuration as ios.

    BREAKING: iosSaveInGallery was renamed to saveInGallery and should now be passed in ios configuration.

    BREAKING: It is required to pass video configuration as video

    BREAKING: It is important to add run-time permissions for media access in Android. Refer to the documentation.

    disableAudio can be passed now to generate a video without audio.

    keepOriginalResolution was added to force keeping the video's original height and width.

    Both videoHeight and videoWidth can be provided now.

    Bumped Android's LightCompressor library to version 1.2.2.

    Android Target SDK was increased to 33.

    Open source →
  5. 1.2.2 14 Nov 2021
    Release notes

    Bumped Android's LightCompressor library to version 1.0.0. Fixed a crash in Android. Fixed iOS app building issue.

    Open source →
  6. 1.2.1 05 Sep 2021
    Release notes

    Fixed an issue with optional frameRate value

    Open source →
  7. 1.2.0 04 Sep 2021
    Release notes

    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.

    Open source →
  8. 1.1.1 22 Jul 2021
    Release notes

    Updated documentation.

    Open source →
  9. 1.1.0 22 Jul 2021
    Release notes

    Breaking: LightCompressor is now following Singleton pattern, call the methods using LightCompressor()

    Breaking: compressVideo() returns a dynamic response, to check for success, failure, or cancellation; use is OnSuccess, is OnFailure, and is onCancelled respectively. Refer to the sample app for more details.

    Breaking: Progress change stream has been renamed and could be called now as LightCompressor().onProgressUpdated

    Bumped 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.

    Open source →
  10. 1.0.3 13 Jun 2021
    Release notes

    Fixed iOS crash when the video has no audio. Allowed passing iosSaveInGallery (true/false) to control saving the compressed video in iOS.

    Open source →
  11. 1.0.2 11 Apr 2021
    Release notes

    Updated Android dependency. Minor code refactor and cleanup

    Open source →
  12. 1.0.1 28 Mar 2021
    Release notes

    Bugs fixes.

    Open source →
  13. 1.0.0 04 Mar 2021
    Release notes

    Migrated to null safety.

    Open source →
  14. 0.1.0 07 Feb 2021
    Release notes

    Bugs fixes.

    Open source →
  15. 0.0.7 13 Dec 2020
    Release notes

    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

    Open source →
  16. 0.0.6 29 Nov 2020
    Release notes

    Updated dependencies. Fixed a crash on iOS.

    Open source →
  17. 0.0.5 10 Oct 2020
    Release notes

    Update LightCompressor library for Android with bugs fixes. Added very_low video quality. Fixed the project to work in iOS 14.

    Open source →
  18. 0.0.4 13 Sep 2020
    Release notes

    Updated documentation. Code cleanup.

    Open source →
  19. 0.0.3 12 Sep 2020
    Release notes

    Updated details about the plugin.

    Open source →
  20. 0.0.2 12 Sep 2020
    Release notes

    Updated documentation related to using the plugin for Android.

    Open source →
  21. 0.0.1 12 Sep 2020
    Release notes

    Initial version of the plugin.

    • Includes the ability to compress videos and works in both Android and iOS.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive