PackageTrack
Sign in Get early access

video_trimmer

A Flutter package for trimming videos. This supports retrieving, trimming, and storage of trimmed video files to the file system.

5.0.0 13K downloads/mo #2643 most downloaded on pub.dev sbis04/video_trimmer

What this package is like to depend on

Last release 1 years ago

27 Apr 2025

Release timing varies

gaps range from 8 days to 1.2 years

Nearly every release is documented

notes for 41 of 41 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

46 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

46 releases · Apr 2020 to Apr 2025
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 46
  1. 5.0.0 27 Apr 2025
    Release notes

    Got rid of the flutter_ffmpeg package and now uses a native video trimmer (Android and iOS)! 🎉

    Why the change?

    • The most important reason is that the flutter_ffmpeg package has been discontinued by the author. Learn more about it here.
    • The native video trimmer is more efficient and faster. And even provides better performance with low memory usage.

    BREAKING CHANGES

    • Remove ffmpegCommand and customVideoFormat properties. As those were specific to flutter_ffmpeg package.
    • FileFormat no longer exists. A new enum is introduced called OutputType to choose between GIF and video output file.
    • outputFormat no longer exists. By default the output has the same format as the original video.

    Other changes

    • New property qualityGIF to specify the quality of the GIF.
    • Update dependencies.
    • Update example project.
    • Update README.
    Open source →
  2. 4.0.2 30 Dec 2024
    Release notes
    • Use withValues instead of withOpacity as it's deprecated.
    Open source →
  3. 4.0.2-LTS 30 Dec 2024 pre-release

    Nothing published for this version

  4. 4.0.1 29 Nov 2024
    Release notes
    • Update readme.
    Open source →
  5. 4.0.1-LTS 29 Nov 2024 pre-release

    Nothing published for this version

  6. 4.0.0 29 Nov 2024
    Release notes
    • Fix thumbnail loading issue while using certain video formats.
    • Upgrade dependencies and remove video_thumbnail package (uses FFmpeg which is more reliable and efficient).
    • Fix an issue with the video trimmer length being incorrectly calculated breaking the UI.
    Open source →
  7. 4.0.0-LTS 29 Nov 2024 pre-release

    Nothing published for this version

  8. 3.0.1 01 Oct 2023
    Release notes
    • Updates readme.
    Open source →
  9. 3.0.1-LTS 01 Oct 2023 pre-release

    Nothing published for this version

  10. 3.0.0 01 Oct 2023
    Release notes
    • NOTE: Separates the LTS version into a branched package version. By default, it will use the latest "Full" version of FFmpeg. To install the "LTS" version use the "x.x.x-LTS" version of the package.
    • Updates minimum Flutter version to 3.0.
    • Updates plugin versions.
    Open source →
  11. 3.0.0-LTS 01 Oct 2023 pre-release

    Nothing published for this version

  12. 2.1.0 10 Feb 2023
    Release notes
    • Update plugin versions.
    Open source →
  13. 2.0.1 30 Oct 2022
    Release notes
    • Add new property for specifying DurationStyle.
    Open source →
  14. 2.0.0 29 Oct 2022
    Release notes
    • BREAKING CHANGE: Overhaul of the entire video trimmer implementation.
      • Two types of TrimViewer are available: FixedTrimViewer & ScrollableTrimViewer. By default it's set to auto so that it switches between these two based on the total video length and the maximum trim duration allowed.
      • Rename TrimEditor to TrimViewer. Check out this diagram for better understanding of the keywords/terms.
      • Separate the properties of into two types, TrimEditorProperties & TrimAreaProperties. Helps in identifying where the properties belong to easily.
      • Fix some bugs related to wrong trimmer length while initialization.
    • Add more customization options.
    • Improve the documentation.
    • Update the example project.
    • Bug Fix: Use circleSizeOnDrag only on the selected holder.
    Open source →
  15. 1.2.0 22 Oct 2022
    Release notes
    • Update plugin versions.
    Open source →
  16. 1.1.3 23 Apr 2022
    Release notes
    • Changing path version to 1.8.0 (latest is 1.8.1) because it creates a conflict with flutter_test as it uses the older version.
    Open source →
  17. 1.1.2 23 Apr 2022
    Release notes
    • Update plugin versions.
    Open source →
  18. 1.1.1 03 Mar 2022
    Release notes
    • Format file (to pass static analysis).
    Open source →
  19. 1.1.0 03 Mar 2022
    Release notes
    • Update ffmpeg_kit_flutter to 4.5.1-LTS.
    • Update other plugin versions.
    • Update Readme.
    Open source →
  20. 1.0.0 03 Dec 2021
    Release notes
    • BREAKING CHANGE: Migrate to FFmpegKit for Flutter. saveTrimmedVideo() method is not async now, you'll need to use the callback onSave: (outputPath) {} to get the trimmed video output path.
    • Add playback timestamp in the showDuration.
    • Simply configuration.
    • Update the plugin versions.
    • Update Docs.
    Open source →
  21. 0.6.0 27 Sep 2021
    Release notes
    • Update the plugin versions.
    • Using flutter_lints.
    Open source →
  22. 0.5.4 23 Jul 2021
    Release notes
    • Update Docs.
    Open source →
  23. 0.5.3 23 Jul 2021
    Release notes
    • Add borderWidth and scrubberWidth properties under TrimEditor widget.
    • Fix padding and border decoration of VideoViewer.
    • Update the plugin versions.
    Open source →
  24. 0.5.2 01 Jul 2021
    Release notes
    • Fix iOS error while loading thumbnails in TrimEditor.
    • Remove an unused dependency.
    • Update packages.
    Open source →
  25. 0.5.1 27 May 2021
    Release notes
    • Update the example in Readme.
    • Update the plugin versions.
    Open source →
  26. 0.5.0 27 May 2021
    Release notes
    • Global refactoring, example is now a standalone screen.
    • Fixed the staggering issue when dragging the frame.
    • The whole frame can now be dragged in addition to the sides.
    • Updated packages.
    • Updated the example.
    Open source →
  27. 0.4.0 09 Apr 2021
    Release notes
    • Migrate to null safety.
    • Fix video thumbnail loading issues.
    • Bump up all dependencies.
    • Upgrade example.
    Open source →
  28. 0.3.5 01 Jan 2021
    Release notes
    • Update example app (small bug fixes).
    • Update to latest plugin versions.
    Open source →
  29. 0.3.4 19 Nov 2020
    Release notes
    • Fixed the issue with video getting struck for a few initial frames during playback.
    Open source →
  30. 0.3.2 09 Oct 2020
    Release notes
    • Minor changes.
    Open source →
  31. 0.3.1 09 Oct 2020
    Release notes
    • Improve the file structure of the package.
    • Now, you just have to import one file for using the package.
    Open source →
  32. 0.3.0 09 Oct 2020
    Release notes
    • Update the plugin versions.
    • Update example app (now includes how to retrieve the trimmed video).
    • Update Readme.
    • Fixes some memory leak issues.
    Open source →
  33. 0.2.7 04 Aug 2020
    Release notes
    • Add a new property called maxVideoLength for specifying the max length of the output video.
    • Update Docs.
    Open source →
  34. 0.2.6 24 Jul 2020
    Release notes
    • Add a new property called fit to TrimEditor widget which will let you specify the image fit type of each thumbnail image.

    • Add a new property to saveTrimmedVideo() method called applyVideoEncoding which will let you specify whether to re-encode the trimmed video.

      NOTE: Applying this will take significantly greater amount of time to process the output video.

    • Improve Docs.

    Open source →
  35. 0.2.5 19 Jul 2020
    Release notes
    • Update Docs.
    • Reverted the FFmpeg trimmed video start & end position to milliseconds (earlier it was changed to seconds in v0.2.4 to fix video freezing, but after testing it was found that the issue still persists).
    Open source →
  36. 0.2.4 17 Jun 2020
    Release notes
    • Fix output video freezing during start and end.
    • Update the example app to use LTS version of FFmpeg (for wider device support).
    • Update Readme.
    Open source →
  37. 0.2.3 20 May 2020
    Release notes
    • Fix issue with path returned.
    Open source →
  38. 0.2.2 19 May 2020
    Release notes
    • Change implementation of the saveTrimmedVideo() method.
    • saveTrimmedVideo() now returns the output video path.
    • Update Docs.
    Open source →
  39. 0.2.1 17 May 2020
    Release notes
    • Fix over-scrolling && scroll-over issue.
    Open source →
  40. 0.2.0 15 May 2020
    Release notes
    • BREAKING CHANGE: loadVideo() method implementation changed. Now, you can pass the video file to the method.
    • Fix issue related to animation controller improperly disposing.
    • Update Docs.
    Open source →
  41. 0.1.5 13 May 2020
    Release notes
    • Fix for paths having white spaces.
    Open source →
  42. 0.1.4 12 May 2020
    Release notes
    • Smoothen the scrubber animation.
    Open source →
  43. 0.1.3 10 May 2020
    Release notes
    • Code improvements.
    • Update Readme.
    Open source →
  44. 0.1.2 30 Apr 2020
    Release notes
    • Changed StorageDir format naming.
    • Update documentation.
    Open source →
  45. 0.1.1 30 Apr 2020
    Release notes
    • Correct documentation.
    Open source →
  46. 0.1.0 30 Apr 2020
    Release notes
    • Initial Open Source release.
    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