Closed MaksymPrymierov closed 4 years ago
`2020-04-13 09:44:34.596 1905-1905/com.android.gallery3d D/StrictMode: StrictMode policy violation: android.os.strictmode.ContentUriWithoutPermissionViolation: content://media/external/video/media/93 exposed beyond app through Intent.getData() without permission grant flags; did you forget FLAG_GRANT_READ_URI_PERMISSION? at android.os.StrictMode.onContentUriWithoutPermission(StrictMode.java:2091) at android.net.Uri.checkContentUriWithoutPermission(Uri.java:2400) at android.content.Intent.prepareToLeaveProcess(Intent.java:10803) at android.content.Intent.prepareToLeaveProcess(Intent.java:10744) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1710) at android.app.Activity.startActivityForResult(Activity.java:5211) at android.app.Activity.startActivityForResult(Activity.java:5169) at com.android.gallery3d.app.PhotoPage.playVideo(PhotoPage.java:1229) at com.android.gallery3d.app.PhotoPage.onSingleTapUp(PhotoPage.java:1157) at com.android.gallery3d.ui.PhotoView$MyGestureListener.onSingleTapUp(PhotoView.java:1012) at com.android.gallery3d.ui.GestureRecognizer$MyGestureListener.onSingleTapUp(GestureRecognizer.java:79) at android.view.GestureDetector.onTouchEvent(GestureDetector.java:730) at com.android.gallery3d.ui.GestureRecognizer.onTouchEvent(GestureRecognizer.java:58) at com.android.gallery3d.ui.PhotoView.onTouch(PhotoView.java:941) at com.android.gallery3d.ui.GLView.dispatchTouchEvent(GLView.java:341) at com.android.gallery3d.ui.GLView.dispatchTouchEvent(GLView.java:302) at com.android.gallery3d.ui.GLView.dispatchTouchEvent(GLView.java:322) at com.android.gallery3d.ui.GLRootView.dispatchTouchEvent(GLRootView.java:479) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3060) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2755) at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:465) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1849) at android.app.Activity.dispatchTouchEvent(Activity.java:4012) at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:423) at android.view.View.dispatchPointerEvent(View.java:14212) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5652) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5455) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4958) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5011) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4977) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5117) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4985) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5174) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4958) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5011) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4977) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4985) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4958) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7675) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7644) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7605) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:7800) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:188) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.Message 2020-04-13 09:44:34.605 368-2060/system_process I/ActivityTaskManager: START u0 {act=android.intent.action.VIEW dat=content://media/external/video/media/93 typ=video/* cmp=com.android.gallery3d/.app.MovieActivity (has extras)} from uid 10086 2020-04-13 09:44:34.612 368-389/system_process I/DropBoxManagerService: add tag=system_app_strictmode isTagEnabled=true flags=0x2 2020-04-13 09:44:34.628 1905-1905/com.android.gallery3d W/OrientationEventListener: Cannot detect sensors. Invalid disable 2020-04-13 09:44:34.655 1905-1905/com.android.gallery3d W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@83542cc 2020-04-13 09:44:34.718 1905-1905/com.android.gallery3d W/AudioManager: Use of stream types is deprecated for operations other than volume control 2020-04-13 09:44:34.718 1905-1905/com.android.gallery3d W/AudioManager: See the documentation of requestAudioFocus() for what to use instead with android.media.AudioAttributes to qualify your playback use case 2020-04-13 09:44:34.719 368-2480/system_process I/MediaFocusControl: requestAudioFocus() from uid/pid 10086/1905 clientId=android.media.AudioManager@bbc2edf callingPack=com.android.gallery3d req=2 flags=0x0 sdk=28 2020-04-13 09:44:35.221 1905-1905/com.android.gallery3d V/StateManager: saveState 2020-04-13 09:44:35.221 1905-1905/com.android.gallery3d V/StateManager: saveState class com.android.gallery3d.app.AlbumSetPage 2020-04-13 09:44:35.221 1905-1905/com.android.gallery3d V/StateManager: saveState class com.android.gallery3d.app.FilmstripPage 2020-04-13 09:44:35.258 368-2060/system_process I/MediaFocusControl: requestAudioFocus() from uid/pid 10086/1905 clientId=android.media.AudioManager@bbc2edf callingPack=com.android.gallery3d req=1 flags=0x0 sdk=28 2020-04-13 09:44:35.301 263-1105/? D/NuPlayerDriver: NuPlayerDriver(0xb0e4ad80) created, clientPid(1905) 2020-04-13 09:44:35.304 263-1105/? I/Codec2Client: Creating a Codec2 client to service "software" 2020-04-13 09:44:35.306 263-1105/? I/Codec2Client: Client to Codec2 service "software" created 2020-04-13 09:44:35.309 263-1105/? D/SurfaceUtils: connecting to surface 0xb0e48008, reason setVideoSurfaceTexture 2020-04-13 09:44:35.310 263-2600/? D/NuPlayer: onSetVideoSurface(0xb0e48800, no video decoder) 2020-04-13 09:44:35.316 263-2603/? D/GenericSource: FileSource remote 2020-04-13 09:44:35.330 261-261/? I/SampleTable: There are reordered frames present. 2020-04-13 09:44:35.364 261-343/? D/MediaBufferGroup: creating MemoryDealer 2020-04-13 09:44:35.377 1905-1905/com.android.gallery3d D/MediaPlayerNative: getMetadata 2020-04-13 09:44:35.388 263-2600/? I/GenericSource: start 2020-04-13 09:44:35.413 263-2607/? D/CCodec: allocate(c2.android.avc.decoder) 2020-04-13 09:44:35.414 263-2609/? D/CCodec: allocate(c2.android.aac.decoder) 2020-04-13 09:44:35.422 263-2607/? E/Codec2Client: createComponent(c2.android.avc.decoder) -- transaction failed. 2020-04-13 09:44:35.423 263-2607/? W/Codec2Client: "create:c2.android.avc.decoder" failed for service "android.componentStore.platform" due to transaction failure. (Service may have crashed.) Retrying... 2020-04-13 09:44:35.423 263-2607/? I/Codec2Client: Creating a Codec2 client to service "software" 2020-04-13 09:44:35.426 263-2607/? I/Codec2Client: Client to Codec2 service "software" created 2020-04-13 09:44:35.427 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.427 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.429 263-2609/? E/Codec2Client: createComponent(c2.android.aac.decoder) -- transaction failed. 2020-04-13 09:44:35.434 263-2609/? W/Codec2Client: "create:c2.android.aac.decoder" failed for service "android.componentStore.platform" due to transaction failure. (Service may have crashed.) Retrying... 2020-04-13 09:44:35.437 263-2609/? I/Codec2Client: Creating a Codec2 client to service "software" 2020-04-13 09:44:35.441 263-2609/? I/Codec2Client: Client to Codec2 service "software" created 2020-04-13 09:44:35.444 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.444 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.444 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.444 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.450 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.450 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.451 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.451 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.459 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.459 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.459 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.459 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.465 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.465 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.465 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.465 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.471 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.471 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.472 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.472 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.479 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.479 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.479 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.479 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.487 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.487 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.487 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.487 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.497 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.497 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.497 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.497 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.503 2587-2602/? I//apex/com.android.media.swcodec/bin/mediaswcodec: missing struct descriptor #Param::CoreIndex(--004) for field values of struct #Param::CoreIndex(F-12004) 2020-04-13 09:44:35.506 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.506 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.507 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.507 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.518 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.518 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.518 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.518 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.525 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.525 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.526 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.526 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.531 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.531 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.531 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.531 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.537 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.537 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.538 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.538 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.544 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.544 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.544 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.545 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.552 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.552 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.552 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.552 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.561 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.561 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.561 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.561 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.570 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.570 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.571 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.571 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.583 2587-2602/? D/C2SoftHevcEnc: Given level 6000 does not cover current configuration: adjusting to 6001 2020-04-13 09:44:35.584 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.584 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.585 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.585 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.591 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.591 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.592 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.592 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.600 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.600 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.600 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.600 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.608 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.608 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.608 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.608 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.616 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.616 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.616 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.616 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.625 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.625 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.626 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.626 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.638 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.638 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.638 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.638 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.644 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.645 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.645 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.645 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.652 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.652 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.653 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.653 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.662 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.662 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.663 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.663 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.668 2587-2602/? I/C2SoftVp8Enc: setting temporal layering 0 + 0 2020-04-13 09:44:35.671 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.671 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.671 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.671 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.679 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.679 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.680 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.680 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.685 2587-2602/? I/C2SoftVp9Enc: setting temporal layering 0 + 0 2020-04-13 09:44:35.688 2587-2602/? V/C2Store: in ~ComponentModule 2020-04-13 09:44:35.688 2587-2602/? V/C2Store: unloading dll 2020-04-13 09:44:35.689 2587-2602/? V/C2Store: in init 2020-04-13 09:44:35.689 2587-2602/? V/C2Store: loading dll 2020-04-13 09:44:35.690 2587-2587/? V/C2Store: in init 2020-04-13 09:44:35.690 2587-2587/? V/C2Store: loading dll 2020-04-13 09:44:35.703 263-2609/? I/CCodec: Created component [c2.android.aac.decoder] 2020-04-13 09:44:35.705 263-2609/? D/CCodecConfig: read media type: audio/mp4a-latm 2020-04-13 09:44:35.713 263-2607/? I/CCodec: Created component [c2.android.avc.decoder] 2020-04-13 09:44:35.715 263-2607/? D/CCodecConfig: read media type: video/avc 2020-04-13 09:44:35.719 263-2609/? D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2020-04-13 09:44:35.725 263-2609/? D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2020-04-13 09:44:35.725 263-2609/? D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2020-04-13 09:44:35.726 263-2609/? D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2020-04-13 09:44:35.726 263-2609/? D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2020-04-13 09:44:35.727 263-2609/? D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2020-04-13 09:44:35.727 263-2609/? D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2020-04-13 09:44:35.731 263-2607/? D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.max-count.values 2020-04-13 09:44:35.733 263-2607/? D/ReflectedParamUpdater: extent() != 1 for single value type: output.subscribed-indices.values 2020-04-13 09:44:35.736 263-2607/? D/ReflectedParamUpdater: extent() != 1 for single value type: input.buffers.allocator-ids.values 2020-04-13 09:44:35.736 263-2607/? D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.allocator-ids.values 2020-04-13 09:44:35.737 263-2607/? D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.allocator-ids.values 2020-04-13 09:44:35.737 263-2607/? D/ReflectedParamUpdater: extent() != 1 for single value type: output.buffers.pool-ids.values 2020-04-13 09:44:35.737 263-2607/? D/ReflectedParamUpdater: extent() != 1 for single value type: algo.buffers.pool-ids.values 2020-04-13 09:44:35.745 263-2609/? I/CCodecConfig: query failed after returning 16 values (BAD_INDEX) 2020-04-13 09:44:35.745 263-2609/? D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.aac-packaging.value = 0 c2::u32 coded.bitrate.value = 64000 c2::u32 coded.pl.level = 0 c2::u32 coded.pl.profile = 8192 c2::float coding.drc.attenuation-factor.value = 1 c2::float coding.drc.boost-factor.value = 1 c2::i32 coding.drc.compression-mode.value = 3 c2::i32 coding.drc.effect-type.value = 3 c2::float coding.drc.encoded-level.value = 0.25 c2::float coding.drc.reference-level.value = -16 c2::u32 input.buffers.max-size.value = 8192 c2::u32 input.delay.value = 0 string input.media-type.value = "audio/mp4a-latm" c2::u32 output.delay.value = 2 string output.media-type.value = "audio/raw" c2::u32 raw.channel-count.value = 1 c2::u32 raw.sample-rate.value = 44100 } 2020-04-13 09:44:35.746 263-2607/? D/ReflectedParamUpdater: ignored struct field coded.color-format.locations 2020-04-13 09:44:35.748 263-2609/? D/CCodecConfig: no c2 equivalents for durationUs 2020-04-13 09:44:35.748 263-2609/? D/CCodecConfig: no c2 equivalents for language 2020-04-13 09:44:35.748 263-2609/? D/CCodecConfig: no c2 equivalents for encoder-delay 2020-04-13 09:44:35.748 263-2609/? D/CCodecConfig: no c2 equivalents for encoder-padding 2020-04-13 09:44:35.748 263-2609/? D/CCodecConfig: no c2 equivalents for aac-profile 2020-04-13 09:44:35.749 263-2609/? D/CCodecConfig: config failed => CORRUPTED 2020-04-13 09:44:35.752 263-2609/? D/CCodecConfig: c2 config diff is c2::u32 raw.channel-count.value = 2 2020-04-13 09:44:35.753 263-2607/? D/CCodecConfig: ignoring local param raw.size (0xd2001800) as it is already supported 2020-04-13 09:44:35.753 263-2607/? D/CCodecConfig: ignoring local param raw.color (0xd2001809) as it is already supported 2020-04-13 09:44:35.753 263-2607/? D/ReflectedParamUpdater: ignored struct field raw.hdr-static-info.mastering 2020-04-13 09:44:35.755 263-2609/? W/Codec2Client: query -- param skipped: index = 1107298332. 2020-04-13 09:44:35.755 263-2609/? D/CCodec: client requested max input size 592, which is smaller than what component recommended (8192); overriding with component recommendation. 2020-04-13 09:44:35.755 263-2609/? W/CCodec: This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range. 2020-04-13 09:44:35.756 263-2607/? I/CCodecConfig: query failed after returning 12 values (BAD_INDEX) 2020-04-13 09:44:35.756 263-2609/? D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t channel-count = 2 int32_t level = 0 int32_t max-input-size = 8192 string mime = "audio/mp4a-latm" int32_t profile = 2 int32_t sample-rate = 44100 } and output: AMessage(what = 0x00000000) = { int32_t channel-count = 2 string mime = "audio/raw" int32_t sample-rate = 44100 int32_t encoder-delay = 0 int32_t encoder-padding = 0 } 2020-04-13 09:44:35.756 263-2609/? I/MediaCodec: MediaCodec will operate in async mode 2020-04-13 09:44:35.756 263-2607/? D/CCodecConfig: c2 config diff is Dict { c2::u32 coded.pl.level = 20496 c2::u32 coded.pl.profile = 20481 c2::u32 coded.vui.color.matrix = 0 c2::u32 coded.vui.color.primaries = 0 c2::u32 coded.vui.color.range = 2 c2::u32 coded.vui.color.transfer = 0 c2::u32 default.color.matrix = 0 c2::u32 default.color.primaries = 0 c2::u32 default.color.range = 0 c2::u32 default.color.transfer = 0 c2::u32 input.buffers.max-size.value = 57600 c2::u32 input.delay.value = 0 string input.media-type.value = "video/avc" c2::u32 output.delay.value = 8 string output.media-type.value = "video/raw" c2::u32 raw.color.matrix = 0 c2::u32 raw.color.primaries = 0 c2::u32 raw.color.range = 2 c2::u32 raw.color.transfer = 0 c2::u32 raw.max-size.height = 240 c2::u32 raw.max-size.width = 320 c2::u32 raw.pixel-format.value = 35 c2::i32 raw.rotation.flip = 0 c2::i32 raw.rotation.value = 0 c2::u32 raw.sar.height = 1 c2::u32 raw.sar.width = 1 c2::u32 raw.size.height = 240 c2::u32 raw.size.width = 320 c2::u 2020-04-13 09:44:35.758 263-2607/? W/ColorUtils: expected specified color aspects (2:0:0:0) 2020-04-13 09:44:35.760 263-2609/? W/Codec2Client: query -- param skipped: index = 1342179345. 2020-04-13 09:44:35.760 263-2609/? W/Codec2Client: query -- param skipped: index = 2415921170. 2020-04-13 09:44:35.760 263-2605/? D/SurfaceUtils: disconnecting from surface 0xb0e48808, reason onConfigure 2020-04-13 09:44:35.760 263-2609/? W/Codec2Client: query -- param skipped: index = 1610614798. 2020-04-13 09:44:35.760 263-2606/? D/SurfaceUtils: connecting to surface 0xb0e48808, reason connectToSurface 2020-04-13 09:44:35.762 263-2606/? I/MediaCodec: [c2.android.avc.decoder] setting surface generation to 269314 2020-04-13 09:44:35.762 263-2606/? D/SurfaceUtils: disconnecting from surface 0xb0e48808, reason connectToSurface(reconnect) 2020-04-13 09:44:35.762 263-2606/? D/SurfaceUtils: connecting to surface 0xb0e48808, reason connectToSurface(reconnect) 2020-04-13 09:44:35.764 263-2607/? D/CCodecConfig: no c2 equivalents for durationUs 2020-04-13 09:44:35.764 263-2607/? D/CCodecConfig: no c2 equivalents for frame-count 2020-04-13 09:44:35.764 263-2607/? D/CCodecConfig: no c2 equivalents for language 2020-04-13 09:44:35.764 263-2607/? D/CCodecConfig: no c2 equivalents for display-width 2020-04-13 09:44:35.764 263-2607/? D/CCodecConfig: no c2 equivalents for display-height 2020-04-13 09:44:35.764 263-2609/? D/CCodecBufferChannel: [c2.android.aac.decoder#739] Created input block pool with allocatorID 16 => poolID 29 - OK (0) 2020-04-13 09:44:35.764 263-2607/? D/CCodecConfig: no c2 equivalents for csd-1 2020-04-13 09:44:35.764 263-2607/? D/CCodecConfig: no c2 equivalents for native-window 2020-04-13 09:44:35.765 263-2607/? D/CCodecConfig: config failed => CORRUPTED 2020-04-13 09:44:35.767 263-2607/? D/CCodecConfig: c2 config diff is c2::u32 coded.pl.level = 20491 c2::u32 coded.pl.profile = 20484 c2::u32 input.buffers.max-size.value = 1566720 c2::u32 raw.size.height = 1080 c2::u32 raw.size.width = 1920 2020-04-13 09:44:35.767 263-2609/? I/CCodecBufferChannel: [c2.android.aac.decoder#739] Created output block pool with allocatorID 16 => poolID 17 - OK 2020-04-13 09:44:35.768 263-2609/? D/CCodecBufferChannel: [c2.android.aac.decoder#739] Configured output block pool ids 17 => OK 2020-04-13 09:44:35.770 263-2607/? W/Codec2Client: query -- param skipped: index = 1107298332. 2020-04-13 09:44:35.771 263-2607/? D/CCodec: client requested max input size 286366, which is smaller than what component recommended (1566720); overriding with component recommendation. 2020-04-13 09:44:35.771 263-2607/? W/CCodec: This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range. 2020-04-13 09:44:35.771 263-2607/? D/CCodec: setup formats input: AMessage(what = 0x00000000) = { int32_t height = 1080 int32_t level = 2048 int32_t max-input-size = 1566720 string mime = "video/avc" int32_t profile = 8 int32_t width = 1920 Rect crop(0, 0, 1919, 1079) } and output: AMessage(what = 0x00000000) = { int32_t android._color-format = 2135033992 int32_t android._video-scaling = 1 Rect crop(0, 0, 1919, 1079) int32_t color-standard = 1 int32_t color-range = 2 int32_t color-transfer = 3 int32_t height = 1080 int32_t max-height = 240 int32_t max-width = 320 string mime = "video/raw" int32_t rotation-degrees = 0 int32_t width = 1920 int32_t android._dataspace = 260 int32_t color-format = 2130708361 } 2020-04-13 09:44:35.772 263-2606/? I/MediaCodec: MediaCodec will operate in async mode 2020-04-13 09:44:35.773 2587-2611/? D/SimpleC2Component: Using output block pool with poolID 17 => got 17 - 0 2020-04-13 09:44:35.777 263-2607/? W/Codec2Client: query -- param skipped: index = 1342179345. 2020-04-13 09:44:35.777 263-2607/? W/Codec2Client: query -- param skipped: index = 2415921170. 2020-04-13 09:44:35.777 263-2607/? W/Codec2Client: query -- param skipped: index = 1610614798. 2020-04-13 09:44:35.780 263-2607/? D/CCodecBufferChannel: [c2.android.avc.decoder#30] Created input block pool with allocatorID 16 => poolID 30 - OK (0) 2020-04-13 09:44:35.782 2587-2613/? E/ion: ioctl c0044901 failed with code -1: Not a typewriter 2020-04-13 09:44:35.784 178-178/? I/hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device manifest. 2020-04-13 09:44:35.787 178-178/? I/hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest. 2020-04-13 09:44:35.788 2587-2611/? I/C2SoftAacDec: Reconfiguring decoder: 0->44100 Hz, 0->2 channels 2020-04-13 09:44:35.798 263-2607/? D/CCodecBufferChannel: [c2.android.avc.decoder#30] Query output surface allocator returned 0 params => BAD_INDEX (6) 2020-04-13 09:44:35.803 178-178/? I/hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device manifest. 2020-04-13 09:44:35.805 178-178/? I/hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest. 2020-04-13 09:44:35.822 239-436/? W/AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000004) 2020-04-13 09:44:35.823 239-436/? D/AudioFlinger: Client defaulted notificationFrames to 11025 for frameCount 22050 2020-04-13 09:44:35.826 239-436/? D/AF::TrackHandle: OpPlayAudio: track:63 usage:1 not muted 2020-04-13 09:44:35.862 263-2604/? D/AudioTrack: getTimestamp_l(22): device stall time corrected using current time 1537459466607 2020-04-13 09:44:35.928 263-2607/? I/CCodecBufferChannel: [c2.android.avc.decoder#30] Created output block pool with allocatorID 18 => poolID 18 - OK 2020-04-13 09:44:35.928 263-2607/? D/CCodecBufferChannel: [c2.android.avc.decoder#30] Configured output block pool ids 18 => OK 2020-04-13 09:44:35.929 263-2607/? D/Codec2-block_helper: remote graphic buffer migration 0/0 2020-04-13 09:44:35.929 263-2607/? D/Codec2Client: generation remote change 269314 2020-04-13 09:44:35.932 239-1004/? E/EffectHalHidl: Buffer provider callbacks are not supported 2020-04-13 09:44:35.932 229-2419/? E/EffectDownmix: Downmix_Configure error: invalid config 2020-04-13 09:44:35.933 229-2419/? W/EffectHAL: Effect 0xb203f500 command SET_CONFIG returned status: Invalid argument 2020-04-13 09:44:35.933 239-1004/? E/BufferProvider: DownmixerBufferProvider() error -22 cmdStatus -22 while configuring downmixer 2020-04-13 09:44:35.938 178-178/? I/hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest. 2020-04-13 09:44:35.939 2587-2613/? W/Gralloc3: mapper 3.x is not supported 2020-04-13 09:44:35.949 178-178/? I/hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest. 2020-04-13 09:44:35.949 2587-2613/? W/Gralloc3: mapper 3.x is not supported 2020-04-13 09:44:35.957 229-2419/? E/EffectDownmix: Downmix_Configure error: invalid config 2020-04-13 09:44:35.957 229-2419/? W/EffectHAL: Effect 0xb203f610 command SET_CONFIG returned status: Invalid argument 2020-04-13 09:44:35.957 239-1004/? E/BufferProvider: DownmixerBufferProvider() error -22 cmdStatus -22 while configuring downmixer 2020-04-13 09:44:36.014 229-2089/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted 2020-04-13 09:44:35.950 2587-2587/? I/HwBinder:2587_3: type=1400 audit(0.0:312): avc: denied { read write } for name="card0" dev="tmpfs" ino=10589 scontext=u:r:mediaswcodec:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1 2020-04-13 09:44:36.064 2587-2613/? E/media.swcodec: libminijail[2587]: blocked syscall: sysinfo 2020-04-13 09:44:36.066 270-270/? I//system/bin/tombstoned: received crash request for pid 2587
--------- beginning of crash
2020-04-13 09:44:36.083 2587-2613/? A/DEBUG:
2020-04-13 09:44:36.083 2587-2613/? A/DEBUG: Build fingerprint: 'OrangePI/plus2e/plus2e:10/QQ1D.200205.002/eng.joe.20200412.112227:eng/test-keys'
2020-04-13 09:44:36.083 2587-2613/? A/DEBUG: Revision: '1.0'
2020-04-13 09:44:36.083 2587-2613/? A/DEBUG: ABI: 'arm'
2020-04-13 09:44:36.086 2587-2613/? A/DEBUG: Timestamp: 2020-04-13 06:44:36+0000
2020-04-13 09:44:36.086 2587-2613/? A/DEBUG: pid: 2587, tid: 2613, name: mediaswcodec >>> media.swcodec <<<
2020-04-13 09:44:36.086 2587-2613/? A/DEBUG: uid: 1046
2020-04-13 09:44:36.086 2587-2613/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2020-04-13 09:44:36.086 2587-2613/? A/DEBUG: r0 00000000 r1 00000a35 r2 00000006 r3 a81f9368
2020-04-13 09:44:36.086 2587-2613/? A/DEBUG: r4 a81f937c r5 a81f9360 r6 00000a1b r7 0000016b
2020-04-13 09:44:36.087 2587-2613/? A/DEBUG: r8 a81f9378 r9 a81f9368 r10 a81f9398 r11 a81f9388
2020-04-13 09:44:36.087 2587-2613/? A/DEBUG: ip 00000a35 sp a81f9338 lr ac67bc43 pc ac67bc56
2020-04-13 09:44:35.950 2587-2587/? I/HwBinder:2587_3: type=1400 audit(0.0:314): avc: denied { getattr } for path="/dev/dri/card0" dev="tmpfs" ino=10589 scontext=u:r:mediaswcodec:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1
2020-04-13 09:44:36.107 229-2089/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2020-04-13 09:44:36.130 229-2089/? W/StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
2020-04-13 09:44:35.950 2587-2587/? I/HwBinder:2587_3: type=1400 audit(0.0:315): avc: denied { read } for name="dri" dev="tmpfs" ino=10588 scontext=u:r:mediaswcodec:s0 tcontext=u:object_r:device:s0 tclass=dir permissive=1
2020-04-13 09:44:36.166 263-2604/? W/AudioTrack: getTimestamp_l(22): location moved from kernel to server
2020-04-13 09:44:35.950 2587-2587/? I/HwBinder:2587_3: type=1400 audit(0.0:316): avc: denied { open } for path="/dev/dri" dev="tmpfs" ino=10588 scontext=u:r:mediaswcodec:s0 tcontext=u:object_r:device:s0 tclass=dir permissive=1
2020-04-13 09:44:36.414 2587-2613/? A/DEBUG: backtrace:
2020-04-13 09:44:36.414 2587-2613/? A/DEBUG: #00 pc 0005ec56 /apex/com.android.runtime/lib/bionic/libc.so (abort+166) (BuildId: 1e8dd9673cd9bca53ad6598c9241a872)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #01 pc 000113f5 /apex/com.android.media.swcodec/lib/libminijail.so (do_fatal_log+92) (BuildId: d2accc3874cb963f555e4ab3b4e069b4)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #02 pc 0000f81b /apex/com.android.media.swcodec/lib/libminijail.so (log_sigsys_handler+38) (BuildId: d2accc3874cb963f555e4ab3b4e069b4)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #03 pc 00059ca8 /apex/com.android.runtime/lib/bionic/libc.so (restore_rt) (BuildId: 1e8dd9673cd9bca53ad6598c9241a872)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #04 pc 000976f8 /apex/com.android.runtime/lib/bionic/libc.so (sysinfo+8) (BuildId: 1e8dd9673cd9bca53ad6598c9241a872)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #05 pc 00068b1d /apex/com.android.runtime/lib/bionic/libc.so (get_phys_pages+16) (BuildId: 1e8dd9673cd9bca53ad6598c9241a872)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #06 pc 003ed22f /vendor/lib/dri/gallium_dri.so (os_get_total_physical_memory+6) (BuildId: fd454114c7f7d2aff224e25426c519f6)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #07 pc 00134f19 /vendor/lib/dri/gallium_dri.so (lima_screen_create+224) (BuildId: fd454114c7f7d2aff224e25426c519f6)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #08 pc 00137c97 /vendor/lib/dri/gallium_dri.so (kmsro_drm_screen_create+50) (BuildId: fd454114c7f7d2aff224e25426c519f6)
2020-04-13 09:44:36.415 2587-2613/? A/DEBUG: #09 pc 001220a3 /vendor/lib/dri/gallium_dri.so (pipe_kmsro_create_screen+2) (BuildId: fd454114c7f7d2aff224e25426c519f6)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #10 pc 003e0db1 /vendor/lib/dri/gallium_dri.so (pipe_loader_create_screen+36) (BuildId: fd454114c7f7d2aff224e25426c519f6)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #11 pc 00139a09 /vendor/lib/dri/gallium_dri.so (dri2_init_screen+80) (BuildId: fd454114c7f7d2aff224e25426c519f6)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #12 pc 003e09d7 /vendor/lib/dri/gallium_dri.so (driCreateNewScreen2+350) (BuildId: fd454114c7f7d2aff224e25426c519f6)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #13 pc 00005431 /vendor/lib/libgbm.so (dri_screen_create_dri2+124) (BuildId: d384b38d3dc6783c6e26ecf27e101274)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #14 pc 000046a1 /vendor/lib/libgbm.so (dri_device_create+236) (BuildId: d384b38d3dc6783c6e26ecf27e101274)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #15 pc 000040af /vendor/lib/libgbm.so (gbm_create_device+46) (BuildId: d384b38d3dc6783c6e26ecf27e101274)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #16 pc 0000311f /vendor/lib/hw/gralloc.gbm.so (gbm_dev_create+50) (BuildId: 7bb4031eb5a7c3930a34d2b43441247d)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #17 pc 00004173 /vendor/lib/hw/gralloc.gbm.so (gbm_init(gbm_module_t)+22) (BuildId: 7bb4031eb5a7c3930a34d2b43441247d)
2020-04-13 09:44:36.416 2587-2613/? A/DEBUG: #18 pc 00003fef /vendor/lib/hw/gralloc.gbm.so (gbm_mod_register_buffer(gralloc_module_t const, native_handle const)+6) (BuildId: 7bb4031eb5a7c3930a34d2b43441247d)
2020-04-13 09:44:36.417 2587-2613/? A/DEBUG: #19 pc 00002c69 /vendor/lib/hw/android.hardware.graphics.mapper@2.0-impl-2.1.so (android::hardware::graphics::mapper::V2_0::passthrough::detail::Gralloc0HalImpl
hello, i am trying to play a video and it cannot be played.
Need to check if https://github.com/robherring/gbm_gralloc/pull/15 fixes this issue.
After applying https://github.com/robherring/gbm_gralloc/pull/15, video playback is working. I will include it into the next release.
Codec2 should already include software VP8 and VP9.
Sunxi VPU have only h264 and h265 codecs driver.