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 2025Releases
latest 46-
5.0.027 Apr 2025Release notes
Open source →Got rid of the
flutter_ffmpegpackage and now uses a native video trimmer (Android and iOS)! 🎉Why the change?
- The most important reason is that the
flutter_ffmpegpackage 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
ffmpegCommandandcustomVideoFormatproperties. As those were specific toflutter_ffmpegpackage. FileFormatno longer exists. A new enum is introduced calledOutputTypeto choose between GIF and video output file.outputFormatno longer exists. By default the output has the same format as the original video.
Other changes
- New property
qualityGIFto specify the quality of the GIF. - Update dependencies.
- Update example project.
- Update README.
- The most important reason is that the
-
4.0.230 Dec 2024 -
4.0.2-LTS30 Dec 2024 pre-releaseNothing published for this version
-
4.0.129 Nov 2024 -
4.0.1-LTS29 Nov 2024 pre-releaseNothing published for this version
-
4.0.029 Nov 2024Release notes
Open source →- Fix thumbnail loading issue while using certain video formats.
- Upgrade dependencies and remove
video_thumbnailpackage (uses FFmpeg which is more reliable and efficient). - Fix an issue with the video trimmer length being incorrectly calculated breaking the UI.
-
4.0.0-LTS29 Nov 2024 pre-releaseNothing published for this version
-
3.0.101 Oct 2023 -
3.0.1-LTS01 Oct 2023 pre-releaseNothing published for this version
-
3.0.001 Oct 2023Release notes
Open source →- 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.
-
3.0.0-LTS01 Oct 2023 pre-releaseNothing published for this version
-
2.1.010 Feb 2023 -
2.0.130 Oct 2022 -
2.0.029 Oct 2022Release notes
Open source →- BREAKING CHANGE: Overhaul of the entire video trimmer implementation.
- Two types of
TrimViewerare available:FixedTrimViewer&ScrollableTrimViewer. By default it's set toautoso that it switches between these two based on the total video length and the maximum trim duration allowed. - Rename
TrimEditortoTrimViewer. 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.
- Two types of
- Add more customization options.
- Improve the documentation.
- Update the example project.
- Bug Fix: Use
circleSizeOnDragonly on the selected holder.
- BREAKING CHANGE: Overhaul of the entire video trimmer implementation.
-
1.2.022 Oct 2022 -
1.1.323 Apr 2022Release notes
Open source →- Changing
pathversion to1.8.0(latest is1.8.1) because it creates a conflict withflutter_testas it uses the older version.
- Changing
-
1.1.223 Apr 2022 -
1.1.103 Mar 2022 -
1.1.003 Mar 2022Release notes
Open source →- Update ffmpeg_kit_flutter to 4.5.1-LTS.
- Update other plugin versions.
- Update Readme.
-
1.0.003 Dec 2021Release notes
Open source →- BREAKING CHANGE: Migrate to FFmpegKit for Flutter.
saveTrimmedVideo()method is not async now, you'll need to use the callbackonSave: (outputPath) {}to get the trimmed video output path. - Add playback timestamp in the
showDuration. - Simply configuration.
- Update the plugin versions.
- Update Docs.
- BREAKING CHANGE: Migrate to FFmpegKit for Flutter.
-
0.6.027 Sep 2021 -
0.5.423 Jul 2021 -
0.5.323 Jul 2021Release notes
Open source →- Add
borderWidthandscrubberWidthproperties underTrimEditorwidget. - Fix padding and border decoration of
VideoViewer. - Update the plugin versions.
- Add
-
0.5.201 Jul 2021Release notes
Open source →- Fix iOS error while loading thumbnails in
TrimEditor. - Remove an unused dependency.
- Update packages.
- Fix iOS error while loading thumbnails in
-
0.5.127 May 2021 -
0.5.027 May 2021Release notes
Open source →- 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.
-
0.4.009 Apr 2021Release notes
Open source →- Migrate to null safety.
- Fix video thumbnail loading issues.
- Bump up all dependencies.
- Upgrade example.
-
0.3.501 Jan 2021 -
0.3.419 Nov 2020Release notes
Open source →- Fixed the issue with video getting struck for a few initial frames during playback.
-
0.3.209 Oct 2020 -
0.3.109 Oct 2020Release notes
Open source →- Improve the file structure of the package.
- Now, you just have to import one file for using the package.
-
0.3.009 Oct 2020Release notes
Open source →- Update the plugin versions.
- Update example app (now includes how to retrieve the trimmed video).
- Update Readme.
- Fixes some memory leak issues.
-
0.2.704 Aug 2020Release notes
Open source →- Add a new property called
maxVideoLengthfor specifying the max length of the output video. - Update Docs.
- Add a new property called
-
0.2.624 Jul 2020Release notes
Open source →-
Add a new property called
fittoTrimEditorwidget which will let you specify the image fit type of each thumbnail image. -
Add a new property to
saveTrimmedVideo()method calledapplyVideoEncodingwhich 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.
-
-
0.2.519 Jul 2020Release notes
Open source →- Update Docs.
- Reverted the FFmpeg trimmed video start & end position to milliseconds (earlier it was changed to seconds in
v0.2.4to fix video freezing, but after testing it was found that the issue still persists).
-
0.2.417 Jun 2020Release notes
Open source →- Fix output video freezing during start and end.
- Update the example app to use LTS version of FFmpeg (for wider device support).
- Update Readme.
-
0.2.320 May 2020 -
0.2.219 May 2020Release notes
Open source →- Change implementation of the
saveTrimmedVideo()method. saveTrimmedVideo()now returns the output video path.- Update Docs.
- Change implementation of the
-
0.2.117 May 2020 -
0.2.015 May 2020Release notes
Open source →- 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.
- BREAKING CHANGE:
-
0.1.513 May 2020 -
0.1.412 May 2020 -
0.1.310 May 2020 -
0.1.230 Apr 2020 -
0.1.130 Apr 2020 -
0.1.030 Apr 2020