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 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 `armeabi-v7a`, `x86_64` | Built and statically checked, not executed |
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` cannot be run on an Apple Silicon machine: the Android emulator refuses non-native system images, and no x86_64 hardware was available. Both remaining ABIs were verified to be correct ELF binaries with the right architecture, the expected JNI exports, only system libraries unresolved, and the same FFmpeg 9.0.1 and codec set as arm64.
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
 
@@ -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: Nitro generates
27
- // its own bindings, and the React plugin also emits React Native's own
28
- // TurboModule specs into this library. Those then collide with the app's copies
29
- // and every consumer's release build fails with "Type
30
- // com.facebook.fbreact.specs.* is defined multiple times".
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]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "munim-ffmpeg",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Fast FFmpeg and FFprobe for Expo and React Native, powered by Nitro Modules",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",