munim-ffmpeg 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/android/build.gradle +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -145,9 +145,10 @@ Every release runs the example's 25-check device suite. For 0.4.x:
|
|
|
145
145
|
| iOS Simulator, arm64 | 25/25 |
|
|
146
146
|
| Galaxy A14 5G, arm64-v8a | 25/25 |
|
|
147
147
|
| Android emulator, arm64 | Software encoding passes; hardware encoding does not — see below |
|
|
148
|
-
| Android
|
|
148
|
+
| Android emulator, `x86_64` | Same: `libopenh264` passes, MediaCodec does not |
|
|
149
|
+
| Android `armeabi-v7a` | Built and statically checked, not executed |
|
|
149
150
|
|
|
150
|
-
`x86_64`
|
|
151
|
+
`x86_64` was verified on an Intel Windows machine, since the Android emulator refuses non-native system images on Apple Silicon: FFmpeg 9.0.1, 185 encoders, and the software H.264 encode passes. `armeabi-v7a` has no hardware to hand, so it was checked statically instead — correct ELF architecture, the expected JNI exports, only system libraries unresolved, and the same FFmpeg and codec set as arm64.
|
|
151
152
|
|
|
152
153
|
### Android emulators cannot encode video
|
|
153
154
|
|
package/android/build.gradle
CHANGED
|
@@ -23,11 +23,12 @@ apply plugin: 'org.jetbrains.kotlin.android'
|
|
|
23
23
|
apply from: '../nitrogen/generated/android/NitroMunimFfmpeg+autolinking.gradle'
|
|
24
24
|
apply from: "./fix-prefab.gradle"
|
|
25
25
|
|
|
26
|
-
// Deliberately not applying the "com.facebook.react" plugin
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
26
|
+
// Deliberately not applying the "com.facebook.react" plugin. Nitro generates its
|
|
27
|
+
// own bindings, so React Native's codegen has nothing to do here — and applying
|
|
28
|
+
// the plugin *without* a matching `react { libraryName = ... }` block makes it
|
|
29
|
+
// emit React Native's entire TurboModule spec set into this AAR. Those collide
|
|
30
|
+
// with the app's own copies and release builds fail with
|
|
31
|
+
// "Type com.facebook.fbreact.specs.* is defined multiple times".
|
|
31
32
|
|
|
32
33
|
def getExtOrDefault(name) {
|
|
33
34
|
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["NitroMunimFfmpeg_" + name]
|