Skip to content

Commit

Permalink
🔖 release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LeGoffMael committed Jun 26, 2023
1 parent caf611b commit e42523d
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,43 @@
## 3.0.0

> **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](https://github.com/LeGoffMael/video_editor#1-why-was-ffmpeg-removed-from-this-package-))

Before:

```dart
// Basic export video function
Future<void> exportVideo() => _controller.exportVideo(
onCompleted: (file) {}, // show the exported video
);
```

After:
```dart
/// 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 `commandBuilder` in `VideoFFmpegVideoEditorConfig`
- Fix assert error while triming [#157](https://github.com/LeGoffMael/video_editor/issues/157)
- New `coverThumbnailsQuality` and `trimThumbnailsQuality` in controller
- Removed `quality` in `CoverSelection`
- Removed `quality` in `ThumbnailSlider`
- Removed `quality` in `TrimSlider`

## 2.4.0

- Fix update TrimSlider trim values from controller [#141](https://github.com/LeGoffMael/video_editor/pull/141)
- Add `scrollController` param in TrimSlider [#139](https://github.com/LeGoffMael/video_editor/pull/139)
- Add `scrollController` param in TrimSlider [#139](https://github.com/LeGoffMael/video_editor/pull/139) by [@jcsena](https://github.com/jcsena)

- Some controller's methods name has been changed :

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ The library provides some tools to execute the exportation but does not handle i

This library is written in Dart only but uses external packages such as [video_thumbnail](https://pub.dev/packages/video_thumbnail), which makes it available only on iOS and Android plaforms for now ((web support is currently in progress)[https://github.com/LeGoffMael/video_editor/pull/147]).

> **Note**
> If you use a version between (1.2.3 and 2.4.0) your project might be subject to a GPL license.
## 📖 Installation

Following steps will help you add this library as a dependency in your flutter project.
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: video_editor_example
description: The example project for the video_editor package.

publish_to: "none"
version: 2.4.0+1
version: 3.0.0+1

environment:
flutter: ">=3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: video_editor
version: 2.4.0
version: 3.0.0
description: |
A flutter package for editing video with fully customizable UI.
Supports crop, trim, rotation and cover selection.
Expand Down

0 comments on commit e42523d

Please sign in to comment.