Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Software video codecs aren't working. #13

Closed
MaksymPrymierov opened this issue Mar 16, 2020 · 4 comments
Closed

Software video codecs aren't working. #13

MaksymPrymierov opened this issue Mar 16, 2020 · 4 comments
Assignees

Comments

@MaksymPrymierov
Copy link
Member

MaksymPrymierov commented Mar 16, 2020

No description provided.

@rsglobal
Copy link
Member

rsglobal commented Mar 16, 2020

Codec2 should already include software VP8 and VP9.

Sunxi VPU have only h264 and h265 codecs driver.

@joek85
Copy link

joek85 commented Apr 16, 2020

`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 [email protected]::IAllocator/default in either framework or device manifest.
2020-04-13 09:44:35.787 178-178/? I/hwservicemanager: getTransport: Cannot find entry [email protected]::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 [email protected]::IAllocator/default in either framework or device manifest.
2020-04-13 09:44:35.805 178-178/? I/hwservicemanager: getTransport: Cannot find entry [email protected]::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 [email protected]::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 [email protected]::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: #1 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: #2 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: #3 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: #4 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: #5 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: #6 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: #7 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: #8 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: #9 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/[email protected] (android::hardware::graphics::mapper::V2_0::passthrough::detail::Gralloc0HalImplandroid::hardware::graphics::mapper::V2_1::hal::MapperHal::importBuffer(native_handle const*, native_handle**)+24) (BuildId: 1ebead16a4c9929df83989703d86c69f)
2020-04-13 09:44:36.417 2587-2613/? A/DEBUG: #20 pc 000030f3 /vendor/lib/hw/[email protected] (android::hardware::graphics::mapper::V2_0::hal::detail::MapperImpl<android::hardware::graphics::mapper::V2_1::IMapper, android::hardware::graphics::mapper::V2_1::hal::MapperHal>::importBuffer(android::hardware::hidl_handle const&, std::__1::function<void (android::hardware::graphics::mapper::V2_0::Error, void*)>)+62) (BuildId: 1ebead16a4c9929df83989703d86c69f)
2020-04-13 09:44:36.418 2587-2613/? A/DEBUG: #21 pc 0000d9bd /system/lib/[email protected] (android::hardware::graphics::mapper::V2_1::BsMapper::importBuffer(android::hardware::hidl_handle const&, std::__1::function<void (android::hardware::graphics::mapper::V2_0::Error, void*)>)+108) (BuildId: a79309e794adc5201ccc5b535eb90fb7)
2020-04-13 09:44:36.418 2587-2613/? A/DEBUG: #22 pc 000162e5 /system/lib/libui.so (android::Gralloc2Mapper::importBuffer(android::hardware::hidl_handle const&, native_handle const**) const+52) (BuildId: 33da155ce8a5a33ffd069596dbaeded4)
2020-04-13 09:44:36.418 2587-2613/? A/DEBUG: #23 pc 00019a6b /system/lib/libui.so (android::GraphicBufferMapper::importBuffer(native_handle const*, unsigned int, unsigned int, unsigned int, int, unsigned long long, unsigned int, native_handle const**)+90) (BuildId: 33da155ce8a5a33ffd069596dbaeded4)
2020-04-13 09:44:36.418 2587-2613/? A/DEBUG: #24 pc 00017dc9 /system/lib/libui.so (android::GraphicBuffer::initWithHandle(native_handle const*, android::GraphicBuffer::HandleWrapMethod, unsigned int, unsigned int, int, unsigned int, unsigned long long, unsigned int)+108) (BuildId: 33da155ce8a5a33ffd069596dbaeded4)
2020-04-13 09:44:36.418 2587-2613/? A/DEBUG: #25 pc 00017d4f /system/lib/libui.so (android::GraphicBuffer::GraphicBuffer(native_handle const*, android::GraphicBuffer::HandleWrapMethod, unsigned int, unsigned int, int, unsigned int, unsigned long long, unsigned int)+50) (BuildId: 33da155ce8a5a33ffd069596dbaeded4)
2020-04-13 09:44:36.418 2587-2613/? A/DEBUG: #26 pc 00002cc7 /system/lib/libnativewindow.so (AHardwareBuffer_createFromHandle+134) (BuildId: b2507bc46da589d092a299ac068252b1)
2020-04-13 09:44:36.419 2587-2613/? A/DEBUG: #27 pc 00042b67 /apex/com.android.media.swcodec/lib/libcodec2_vndk.so (android::hardware::graphics::bufferqueue::V2_0::utils::h2b(android::hardware::graphics::common::V1_2::HardwareBuffer const&, android::spandroid::GraphicBuffer)+34) (BuildId: e0189f8f354fde7f7a42177c31151618)
2020-04-13 09:44:36.419 2587-2613/? A/DEBUG: #28 pc 000424b9 /apex/com.android.media.swcodec/lib/libcodec2_vndk.so (_ZNSt3__110__function6__funcIZN12_GLOBAL__N_119getGenerationNumberERKN7android2spINS3_8hardware8graphics11bufferqueue4V2_022IGraphicBufferProducerEEEPjE3$_2NS_9allocatorISE_EEFvNS8_6StatusERKNS6_6common4V1_214HardwareBufferEjEEclEOSH_SM_Oj+24) (BuildId: e0189f8f354fde7f7a42177c31151618)
2020-04-13 09:44:36.420 2587-2613/? A/DEBUG: #29 pc 00010337 /apex/com.android.media.swcodec/lib/[email protected] (android::hardware::graphics::bufferqueue::V2_0::BpHwGraphicBufferProducer::_hidl_requestBuffer(android::hardware::IInterface
, android::hardware::details::HidlInstrumentor*, int, std::__1::function<void (android::hardware::graphics::bufferqueue::V2_0::Status, android::hardware::graphics::common::V1_2::HardwareBuffer const&, unsigned int)>)+530) (BuildId: d522847e850f3beb44e30f7c09623717)
2020-04-13 09:44:36.420 2587-2613/? A/DEBUG: #30 pc 00013d85 /apex/com.android.media.swcodec/lib/[email protected] (android::hardware::graphics::bufferqueue::V2_0::BpHwGraphicBufferProducer::requestBuffer(int, std::__1::function<void (android::hardware::graphics::bufferqueue::V2_0::Status, android::hardware::graphics::common::V1_2::HardwareBuffer const&, unsigned int)>)+72) (BuildId: d522847e850f3beb44e30f7c09623717)
2020-04-13 09:44:36.421 2587-2613/? A/DEBUG: #31 pc 000416bf /apex/com.android.media.swcodec/lib/libcodec2_vndk.so (C2BufferQueueBlockPool::Impl::configureProducer(android::spandroid::hardware::graphics::bufferqueue::V2_0::IGraphicBufferProducer const&)+330) (BuildId: e0189f8f354fde7f7a42177c31151618)
2020-04-13 09:44:36.421 2587-2613/? A/DEBUG: #32 pc 00014aa3 /apex/com.android.media.swcodec/lib/[email protected] (android::hardware::media::c2::V1_0::utils::Component::setOutputSurface(unsigned long long, android::spandroid::hardware::graphics::bufferqueue::V2_0::IGraphicBufferProducer const&)+202) (BuildId: c62f24fcb61f71c13a0ac3c24fafe64b)
2020-04-13 09:44:36.422 2587-2613/? A/DEBUG: #33 pc 00028d2f /apex/com.android.media.swcodec/lib/[email protected] (android::hardware::media::c2::V1_0::BnHwComponent::_hidl_setOutputSurface(android::hidl::base::V1_0::BnHwBase*, android::hardware::Parcel const&, android::hardware::Parcel*, std::__1::function<void (android::hardware::Parcel&)>)+290) (BuildId: c07abae4ada53b3f4582f2640970fdaf)
2020-04-13 09:44:36.422 2587-2613/? A/DEBUG: #34 pc 0002b191 /apex/com.android.media.swcodec/lib/[email protected] (android::hardware::media::c2::V1_0::BnHwComponent::onTransact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+756) (BuildId: c07abae4ada53b3f4582f2640970fdaf)
2020-04-13 09:44:36.422 2587-2613/? A/DEBUG: #35 pc 00068c09 /apex/com.android.media.swcodec/lib/libhidlbase.so (android::hardware::BHwBinder::transact(unsigned int, android::hardware::Parcel const&, android::hardware::Parcel*, unsigned int, std::__1::function<void (android::hardware::Parcel&)>)+52) (BuildId: 95b057053dc19de16ddbaabbbf733e3c)
2020-04-13 09:44:36.423 2587-2613/? A/DEBUG: #36 pc 0006b203 /apex/com.android.media.swcodec/lib/libhidlbase.so (android::hardware::IPCThreadState::getAndExecuteCommand()+926) (BuildId: 95b057053dc19de16ddbaabbbf733e3c)
2020-04-13 09:44:36.423 2587-2613/? A/DEBUG: #37 pc 0006c0c5 /apex/com.android.media.swcodec/lib/libhidlbase.so (android::hardware::IPCThreadState::joinThreadPool(bool)+56) (BuildId: 95b057053dc19de16ddbaabbbf733e3c)
2020-04-13 09:44:36.423 2587-2613/? A/DEBUG: #38 pc 00077145 /apex/com.android.media.swcodec/lib/libhidlbase.so (android::hardware::PoolThread::threadLoop()+12) (BuildId: 95b057053dc19de16ddbaabbbf733e3c)
2020-04-13 09:44:36.423 2587-2613/? A/DEBUG: #39 pc 0000d8a3 /apex/com.android.media.swcodec/lib/libutils.so (android::Thread::_threadLoop(void*)+182) (BuildId: d3ca15fc932349b8e4e51898b5d02303)
2020-04-13 09:44:36.423 2587-2613/? A/DEBUG: #40 pc 000a6087 /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+20) (BuildId: 1e8dd9673cd9bca53ad6598c9241a872)
2020-04-13 09:44:36.423 2587-2613/? A/DEBUG: #41 pc 00060141 /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: 1e8dd9673cd9bca53ad6598c9241a872)
2020-04-13 09:44:36.799 270-270/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_07
2020-04-13 09:44:36.816 368-402/system_process I/BootReceiver: Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
2020-04-13 09:44:36.819 368-402/system_process I/DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2
2020-04-13 09:44:36.836 263-2607/? E/Codec2Client: setOutputSurface -- transaction failed.
2020-04-13 09:44:36.838 263-2606/? D/CCodecConfig: no recognized params in: Dict {
c2::float algo.rate.value = 24
c2::float ctrl.operating-rate.value = 24
}
2020-04-13 09:44:36.846 263-2155/? E/CCodec: Codec2 component "c2.android.aac.decoder" died.
2020-04-13 09:44:36.847 263-2609/? E/MediaCodec: Codec reported err 0xffffffe0, actionCode 0, while in state 6
2020-04-13 09:44:36.848 263-2155/? E/CCodec: Codec2 component "c2.android.avc.decoder" died.
2020-04-13 09:44:36.848 263-2608/? E/NuPlayerDecoder: Decoder (audio) reported error : 0xffffffe0
2020-04-13 09:44:36.848 263-2606/? E/MediaCodec: Codec reported err 0xffffffe0, actionCode 0, while in state 6
2020-04-13 09:44:36.848 263-2155/? D/BufferPoolConnection: connection 1129576398944 closed on death
2020-04-13 09:44:36.848 263-2155/? I/MediaPlayerService: Codec2 service "software" died. Sending death notification.
2020-04-13 09:44:36.848 263-2605/? E/NuPlayerDecoder: Decoder (video) reported error : 0xffffffe0
2020-04-13 09:44:36.849 263-2606/? D/SurfaceUtils: disconnecting from surface 0xb0e48808, reason disconnectFromSurface
2020-04-13 09:44:36.853 263-2607/? E/Codec2Client: query -- transaction failed.
2020-04-13 09:44:36.853 1905-2485/com.android.gallery3d E/MediaPlayerNative: error (100, 2)
2020-04-13 09:44:36.853 263-2600/? E/NuPlayer: received error(0xffffffe0) from audio decoder, flushing(0), now shutting down
2020-04-13 09:44:36.853 1905-1905/com.android.gallery3d E/MediaPlayer: Error (100,2)
2020-04-13 09:44:36.853 1905-1905/com.android.gallery3d D/VideoView: Error: 100,2
2020-04-13 09:44:36.864 263-2600/? E/NuPlayer: received error(0xffffffe0) from video decoder, flushing(0), now shutting down
2020-04-13 09:44:36.871 1905-2485/com.android.gallery3d W/MediaPlayerNative: info/warning (804, -32)
2020-04-13 09:44:36.871 1905-2485/com.android.gallery3d E/MediaPlayerNative: error (1, -32)
2020-04-13 09:44:36.871 263-2608/? E/NuPlayerDecoder: failed to flush [c2.android.aac.decoder] (err=-38)
2020-04-13 09:44:36.872 263-2600/? E/NuPlayer: received error(0xffffffda) from audio decoder, flushing(2), now shutting down
2020-04-13 09:44:36.873 1905-1922/com.android.gallery3d E/MediaPlayerNative: error (1, -38)
2020-04-13 09:44:36.875 263-2197/? D/BufferPoolAccessor: Destruction - bufferpool2 0xac3ab810 cached: 0/0M, 0/0% in use; allocs: 66, 80% recycled; transfers: 66, 82% unfetced
2020-04-13 09:44:36.883 263-2605/? E/NuPlayerDecoder: failed to flush [c2.android.avc.decoder] (err=-38)
2020-04-13 09:44:36.883 263-2600/? E/NuPlayer: received error(0xffffffda) from video decoder, flushing(2), now shutting down
2020-04-13 09:44:36.885 1905-1922/com.android.gallery3d E/MediaPlayerNative: error (1, -38)
2020-04-13 09:44:36.886 263-2605/? D/BufferPoolAccessor: Destruction - bufferpool2 0xac3cd510 cached: 0/0M, 0/0% in use; allocs: 0, 0% recycled; transfers: 0, 0% unfetced
2020-04-13 09:44:36.886 263-2605/? D/SurfaceUtils: connecting to surface 0xb0e48808, reason onShutdown
2020-04-13 09:44:36.936 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:36.969 368-2480/system_process I/chatty: uid=1000(system) Binder:368_D identical 1 line
2020-04-13 09:44:36.986 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:36.997 368-381/system_process I/system_server: Background young concurrent copying GC freed 19837(1221KB) AllocSpace objects, 29(3248KB) LOS objects, 37% free, 6592KB/10MB, paused 335us total 189.045ms
2020-04-13 09:44:37.004 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.009 1905-1905/com.android.gallery3d E/MediaPlayer: Error (1,-32)
2020-04-13 09:44:37.010 1905-1905/com.android.gallery3d D/VideoView: Error: 1,-32
2020-04-13 09:44:37.022 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.055 368-2480/system_process I/chatty: uid=1000(system) Binder:368_D identical 2 lines
2020-04-13 09:44:37.069 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.070 1905-1905/com.android.gallery3d E/MediaPlayer: Error (1,-38)
2020-04-13 09:44:37.070 1905-1905/com.android.gallery3d D/VideoView: Error: 1,-38
2020-04-13 09:44:37.086 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.103 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.119 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.120 1905-1905/com.android.gallery3d E/MediaPlayer: Error (1,-38)
2020-04-13 09:44:37.120 1905-1905/com.android.gallery3d D/VideoView: Error: 1,-38
2020-04-13 09:44:37.136 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.155 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.170 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.187 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.205 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.221 368-2480/system_process I/chatty: uid=1000(system) Binder:368_D identical 1 line
2020-04-13 09:44:37.241 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.254 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.288 368-2060/system_process I/chatty: uid=1000(system) Binder:368_C identical 2 lines
2020-04-13 09:44:37.303 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.323 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.335 368-2480/system_process I/chatty: uid=1000(system) Binder:368_D identical 1 line
2020-04-13 09:44:37.355 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.369 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.386 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.388 239-1004/? I/AudioFlinger: BUFFER TIMEOUT: remove(63) from active list on thread 0xa6239940
2020-04-13 09:44:37.407 2617-2617/? I//apex/com.android.media.swcodec/bin/mediaswcodec: media swcodec service starting
2020-04-13 09:44:37.408 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: Could not read additional policy file '/vendor/etc/seccomp_policy/mediaswcodec.policy'
2020-04-13 09:44:37.409 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[2617]: failed to get path of fd 4: No such file or directory
2020-04-13 09:44:37.409 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[2617]: allowing syscall: clock_gettime
2020-04-13 09:44:37.411 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[2617]: allowing syscall: connect
2020-04-13 09:44:37.411 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[2617]: allowing syscall: fcntl64
2020-04-13 09:44:37.411 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[2617]: allowing syscall: socket
2020-04-13 09:44:37.412 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[2617]: allowing syscall: writev
2020-04-13 09:44:37.414 2617-2617/? W//apex/com.android.media.swcodec/bin/mediaswcodec: libminijail[2617]: logging seccomp filter failures
2020-04-13 09:44:37.415 2617-2617/? I/CodecServiceRegistrant: Creating software Codec2 service...
2020-04-13 09:44:37.420 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.421 2617-2617/? I/ServiceManagement: Registered [email protected]::IComponentStore/software (start delay of 529ms)
2020-04-13 09:44:37.422 2617-2617/? I/CodecServiceRegistrant: Software Codec2 service created.
2020-04-13 09:44:37.438 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.455 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.473 368-2480/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:37.486 368-2060/system_process E/InputDispatcher: Window handle nav_input_consumer has no registered input channel
2020-04-13 09:44:38.223 368-1311/system_process E/TaskPersister: File error accessing recents directory (directory doesn't exist?).`

hello, i am trying to play a video and it cannot be played.

@rsglobal
Copy link
Member

Need to check if robherring/gbm_gralloc#15 fixes this issue.

@rsglobal rsglobal changed the title Provide support VP8-9 video codecs Software video codecs aren't working. Jun 23, 2020
@rsglobal
Copy link
Member

After applying robherring/gbm_gralloc#15, video playback is working.
I will include it into the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants