video_trimmer 5.0.0
video_trimmer: ^5.0.0 copied to clipboard
A Flutter package for trimming videos. This supports retrieving, trimming, and storage of trimmed video files to the file system.
5.0.0 #
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_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.
4.0.2 #
- Use
withValuesinstead ofwithOpacityas it's deprecated.
4.0.1 #
- Update readme.
4.0.0 #
- 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.
3.0.1 #
- Updates readme.
3.0.0 #
- 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.
2.1.0 #
- Update plugin versions.
2.0.1 #
- Add new property for specifying
DurationStyle.
2.0.0 #
- 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.
1.2.0 #
- Update plugin versions.
1.1.3 #
- Changing
pathversion to1.8.0(latest is1.8.1) because it creates a conflict withflutter_testas it uses the older version.
1.1.2 #
- Update plugin versions.
1.1.1 #
- Format file (to pass static analysis).
1.1.0 #
- Update ffmpeg_kit_flutter to 4.5.1-LTS.
- Update other plugin versions.
- Update Readme.
1.0.0 #
- 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.
0.6.0 #
- Update the plugin versions.
- Using flutter_lints.
0.5.4 #
- Update Docs.
0.5.3 #
- Add
borderWidthandscrubberWidthproperties underTrimEditorwidget. - Fix padding and border decoration of
VideoViewer. - Update the plugin versions.
0.5.2 #
- Fix iOS error while loading thumbnails in
TrimEditor. - Remove an unused dependency.
- Update packages.
0.5.1 #
- Update the example in Readme.
- Update the plugin versions.
0.5.0 #
- 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.0 #
- Migrate to null safety.
- Fix video thumbnail loading issues.
- Bump up all dependencies.
- Upgrade example.
0.3.5 #
- Update example app (small bug fixes).
- Update to latest plugin versions.
0.3.4 #
- Fixed the issue with video getting struck for a few initial frames during playback.
0.3.3 #
- Updated plugin versions.
0.3.2 #
- Minor changes.
0.3.1 #
- Improve the file structure of the package.
- Now, you just have to import one file for using the package.
0.3.0 #
- Update the plugin versions.
- Update example app (now includes how to retrieve the trimmed video).
- Update Readme.
- Fixes some memory leak issues.
0.2.7 #
- Add a new property called
maxVideoLengthfor specifying the max length of the output video. - Update Docs.
0.2.6 #
-
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.5 #
- 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.4 #
- 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.3 #
- Fix issue with path returned.
0.2.2 #
- Change implementation of the
saveTrimmedVideo()method. saveTrimmedVideo()now returns the output video path.- Update Docs.
0.2.1 #
- Fix over-scrolling && scroll-over issue.
0.2.0 #
- 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.
0.1.5 #
- Fix for paths having white spaces.
0.1.4 #
- Smoothen the scrubber animation.
0.1.3 #
- Code improvements.
- Update Readme.
0.1.2 #
- Changed
StorageDirformat naming. - Update documentation.
0.1.1 #
- Correct documentation.
0.1.0 #
- Initial Open Source release.