Failed to initialize video/dolby-vision, error 0xfffffffe (NAME_NOT_FOUND)
{
"nativeStackAndroid": [
{
"lineNumber": 64,
"file": "Utils.kt",
"methodName": "onFailure",
"class": "com.reactnativecompressor.Utils.Utils$compressVideo$1"
},
{
"lineNumber": 92,
"file": "VideoCompressorClass.kt",
"methodName": "invokeSuspend",
"class": "com.reactnativecompressor.Video.VideoCompressor.VideoCompressorClass$doVideoCompression$1"
},
{
"lineNumber": 33,
"file": "ContinuationImpl.kt",
"methodName": "resumeWith",
"class": "kotlin.coroutines.jvm.internal.BaseContinuationImpl"
},
{
"lineNumber": 101,
"file": "DispatchedTask.kt",
"methodName": "run",
"class": "kotlinx.coroutines.DispatchedTask"
},
{
"lineNumber": 995,
"file": "Handler.java",
"methodName": "handleCallback",
"class": "android.os.Handler"
},
{
"lineNumber": 103,
"file": "Handler.java",
"methodName": "dispatchMessage",
"class": "android.os.Handler"
},
{
"lineNumber": 273,
"file": "Looper.java",
"methodName": "loopOnce",
"class": "android.os.Looper"
},
{
"lineNumber": 363,
"file": "Looper.java",
"methodName": "loop",
"class": "android.os.Looper"
},
{
"lineNumber": 10060,
"file": "ActivityThread.java",
"methodName": "main",
"class": "android.app.ActivityThread"
},
{
"lineNumber": -2,
"file": "Method.java",
"methodName": "invoke",
"class": "java.lang.reflect.Method"
},
{
"lineNumber": 632,
"file": "RuntimeInit.java",
"methodName": "run",
"class": "com.android.internal.os.RuntimeInit$MethodAndArgsCaller"
},
{
"lineNumber": 975,
"file": "ZygoteInit.java",
"methodName": "main",
"class": "com.android.internal.os.ZygoteInit"
}
],
"name": "java.lang.Throwable",
"userInfo": null,
"code": "EUNSPECIFIED"
}
The compression process should not fail completely.
New Architecture enabled.
Failed to initialize video/dolby-vision, error 0xfffffffe (NAME_NOT_FOUND)
Current behavior
Unable to compress
.MOVvideo files on Android.The file metadata is resolved correctly:
But compression fails with the following error:
Failed to initialize video/dolby-vision, error 0xfffffffe (NAME_NOT_FOUND) { "nativeStackAndroid": [ { "lineNumber": 64, "file": "Utils.kt", "methodName": "onFailure", "class": "com.reactnativecompressor.Utils.Utils$compressVideo$1" }, { "lineNumber": 92, "file": "VideoCompressorClass.kt", "methodName": "invokeSuspend", "class": "com.reactnativecompressor.Video.VideoCompressor.VideoCompressorClass$doVideoCompression$1" }, { "lineNumber": 33, "file": "ContinuationImpl.kt", "methodName": "resumeWith", "class": "kotlin.coroutines.jvm.internal.BaseContinuationImpl" }, { "lineNumber": 101, "file": "DispatchedTask.kt", "methodName": "run", "class": "kotlinx.coroutines.DispatchedTask" }, { "lineNumber": 995, "file": "Handler.java", "methodName": "handleCallback", "class": "android.os.Handler" }, { "lineNumber": 103, "file": "Handler.java", "methodName": "dispatchMessage", "class": "android.os.Handler" }, { "lineNumber": 273, "file": "Looper.java", "methodName": "loopOnce", "class": "android.os.Looper" }, { "lineNumber": 363, "file": "Looper.java", "methodName": "loop", "class": "android.os.Looper" }, { "lineNumber": 10060, "file": "ActivityThread.java", "methodName": "main", "class": "android.app.ActivityThread" }, { "lineNumber": -2, "file": "Method.java", "methodName": "invoke", "class": "java.lang.reflect.Method" }, { "lineNumber": 632, "file": "RuntimeInit.java", "methodName": "run", "class": "com.android.internal.os.RuntimeInit$MethodAndArgsCaller" }, { "lineNumber": 975, "file": "ZygoteInit.java", "methodName": "main", "class": "com.android.internal.os.ZygoteInit" } ], "name": "java.lang.Throwable", "userInfo": null, "code": "EUNSPECIFIED" }.mp4videos work correctly.Expected behavior
.MOVvideos should:The compression process should not fail completely.
Platform
React Native Version
New Architecture enabled.
React Native Compressor Version
Reproducible Steps And Demo
.MOVvideo