video_editor
A flutter package for editing video with fully customizable UI. Supports crop, trim, rotation and cover selection. Provides commands to run in order to export the video or cover.
3.0.0
30K downloads/mo
#1856 most downloaded on pub.dev
LeGoffMael/video_editor
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 4 months
Nearly every release is documented
notes for 29 of 29 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
29 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
29 releases · Dec 2020 to Jun 2023Releases
latest 29-
3.0.026 Jun 2023Release notes
Open source →- Removed dependency to FFmpeg from this package (reasons)
- New complete control over the command generation using
commandBuilderinVideoFFmpegVideoEditorConfig- Removed
VideoExportPreset, you can specifies it using thecommandBuilder. - Removed
customInstruction, you can now custom the command using thecommandBuilder.
- Removed
- The exportation is now very fast if there is no filter #140
- Fix assert error while triming #157
- New
coverThumbnailsQualityandtrimThumbnailsQualityin controller- Removed
qualityinCoverSelection, instead usescoverThumbnailsQuality - Removed
qualityinThumbnailSlider, instead usestrimThumbnailsQuality - Removed
qualityinTrimSlider, instead usestrimThumbnailsQuality
- Removed
Release notes
Open source →Note If you continue to use the previous versions (from 1.2.3 to 2.4.0) your project might be subject to a GPL license.
- Removed dependency to FFmpeg from this package (reasons)
Before:
// Basic export video function Future<void> exportVideo() => _controller.exportVideo( onCompleted: (file) {}, // show the exported video );After:
/// Basic export video function Future<void> exportVideo() async { // You could generate your command line yourself or if you want to continue to use FFmpeg : final config = VideoFFmpegVideoEditorConfig(_controller); // Returns the generated command and the output path final FFmpegVideoEditorExecute execute = await config.getExecuteConfig(); // ... handle the video exportation yourself, using ffmpeg_kit_flutter, your own video server, ... (more example in the example app) }- New complete control over the command generation using
commandBuilderinVideoFFmpegVideoEditorConfig- Removed
VideoExportPreset, you can specifies it using thecommandBuilder. - Removed
customInstruction, you can now custom the command using thecommandBuilder.
- Removed
- The exportation is now very fast if there is no filter #140
- Fix assert error while triming #157
- New
coverThumbnailsQualityandtrimThumbnailsQualityin controller- Removed
qualityinCoverSelection, instead usescoverThumbnailsQuality - Removed
qualityinThumbnailSlider, instead usestrimThumbnailsQuality - Removed
qualityinTrimSlider, instead usestrimThumbnailsQuality
- Removed
-
2.4.027 Feb 2023Release notes
Open source →-
Fix update TrimSlider trim values from controller #141
-
Some controller's methods name has been changed :
Breaking changes
updateCrop()method is now renamedapplyCacheCrop().- Setters
minTrim,maxTrim,minCrop&maxCrophas been removed.<br>Prefer usingupdateTrim(min, max)and the newupdateCrop(min, max)methods instead.
-
-
2.3.010 Feb 2023Release notes
Open source →- fixes GIF file exportation #134
Breaking changes
formatargument inexportVideoandexportCover, is now an object.
Before:
await controller.exportVideo(format: 'mp4', onCompleted: (_) {}); await controller.extractCover(format: 'jpg', onCompleted: (_) {});After:
await controller.exportVideo( format: VideoExportFormat.mp4, // or const VideoExportFormat('mp4') onCompleted: (_) {}. ); await controller.extractCover( format: CoverExportFormat.jpg, // or const CoverExportFormat('jpg') onCompleted: (_) {}. ); -
2.2.005 Jan 2023Release notes
Open source →What's Changed
- new
rotateCropAreaparameter inCropGridViewer.editby @LeGoffMael in #130 - new:
CropPreviewMixinby @LeGoffMael in #131 - change: improve widgets performances by @LeGoffMael in #132
Full Changelog: v2.1.0...v2.2.0
- new
-
2.1.001 Dec 2022Release notes
Open source →What's Changed
- Crop export values by @LeGoffMael in #125
- New min duration argument by @LeGoffMael in #126
- More accurate trim slider by @LeGoffMael in #127
- 2.1.0 by @LeGoffMael in #128
Full Changelog: v2.0.0...v2.1.0
-
2.0.028 Nov 2022Release notes
Open source →What's Changed
- Allow crop touch detection when out of crop grid view by @LeGoffMael in #121
- Better trimmer by @LeGoffMael in #122
- Rotation animate by @LeGoffMael in #123
- New trimmer v2 by @LeGoffMael in #124
Migration guide
Full Changelog: v1.5.1...v2.0.0Release notes
Open source →- New trimmer gesture #124
- New animation during rotation #123
- Better trimmer #122
- Better crop boundaries touch detection #121
- New style parameters
- New thumbnails fadein animation at generation
- Video cursor position updated better while trimming
- Fix scale issue in thumbnails
Check migration guide.
-
1.5.204 Nov 2022 -
1.5.103 Nov 2022Release notes
Open source →What's Changed
- Init aspect ratio, fix crop ratio and scale by @LeGoffMael in #113
Full Changelog: v1.5.0...v1.5.1
Release notes
Open source →- New
aspectRatioparam in initialize function, to set up the crop param without opening the crop view - Fix some crop resize issue with ratio
- Fix scale issue
-
1.5.028 Oct 2022Release notes
Open source →What's Changed
- Upgrade to flutter_ffmpeg_kit 5.1.0 by @LeGoffMael in #111
Full Changelog: v1.4.4...v1.5.0
-
1.4.427 Oct 2022Release notes
Open source →What's Changed
- [iOS] Spaces in filepath by @martingeorgiu in #108
New Contributors
- @martingeorgiu made their first contribution in #108
Full Changelog: v1.4.3...v1.4.4
Release notes
Open source →- Fix export error when space in output path #108 by @martingeorgiu
- Bump
video_thumbnaildependencies to 0.5.3 so upgrade android compileSdkVersion to 33
-
1.4.323 Jun 2022Release notes
Open source →What's Changed
- New
selectedIndicatorparam in CoverSelectionStyle by @LeGoffMael in #97 - New
onErrorparam in export functions by @LeGoffMael in #98
Full Changelog: v1.4.2...v1.4.3
- New
-
1.4.222 May 2022Release notes
Open source →What's Changed
- Update to flutter 3 and lints 2.0.1 by @LeGoffMael in #91
Full Changelog: v1.4.1...v1.4.2
-
1.4.114 Apr 2022Release notes
Open source →What's Changed
- Exception in thumbnails generation should not clear the list by @LeGoffMael in #88
Full Changelog: v1.4.0...v1.4.1
-
1.4.011 Apr 2022Release notes
Open source →- Fix crop grid : gesture, aspect ratio, and painting area #87
- [MAJOR INTERNAL CROP CHANGES]
- The aspect ratio is resizing the crop area differently depending of the current crop ratio
- The crop rect is updated using
Rect.LTRB - The crop area gesture is detected differently
- The crop paint area is diplayed using
Path.combine
-
1.3.108 Apr 2022 -
1.3.004 Apr 2022 -
1.2.529 Mar 2022Release notes
Open source →- Upgraded
video_thumbnaildependency - Fix dependency conflict with
path 1.8.1#79
- Upgraded
-
1.2.411 Mar 2022Release notes
Open source →- Updated dependencies
- Add
isFiltersEnabledparam to disable all changes at extraction #76 by @AlexSmirnov9107 - Fix an error at extraction if the destination path contains a space #74 by @rgplvr
-
1.2.306 Jan 2022Release notes
Open source →- Update
ffmpeg_kit_flutterto latest 4.5.1 #65 - Print ffmpeg session state, return code and fail stack trace if exists #63
- New function to get metadata of video file #57
- Update
README.mdaboutffmpeg_kit_flutterconfiguration #53 by @qiongshusheng
- Update
-
1.2.205 Nov 2021 -
1.2.102 Nov 2021Release notes
Open source →@legoffmael changes
- Added icons customization in trimmer style #45
- Improved cover exportation + apply cover quality in thumbnail #46
- Fix exportation directory issues + add exportation parameters (cover format and exportation directory) #47
- Change how video dimensions are computed + update example and libraries #48
FELIPE MURGUIA changes
- Migrated to FFMPEG KIT xd
-
1.2.009 Aug 2021 -
1.1.031 Mar 2021 -
1.0.320 Feb 2021 -
1.0.3+121 Feb 2021 -
1.0.214 Jan 2021 -
1.0.114 Jan 2021Release notes
Open source →-
Export Video:
- VideoExportPreset
- customFFMPEGInstruction
-
Trim Slider:
- Load faster thumbnails
- MaxTrimDuration
- Bugs Fixed
-
-
1.0.024 Dec 2020 -
1.0.0+125 Dec 2020