Skip to content

Commit 9ca6111

Browse files
committed
## 3.0.0
* Upgraded to FFmpeg `v8.0.0`, which includes numerous updates like new encoders and decoders and Vulkan compute-based codecs. * Updated the Android `ffmpeg-kit-min` dependency. * Raised the minimum macOS deployment target from `10.14` to `10.15`. * Raised the minimum iOS deployment target from `12.0` to `13.0`. * Corrected the unzip destination path in iOS and macOS setup scripts. * Updated `CHANGELOG.md`, `README.md`, and `pubspec.yaml` with the new version.
1 parent ba75527 commit 9ca6111

File tree

11 files changed

+28
-22
lines changed

11 files changed

+28
-22
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.0.0
2+
3+
* FFmpeg `v8.0.0` with [all the sweet perks](https://ffmpeg.org/index.html#news)
4+
15
## 2.1.0
26

37
* Downgraded Kotlin from 2.2.0 to 1.8.22

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _Fork of the original FFmpeg Kit library to work with Android V2 bindings and Fl
66

77
<p align="center">
88
<a href="https://pub.dev/packages/ffmpeg_kit_flutter_new_min">
9-
<img src="https://img.shields.io/badge/pub-2.1.0-blue?logo=dart" alt="pub">
9+
<img src="https://img.shields.io/badge/pub-3.0.0-blue?logo=dart" alt="pub">
1010
</a>
1111
<a href="https://discord.gg/8NVwykjA">
1212
<img src="https://img.shields.io/discord/1387108888452665427?logo=discord&logoColor=white&label=Join+Us&color=blueviolet" alt="Discord">
@@ -28,7 +28,7 @@ _Fork of the original FFmpeg Kit library to work with Android V2 bindings and Fl
2828
- `iOS`
2929
- `macOS`
3030

31-
- **FFmpeg Version**: `v7.1.1`
31+
- **FFmpeg Version**: `v8.0.0`
3232

3333
- **Supported Architectures**:
3434
- **Android**:
@@ -60,7 +60,7 @@ Add `ffmpeg_kit_flutter_new_min` as a dependency in your `pubspec.yaml file`.
6060

6161
```yaml
6262
dependencies:
63-
ffmpeg_kit_flutter_new_min: ^2.1.0
63+
ffmpeg_kit_flutter_new_min: ^3.0.0
6464
```
6565
6666
### 3. Packages

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ android {
4949

5050
dependencies {
5151
implementation("androidx.annotation:annotation:1.9.1")
52-
implementation("com.antonkarpenko:ffmpeg-kit-min:1.0.3")
52+
implementation("com.antonkarpenko:ffmpeg-kit-min:2.0.0")
5353
}
5454
}

example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>12.0</string>
24+
<string>13.0</string>
2525
</dict>
2626
</plist>

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@
458458
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
459459
GCC_WARN_UNUSED_FUNCTION = YES;
460460
GCC_WARN_UNUSED_VARIABLE = YES;
461-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
461+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
462462
MTL_ENABLE_DEBUG_INFO = NO;
463463
SDKROOT = iphoneos;
464464
SUPPORTED_PLATFORMS = iphoneos;
@@ -477,7 +477,7 @@
477477
DEVELOPMENT_TEAM = 3A99V97W36;
478478
ENABLE_BITCODE = NO;
479479
INFOPLIST_FILE = Runner/Info.plist;
480-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
480+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
481481
LD_RUNPATH_SEARCH_PATHS = (
482482
"$(inherited)",
483483
"@executable_path/Frameworks",
@@ -589,7 +589,7 @@
589589
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
590590
GCC_WARN_UNUSED_FUNCTION = YES;
591591
GCC_WARN_UNUSED_VARIABLE = YES;
592-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
592+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
593593
MTL_ENABLE_DEBUG_INFO = YES;
594594
ONLY_ACTIVE_ARCH = YES;
595595
SDKROOT = iphoneos;
@@ -640,7 +640,7 @@
640640
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
641641
GCC_WARN_UNUSED_FUNCTION = YES;
642642
GCC_WARN_UNUSED_VARIABLE = YES;
643-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
643+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
644644
MTL_ENABLE_DEBUG_INFO = NO;
645645
SDKROOT = iphoneos;
646646
SUPPORTED_PLATFORMS = iphoneos;
@@ -661,7 +661,7 @@
661661
DEVELOPMENT_TEAM = 3A99V97W36;
662662
ENABLE_BITCODE = NO;
663663
INFOPLIST_FILE = Runner/Info.plist;
664-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
664+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
665665
LD_RUNPATH_SEARCH_PATHS = (
666666
"$(inherited)",
667667
"@executable_path/Frameworks",
@@ -685,7 +685,7 @@
685685
DEVELOPMENT_TEAM = 3A99V97W36;
686686
ENABLE_BITCODE = NO;
687687
INFOPLIST_FILE = Runner/Info.plist;
688-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
688+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
689689
LD_RUNPATH_SEARCH_PATHS = (
690690
"$(inherited)",
691691
"@executable_path/Frameworks",

example/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
558558
GCC_WARN_UNUSED_FUNCTION = YES;
559559
GCC_WARN_UNUSED_VARIABLE = YES;
560-
MACOSX_DEPLOYMENT_TARGET = 10.14;
560+
MACOSX_DEPLOYMENT_TARGET = 10.15;
561561
MTL_ENABLE_DEBUG_INFO = NO;
562562
SDKROOT = macosx;
563563
SWIFT_COMPILATION_MODE = wholemodule;
@@ -639,7 +639,7 @@
639639
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
640640
GCC_WARN_UNUSED_FUNCTION = YES;
641641
GCC_WARN_UNUSED_VARIABLE = YES;
642-
MACOSX_DEPLOYMENT_TARGET = 10.14;
642+
MACOSX_DEPLOYMENT_TARGET = 10.15;
643643
MTL_ENABLE_DEBUG_INFO = YES;
644644
ONLY_ACTIVE_ARCH = YES;
645645
SDKROOT = macosx;
@@ -689,7 +689,7 @@
689689
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
690690
GCC_WARN_UNUSED_FUNCTION = YES;
691691
GCC_WARN_UNUSED_VARIABLE = YES;
692-
MACOSX_DEPLOYMENT_TARGET = 10.14;
692+
MACOSX_DEPLOYMENT_TARGET = 10.15;
693693
MTL_ENABLE_DEBUG_INFO = NO;
694694
SDKROOT = macosx;
695695
SWIFT_COMPILATION_MODE = wholemodule;

lib/src/ffmpeg_kit_factory.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class FFmpegKitFactory {
9999
}
100100
}
101101

102-
static String getVersion() => "6.0.2";
102+
static String getVersion() => "8.0.0";
103103

104104
static LogRedirectionStrategy? getLogRedirectionStrategy(int? sessionId) =>
105105
logRedirectionStrategyMap[sessionId];

macos/Assets/.gitkeep

Whitespace-only changes.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: ffmpeg_kit_flutter_new_min
22
description: FFmpeg Kit Minimal for Flutter. Supports Android, iOS and macOS platforms.
33
repository: https://github.com/sk3llo/ffmpeg_kit_flutter
44
homepage: https://github.com/sk3llo/ffmpeg_kit_flutter
5-
version: 2.1.0
5+
version: 3.0.0
66

77
environment:
88
sdk: ">=3.1.0 <4.0.0"

scripts/setup_ios.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
#!/bin/bash
22

33
# Download and unzip iOS framework
4-
IOS_URL="https://github.com/sk3llo/ffmpeg_kit_flutter/releases/download/7.1.1-min/ffmpeg-kit-ios-min-7.1.1.zip"
4+
IOS_URL="https://github.com/sk3llo/ffmpeg_kit_flutter/releases/download/8.0.0-min/ffmpeg-kit-ios-min-8.0.0.zip"
5+
mkdir -p Frameworks
56
curl -L $IOS_URL -o frameworks.zip
6-
unzip -o frameworks.zip
7+
unzip -o frameworks.zip -d Frameworks
78
rm frameworks.zip
89

9-
# Delete bitcode from all frameworks (required for App Store)
10+
# Delete bitcode from all frameworks
1011
xcrun bitcode_strip -r Frameworks/ffmpegkit.framework/ffmpegkit -o Frameworks/ffmpegkit.framework/ffmpegkit
1112
xcrun bitcode_strip -r Frameworks/libavcodec.framework/libavcodec -o Frameworks/libavcodec.framework/libavcodec
1213
xcrun bitcode_strip -r Frameworks/libavdevice.framework/libavdevice -o Frameworks/libavdevice.framework/libavdevice

0 commit comments

Comments
 (0)