Xposed-Modules-Repo/com.example.vcam

MP4 works not correctly

alexmeyergpay opened this issue · 0 comments

Can anyone explain what I need fix in video file .mp4.
Below will be LSposed log :

【VCAM】帧预览回调初始化:宽:3168 高:1440 帧率:10
【VCAM】4参数拍照
【VCAM】第二个jpeg:com.onfido.android.sdk.capture.ui.camera.view.CameraSource$PictureDoneCallback@8919cf9
【VCAM】JPEG拍照回调初始化:宽:3168高:1440对应的类:android.hardware.Camera@d287c7f
【VCAM】java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
【VCAM】[record]com.swissborg.android
【VCAM】帧预览回调初始化:宽:3168 高:1440 帧率:10
Loading module com.example.vcam from /data/app/~~-bqkxgODW2ZObvSWcJcCsQ==/com.example.vcam-9DNddt6Xk2bjpxMWDAxTRA==/base.apk
Loading class com.example.vcam.HookMain
【VCAM】创建预览
【VCAM】开始预览
【VCAM】帧预览回调初始化:宽:3168 高:1440 帧率:10
【VCAM】【decoder】开始解码
【VCAM】【decoder】set decode color format to type 2135033992
【VCAM】4参数拍照
【VCAM】第二个jpeg:com.onfido.android.sdk.capture.ui.camera.view.CameraSource$PictureDoneCallback@a48f65c
【VCAM】JPEG拍照回调初始化:宽:3168高:1440对应的类:android.hardware.Camera@e347a3a
【VCAM】java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.compress(android.graphics.Bitmap$CompressFormat, int, java.io.OutputStream)' on a null object reference
【VCAM】创建预览
【VCAM】开始预览
【VCAM】[record]com.swissborg.android
Crash unexpectedly: java.lang.RuntimeException: getParameters failed (empty parameters)
at android.hardware.Camera.native_getParameters(Native Method)
at android.hardware.Camera.getParameters(Camera.java:2114)
at com.onfido.android.sdk.capture.ui.camera.view.CameraSource.getPictureSize(Unknown Source:4)
at com.onfido.android.sdk.capture.ui.camera.view.CameraSource.getPictureDimension(Unknown Source:0)
at com.onfido.android.sdk.capture.ui.camera.view.CameraSourcePreview.onLayout(Unknown Source:14)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:797)
at android.view.View.layout(View.java:23203)
at android.view.ViewGroup.layout(ViewGroup.java:6412)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3755)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3205)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2179)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8793)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1037)
at android.view.Choreographer.doCallbacks(Choreographer.java:845)
at android.view.Choreographer.doFrame(Choreographer.java:780)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1022)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7870)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)