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
#If you don't want anything except the image filter,
67
-
#Do as below to build with only cge module
68
-
#No ffmpeg, opencv or faceTracker.
69
-
#And remove the loading part of ffmpeg&facetracker
70
-
$NDK/ndk-build
67
+
# Start Demo By Command
68
+
bash vscode_tasks.sh --run
69
+
```
71
70
72
-
#For Windows user, you should include the `.cmd` extension to `ndk-build` like this:
73
-
cd<your\path\to\this\repo>\library\src\main\jni
74
-
<your\path\to\ndk>\ndk-build.cmd
71
+
* Build `JNI` part with ndk-build: (Not recommended)
75
72
76
-
#Also remember to comment out these line in NativeLibraryLoader
77
-
//System.loadLibrary("ffmpeg");
78
-
//CGEFFmpegNativeLibrary.avRegisterAll();
79
-
```
73
+
```shell
74
+
export NDK=path/of/your/ndk
75
+
cd folder/of/jni (android-gpuimage-plus/library/src/main/jni)
76
+
77
+
#This will make all arch: armeabi, armeabi-v7a arm64-v8a, x86, mips
78
+
./buildJNI
79
+
#Or use "sh buildJNI"
80
+
81
+
#Try this if you failed to run the shell above
82
+
export CGE_USE_VIDEO_MODULE=1
83
+
$NDK/ndk-build
84
+
85
+
#If you don't want anything except the image filter,
86
+
#Do as below to build with only cge module
87
+
#No ffmpeg, opencv or faceTracker.
88
+
#And remove the loading part of ffmpeg&facetracker
89
+
$NDK/ndk-build
90
+
91
+
#For Windows user, you should include the `.cmd` extension to `ndk-build` like this:
92
+
cd<your\path\to\this\repo>\library\src\main\jni
93
+
<your\path\to\ndk>\ndk-build.cmd
94
+
95
+
#Also remember to comment out these line in NativeLibraryLoader
96
+
//System.loadLibrary("ffmpeg");
97
+
//CGEFFmpegNativeLibrary.avRegisterAll();
98
+
```
80
99
81
100
> You can find precompiled libs here: [android-gpuimage-plus-libs](https://github.com/wysaid/android-gpuimage-plus-libs) (The precompiled '.so' files are generated with NDK-r23b)
0 commit comments