You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 14, 2021. It is now read-only.
FFmpeg plugin for Flutter. Supports iOS and Android.
@@ -70,26 +70,57 @@ FFmpeg plugin for Flutter. Supports iOS and Android.
70
70
Add `flutter_ffmpeg` as a dependency in your `pubspec.yaml file`.
71
71
```
72
72
dependencies:
73
-
flutter_ffmpeg: ^0.2.6
73
+
flutter_ffmpeg: ^0.2.7
74
74
```
75
75
76
76
#### 2.1 Packages
77
77
78
78
Installation of `FlutterFFmpeg` using `pub` enables the default package, which is based on `https` package. It is possible to enable other packages using the following steps.
79
79
80
-
1. Use the following dependency block in your `pubspec.yaml` file.
80
+
##### 2.1.1 Android
81
+
82
+
- Edit `android/build.gradle` file and define package name in `ext.flutterFFmpegPackage` variable.
pod p[:name]+'/<package name>', :path => File.join(symlink, 'ios')
103
+
else
104
+
pod p[:name], :path => File.join(symlink, 'ios')
105
+
end
106
+
}
89
107
```
90
-
2. Update version in `ref:` argument.
91
108
92
-
3. Set package name in `path: packages/flutter_ffmpeg_<package_name>[_lts]` section. Include `_lts` postfix only if you want to depend on an `LTS` release.
109
+
##### 2.1.3 Package Names
110
+
111
+
The following table shows all package names defined for `flutter_ffmpeg`.
112
+
113
+
| Package | Main Release | LTS Release |
114
+
| :----: | :----: | :----: |
115
+
| min | min | min-lts |
116
+
| min-gpl | min-gpl | min-gpl-lts |
117
+
| http | https | http-lts |
118
+
| http-gpl | http-gpl | http-gpl-lts |
119
+
| audio | audio | audio-lts |
120
+
| video | video | video-lts |
121
+
| full | full | full-lts |
122
+
| full-gpl | full-gpl | full-gpl-lts |
123
+
93
124
94
125
#### 2.2 Existing Applications
95
126
@@ -107,7 +138,7 @@ Please execute the following additional steps if you are integrating into an iOS
107
138
108
139
`flutter_ffmpeg` is published in two different variants: `Main Release` and `LTS Release`. Both releases share the same source code but is built with different settings. Below you can see the changes between the two.
109
140
110
-
In order to install the `LTS` variant, install the `flutter_ffmpeg_https_lts` package using instructions in `2.1` or append `_lts` to the package name you are using.
141
+
In order to install the `LTS` variant, install the `https-lts` package using instructions in `2.1` or append `-lts` to the package name you are using.
0 commit comments