Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Merge branch 'main' into development-react-native
Browse files Browse the repository at this point in the history
  • Loading branch information
tanersener committed Oct 2, 2022
2 parents 882a08a + 353b38a commit 2b00369
Show file tree
Hide file tree
Showing 174 changed files with 5,349 additions and 547 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
.DS_Store
.vscode
.history
90 changes: 50 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# FFmpegKit Test

Test applications for [FFmpegKit](https://github.com/tanersener/ffmpeg-kit).
Test applications for [FFmpegKit](https://github.com/arthenica/ffmpeg-kit).

- `Android` under the [android](https://github.com/tanersener/ffmpeg-kit-test/tree/main/android) folder
- `Flutter` under the [flutter](https://github.com/tanersener/ffmpeg-kit-test/tree/main/flutter) folder
- `iOS` under the [ios](https://github.com/tanersener/ffmpeg-kit-test/tree/main/ios) folder
- `macOS` under the [macos](https://github.com/tanersener/ffmpeg-kit-test/tree/main/macos) folder
- `React Native` under the [react-native](https://github.com/tanersener/ffmpeg-kit-test/tree/main/react-native) folder
- `tvOS` under the [tvos](https://github.com/tanersener/ffmpeg-kit-test/tree/main/tvos) folder
- `Android` under the [android](https://github.com/arthenica/ffmpeg-kit-test/tree/main/android) folder
- `Flutter` under the [flutter](https://github.com/arthenica/ffmpeg-kit-test/tree/main/flutter) folder
- `iOS` under the [ios](https://github.com/arthenica/ffmpeg-kit-test/tree/main/ios) folder
- `Linux` under the [linux](https://github.com/arthenica/ffmpeg-kit-test/tree/main/linux) folder
- `macOS` under the [macos](https://github.com/arthenica/ffmpeg-kit-test/tree/main/macos) folder
- `React Native` under the [react-native](https://github.com/arthenica/ffmpeg-kit-test/tree/main/react-native) folder
- `tvOS` under the [tvos](https://github.com/arthenica/ffmpeg-kit-test/tree/main/tvos) folder

All applications are identical and supports command execution, video encoding, accessing https urls, encoding audio,
burning subtitles, video stabilisation, pipe operations, concurrent command execution.
Expand All @@ -19,41 +20,50 @@ demonstrate how SAF uris can be used with `FFmpegKit`.

Test applications are tagged with `ffmpeg-kit` release they depend on.

| Platform | FFmpegKit Version | Tag |
| :----: |:-----------------:|:----------------------------------------------------------------------------------:|
| React Native | 4.5.2 | [4.5.2](https://github.com/tanersener/ffmpeg-kit-test/tree/react.native.v4.5.2) |
| Flutter | 4.5.1 | [4.5.1](https://github.com/tanersener/ffmpeg-kit-test/tree/flutter.v4.5.1) |
| Flutter | 4.5.1-LTS | [4.5.1-LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/flutter.v4.5.1.lts) |
| React Native | 4.5.1 | [4.5.1](https://github.com/tanersener/ffmpeg-kit-test/tree/react.native.v4.5.1) |
| Android | 4.5.1 | [4.5.1](https://github.com/tanersener/ffmpeg-kit-test/tree/android.v4.5.1) |
| Android | 4.5.1.LTS | [4.5.1.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/android.v4.5.1.lts) |
| iOS | 4.5.1 | [4.5.1](https://github.com/tanersener/ffmpeg-kit-test/tree/ios.v4.5.1) |
| iOS | 4.5.1.LTS | [4.5.1.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/ios.v4.5.1.lts) |
| macOS | 4.5.1 | [4.5.1](https://github.com/tanersener/ffmpeg-kit-test/tree/macos.v4.5.1) |
| macOS | 4.5.1.LTS | [4.5.1.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/macos.v4.5.1.lts) |
| tvOS | 4.5.1 | [4.5.1](https://github.com/tanersener/ffmpeg-kit-test/tree/tvos.v4.5.1) |
| tvOS | 4.5.1.LTS | [4.5.1.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/tvos.v4.5.1.lts) |
| Platform | FFmpegKit Version | Tag |
| :----: |:-----------------:|:---------------------------------------------------------------------------------:|
| Android | 5.1 | [5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v5.1) |
| Android | 5.1.LTS | [5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v5.1.lts) |
| iOS | 5.1 | [5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v5.1) |
| iOS | 5.1.LTS | [5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v5.1.lts) |
| macOS | 5.1 | [5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v5.1) |
| macOS | 5.1.LTS | [5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v5.1.lts) |
| tvOS | 5.1 | [5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v5.1) |
| tvOS | 5.1.LTS | [5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v5.1.lts) |
| - | - | - |
| React Native | 4.5.2 | [4.5.2](https://github.com/arthenica/ffmpeg-kit-test/tree/react.native.v4.5.2) |
| Flutter | 4.5.1 | [4.5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/flutter.v4.5.1) |
| Flutter | 4.5.1-LTS | [4.5.1-LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/flutter.v4.5.1.lts) |
| React Native | 4.5.1 | [4.5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/react.native.v4.5.1) |
| Android | 4.5.1 | [4.5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v4.5.1) |
| Android | 4.5.1.LTS | [4.5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v4.5.1.lts) |
| iOS | 4.5.1 | [4.5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v4.5.1) |
| iOS | 4.5.1.LTS | [4.5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v4.5.1.lts) |
| macOS | 4.5.1 | [4.5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v4.5.1) |
| macOS | 4.5.1.LTS | [4.5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v4.5.1.lts) |
| tvOS | 4.5.1 | [4.5.1](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v4.5.1) |
| tvOS | 4.5.1.LTS | [4.5.1.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v4.5.1.lts) |
| - | - | - |
| Flutter | 4.5.0 | [4.5.0](https://github.com/tanersener/ffmpeg-kit-test/tree/flutter.v4.5.0) |
| Flutter | 4.5.0-LTS | [4.5.0-LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/flutter.v4.5.0.lts) |
| React Native | 4.5.0 | [4.5.0](https://github.com/tanersener/ffmpeg-kit-test/tree/react.native.v4.5.0) |
| Android | 4.5 | [4.5](https://github.com/tanersener/ffmpeg-kit-test/tree/android.v4.5) |
| Android | 4.5.LTS | [4.5.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/android.v4.5.lts) |
| iOS | 4.5 | [4.5](https://github.com/tanersener/ffmpeg-kit-test/tree/ios.v4.5) |
| iOS | 4.5.LTS | [4.5.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/ios.v4.5.lts) |
| macOS | 4.5 | [4.5](https://github.com/tanersener/ffmpeg-kit-test/tree/macos.v4.5) |
| macOS | 4.5.LTS | [4.5.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/macos.v4.5.lts) |
| tvOS | 4.5 | [4.5](https://github.com/tanersener/ffmpeg-kit-test/tree/tvos.v4.5) |
| tvOS | 4.5.LTS | [4.5.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/tvos.v4.5.lts) |
| Flutter | 4.5.0 | [4.5.0](https://github.com/arthenica/ffmpeg-kit-test/tree/flutter.v4.5.0) |
| Flutter | 4.5.0-LTS | [4.5.0-LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/flutter.v4.5.0.lts) |
| React Native | 4.5.0 | [4.5.0](https://github.com/arthenica/ffmpeg-kit-test/tree/react.native.v4.5.0) |
| Android | 4.5 | [4.5](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v4.5) |
| Android | 4.5.LTS | [4.5.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v4.5.lts) |
| iOS | 4.5 | [4.5](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v4.5) |
| iOS | 4.5.LTS | [4.5.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v4.5.lts) |
| macOS | 4.5 | [4.5](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v4.5) |
| macOS | 4.5.LTS | [4.5.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v4.5.lts) |
| tvOS | 4.5 | [4.5](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v4.5) |
| tvOS | 4.5.LTS | [4.5.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v4.5.lts) |
| - | - | - |
| Android | 4.4 | [4.4](https://github.com/tanersener/ffmpeg-kit-test/tree/android.v4.4) |
| Android | 4.4.LTS | [4.4.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/android.v4.4.lts) |
| iOS | 4.4 | [4.4](https://github.com/tanersener/ffmpeg-kit-test/tree/ios.v4.4) |
| iOS | 4.4.LTS | [4.4.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/ios.v4.4.lts) |
| macOS | 4.4 | [4.4](https://github.com/tanersener/ffmpeg-kit-test/tree/macos.v4.4) |
| macOS | 4.4.LTS | [4.4.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/macos.v4.4.lts) |
| tvOS | 4.4 | [4.4](https://github.com/tanersener/ffmpeg-kit-test/tree/tvos.v4.4) |
| tvOS | 4.4.LTS | [4.4.LTS](https://github.com/tanersener/ffmpeg-kit-test/tree/tvos.v4.4.lts) |
| Android | 4.4 | [4.4](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v4.4) |
| Android | 4.4.LTS | [4.4.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/android.v4.4.lts) |
| iOS | 4.4 | [4.4](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v4.4) |
| iOS | 4.4.LTS | [4.4.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/ios.v4.4.lts) |
| macOS | 4.4 | [4.4](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v4.4) |
| macOS | 4.4.LTS | [4.4.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/macos.v4.4.lts) |
| tvOS | 4.4 | [4.4](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v4.4) |
| tvOS | 4.4.LTS | [4.4.LTS](https://github.com/arthenica/ffmpeg-kit-test/tree/tvos.v4.4.lts) |

### License

Expand Down
2 changes: 1 addition & 1 deletion android/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# FFmpegKit Android

<img src="https://github.com/tanersener/ffmpeg-kit-test/blob/main/docs/assets/android.gif" width="295">
<img src="https://github.com/arthenica/ffmpeg-kit-test/blob/main/docs/assets/android.gif" width="295">
5 changes: 2 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.android.tools.build:gradle:7.3.0'
}
}

allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
}

Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
17 changes: 9 additions & 8 deletions android/test-app-local-dependency/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ android {
keyPassword 'android'
}
}
compileSdkVersion 30
namespace 'com.arthenica.ffmpegkit.test'
compileSdk 31
defaultConfig {
applicationId "com.arthenica.ffmpegkit.test"
minSdkVersion 24
targetSdkVersion 30
versionCode 240451
versionName "4.5.1"
minSdk 24
targetSdk 31
versionCode 240510
versionName "5.1"
}
buildTypes {
debug {
Expand Down Expand Up @@ -53,7 +54,7 @@ android.applicationVariants.all { variant ->
dependencies {
// implementation files('../../../ffmpeg-kit/prebuilt/bundle-android-aar-lts/ffmpeg-kit/ffmpeg-kit.aar')
implementation files('../../../ffmpeg-kit/prebuilt/bundle-android-aar/ffmpeg-kit/ffmpeg-kit.aar')
implementation 'com.arthenica:smart-exception-java:0.1.1'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.arthenica:smart-exception-java:0.2.1'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.arthenica.ffmpegkit.test">
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Expand All @@ -21,7 +20,9 @@
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name="com.arthenica.ffmpegkit.test.MainActivity">
<activity
android:name="com.arthenica.ffmpegkit.test.MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void encodeAudio() {

clearOutput();

android.util.Log.d(TAG, String.format("FFmpeg process started with arguments\n'%s'.", ffmpegCommand));
android.util.Log.d(TAG, String.format("FFmpeg process started with arguments: '%s'.", ffmpegCommand));

FFmpegKit.executeAsync(ffmpegCommand, new FFmpegSessionCompleteCallback() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void runFFmpeg() {

android.util.Log.d(MainActivity.TAG, "Testing FFmpeg COMMAND asynchronously.");

android.util.Log.d(MainActivity.TAG, String.format("FFmpeg process started with arguments:\n'%s'", ffmpegCommand));
android.util.Log.d(MainActivity.TAG, String.format("FFmpeg process started with arguments: '%s'", ffmpegCommand));

FFmpegKit.executeAsync(ffmpegCommand, new FFmpegSessionCompleteCallback() {

Expand Down Expand Up @@ -147,9 +147,9 @@ public void runFFprobe() {

android.util.Log.d(MainActivity.TAG, "Testing FFprobe COMMAND asynchronously.");

android.util.Log.d(MainActivity.TAG, String.format("FFprobe process started with arguments:\n'%s'", ffprobeCommand));
android.util.Log.d(MainActivity.TAG, String.format("FFprobe process started with arguments: '%s'", ffprobeCommand));

FFprobeSession session = new FFprobeSession(FFmpegKitConfig.parseArguments(ffprobeCommand), new FFprobeSessionCompleteCallback() {
FFprobeSession session = FFprobeSession.create(FFmpegKitConfig.parseArguments(ffprobeCommand), new FFprobeSessionCompleteCallback() {

@Override
public void apply(final FFprobeSession session) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public void encodeVideo(final int buttonNumber) {

final String ffmpegCommand = Video.generateEncodeVideoScript(image1File.getAbsolutePath(), image2File.getAbsolutePath(), image3File.getAbsolutePath(), videoFile.getAbsolutePath(), "mpeg4", "");

Log.d(TAG, String.format("FFmpeg process starting for button %d with arguments\n'%s'.", buttonNumber, ffmpegCommand));
Log.d(TAG, String.format("FFmpeg process starting for button %d with arguments: '%s'.", buttonNumber, ffmpegCommand));

final FFmpegSession session = FFmpegKit.executeAsync(ffmpegCommand, new FFmpegSessionCompleteCallback() {

Expand Down Expand Up @@ -218,6 +218,7 @@ public void apply(final FFmpegSession session) {
break;
default: {
sessionId3 = sessionId;
FFmpegKitConfig.setSessionHistorySize(3);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ public class HttpsTabFragment extends Fragment {

public static final String HTTPS_TEST_FAIL_URL = "https://download2.blender.org/peach/trailer/trailer_1080p.ogg";

public static final String HTTPS_TEST_RANDOM_URL_1 = "https://file-examples-com.github.io/uploads/2018/04/file_example_MOV_640_800kB.mov";
public static final String HTTPS_TEST_RANDOM_URL_1 = "https://filesamples.com/samples/video/mov/sample_640x360.mov";

public static final String HTTPS_TEST_RANDOM_URL_2 = "https://file-examples-com.github.io/uploads/2017/11/file_example_MP3_700KB.mp3";
public static final String HTTPS_TEST_RANDOM_URL_2 = "https://filesamples.com/samples/audio/mp3/sample3.mp3";

public static final String HTTPS_TEST_RANDOM_URL_3 = "https://file-examples-com.github.io/uploads/2020/03/file_example_WEBP_50kB.webp";
public static final String HTTPS_TEST_RANDOM_URL_3 = "https://filesamples.com/samples/image/webp/sample1.webp";

private static final Random testUrlRandom = new Random();
private static final Object outputLock = new Object();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ protected void onCreate(final Bundle savedInstanceState) {
}

try {
registerAppFont();
registerApplicationFonts();
Log.d(TAG, "Application fonts registered.");
} catch (final IOException e) {
Log.e(TAG, String.format("Font registration failed.%s.", Exceptions.getStackTraceString(e)));
Expand Down Expand Up @@ -166,7 +166,7 @@ public static void addUIAction(final Runnable runnable) {
handler.post(runnable);
}

protected void registerAppFont() throws IOException {
protected void registerApplicationFonts() throws IOException {
final File cacheDirectory = getCacheDir();
final File fontDirectory = new File(cacheDirectory, "fonts");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void apply(FFmpegSession session) {

String chromaprintCommand = String.format("-hide_banner -y -i %s -f chromaprint -fp_format 2 %s", audioSampleFile, getChromaprintOutputFile().getAbsolutePath());

Log.d(TAG, String.format("FFmpeg process started with arguments\n'%s'.", chromaprintCommand));
Log.d(TAG, String.format("FFmpeg process started with arguments: '%s'.", chromaprintCommand));

FFmpegKit.executeAsync(chromaprintCommand, new FFmpegSessionCompleteCallback() {

Expand Down Expand Up @@ -184,7 +184,7 @@ protected void testDav1d() {

final String ffmpegCommand = String.format("-hide_banner -y -i %s %s", DAV1D_TEST_DEFAULT_URL, getDav1dOutputFile().getAbsolutePath());

Log.d(TAG, String.format("FFmpeg process started with arguments\n'%s'.", ffmpegCommand));
Log.d(TAG, String.format("FFmpeg process started with arguments: '%s'.", ffmpegCommand));

FFmpegKit.executeAsync(ffmpegCommand, new FFmpegSessionCompleteCallback() {

Expand All @@ -208,7 +208,7 @@ protected void testWebp() {

final String ffmpegCommand = String.format("-hide_banner -y -i %s %s", imageFile.getAbsolutePath(), outputFile.getAbsolutePath());

Log.d(TAG, String.format("FFmpeg process started with arguments\n'%s'.", ffmpegCommand));
Log.d(TAG, String.format("FFmpeg process started with arguments: '%s'.", ffmpegCommand));

FFmpegKit.executeAsync(ffmpegCommand, new FFmpegSessionCompleteCallback() {

Expand Down Expand Up @@ -242,7 +242,7 @@ protected void testZscale() {

final String ffmpegCommand = Video.generateZscaleVideoScript(videoFile.getAbsolutePath(), zscaledVideoFile.getAbsolutePath());

Log.d(TAG, String.format("FFmpeg process started with arguments\n'%s'.", ffmpegCommand));
Log.d(TAG, String.format("FFmpeg process started with arguments: '%s'.", ffmpegCommand));

FFmpegKit.executeAsync(ffmpegCommand, new FFmpegSessionCompleteCallback() {

Expand Down
Loading

0 comments on commit 2b00369

Please sign in to comment.