HBiSoft / HBRecorder

Lightweight screen recording Android library
MIT License
402 stars 137 forks source link

Demo app records black screen at 1080x2520 resolution #137

Closed enoiu closed 1 year ago

enoiu commented 1 year ago

Describe the bug When I tried to record at default resolution (1080x2520) with the demo app, it recorded a black screen (When viewed in Google Photos, it says Can't play video).

When I set the resolution to 1080x1920 in the settings, it recorded properly.

Can it be reproduced in demo app Yes

HBRecorder version 3.0.1

Device information

HBiSoft commented 1 year ago

@enoiu Without more detail, I will not be able to assist you with this. Please open the application and provide me with the logcat starting with the line that says: E/EXAMPLE: THIS IS AN EXAMPLE OF HOW TO USE THE (HBRecorderCodecInfo) TO GET CODEC INFO:

enoiu commented 1 year ago

Thank you for your reply.

logcat

2023-03-17 13:47:13.844 9033-9033/? E/EXAMPLE: THIS IS AN EXAMPLE OF HOW TO USE THE (HBRecorderCodecInfo) TO GET CODEC INFO:
2023-03-17 13:47:13.844 9033-9033/? E/HBRecorderCodecInfo: defaultVideoEncoder for (video/avc) -> c2.qti.avc.encoder
2023-03-17 13:47:13.844 9033-9033/? W/System.err: java.lang.IllegalArgumentException: unsupported size
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.media.MediaCodecInfo$VideoCapabilities.getSupportedFrameRatesFor(MediaCodecInfo.java:1803)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at com.hbisoft.hbrecorder.HBRecorderCodecInfo.getMaxSupportedFrameRate(HBRecorderCodecInfo.java:308)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at com.hbisoft.hbrecorderexample.MainActivity.onCreate(MainActivity.java:150)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.Activity.performCreate(Activity.java:8290)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.Activity.performCreate(Activity.java:8269)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1385)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3662)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3818)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:106)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.os.Looper.loopOnce(Looper.java:346)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.os.Looper.loop(Looper.java:475)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:7954)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
2023-03-17 13:47:13.844 9033-9033/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
2023-03-17 13:47:13.844 9033-9033/? E/HBRecorderCodecInfo: MaxSupportedFrameRate -> 0.0
2023-03-17 13:47:13.844 9033-9033/? E/HBRecorderCodecInfo: MaxSupportedBitrate -> 60000000
2023-03-17 13:47:13.844 9033-9033/? E/HBRecorderCodecInfo: isSizeAndFramerateSupported @ Width = 1080 Height = 2520 FPS = 30 -> false
2023-03-17 13:47:13.844 9033-9033/? E/HBRecorderCodecInfo: isSizeSupported @ Width = 1080 Height = 2520 -> false
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Default Video Format = 
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc.cq -> video/hevc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.mpeg4.encoder -> video/mp4v-es
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h264.encoder -> video/avc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.avc.encoder -> video/avc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h263.encoder -> video/3gpp
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder -> video/hevc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc -> video/hevc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.mpeg4.encoder -> video/mp4v-es
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.h263.encoder -> video/3gpp
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp9.encoder -> video/x-vnd.on2.vp9
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.hevc.encoder -> video/hevc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.avc.encoder -> video/avc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp9.encoder -> video/x-vnd.on2.vp9
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp8.encoder -> video/x-vnd.on2.vp8
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp8.encoder -> video/x-vnd.on2.vp8
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.avc -> video/avc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder.cq -> video/hevc
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.opus.encoder -> audio/opus
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrnb.encoder -> audio/3gpp
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.flac.encoder -> audio/flac
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrnb.encoder -> audio/3gpp
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrwb.encoder -> audio/amr-wb
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.aac.encoder -> audio/mp4a-latm
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.aac.encoder -> audio/mp4a-latm
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrwb.encoder -> audio/amr-wb
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.flac.encoder -> audio/flac
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_2_TS
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_4
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Available Video Formats : THREE_GPP
2023-03-17 13:47:13.845 9033-9033/? E/HBRecorderCodecInfo: Available Video Formats : WEBM
HBiSoft commented 1 year ago

@enoiu Thank you for the log.

My guess is that it is the selected encoder causing this. Can you please try and set the following settings in the demo app by selecting menu then Settings:

Video Encoder: H264
Resolution: Default
Frame Rate: Default
Bit-rate: Default
Output Format: Default

Then enable USE CUSTOM SETTINGS on the main page.

Please let me know if this worked.

enoiu commented 1 year ago

I set the settings and enabled USE CUSTOM SETTINGS, but it was not worked properly as well.

logcat ``` 2023-03-17 15:47:02.309 27194-27194/? E/EXAMPLE: THIS IS AN EXAMPLE OF HOW TO USE THE (HBRecorderCodecInfo) TO GET CODEC INFO: 2023-03-17 15:47:02.309 27194-27194/? E/HBRecorderCodecInfo: defaultVideoEncoder for (video/avc) -> c2.qti.avc.encoder 2023-03-17 15:47:02.309 27194-27194/? W/System.err: java.lang.IllegalArgumentException: unsupported size 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.media.MediaCodecInfo$VideoCapabilities.getSupportedFrameRatesFor(MediaCodecInfo.java:1803) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at com.hbisoft.hbrecorder.HBRecorderCodecInfo.getMaxSupportedFrameRate(HBRecorderCodecInfo.java:308) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at com.hbisoft.hbrecorderexample.MainActivity.onCreate(MainActivity.java:150) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.Activity.performCreate(Activity.java:8290) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.Activity.performCreate(Activity.java:8269) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1385) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3662) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3818) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.os.Looper.loopOnce(Looper.java:346) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.os.Looper.loop(Looper.java:475) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7954) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 2023-03-17 15:47:02.309 27194-27194/? W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942) 2023-03-17 15:47:02.309 27194-27194/? E/HBRecorderCodecInfo: MaxSupportedFrameRate -> 0.0 2023-03-17 15:47:02.309 27194-27194/? E/HBRecorderCodecInfo: MaxSupportedBitrate -> 60000000 2023-03-17 15:47:02.309 27194-27194/? E/HBRecorderCodecInfo: isSizeAndFramerateSupported @ Width = 1080 Height = 2520 FPS = 30 -> false 2023-03-17 15:47:02.309 27194-27194/? E/HBRecorderCodecInfo: isSizeSupported @ Width = 1080 Height = 2520 -> false 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Default Video Format = 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc.cq -> video/hevc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.mpeg4.encoder -> video/mp4v-es 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h264.encoder -> video/avc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.avc.encoder -> video/avc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h263.encoder -> video/3gpp 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder -> video/hevc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc -> video/hevc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.mpeg4.encoder -> video/mp4v-es 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.h263.encoder -> video/3gpp 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp9.encoder -> video/x-vnd.on2.vp9 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.hevc.encoder -> video/hevc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.avc.encoder -> video/avc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp9.encoder -> video/x-vnd.on2.vp9 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp8.encoder -> video/x-vnd.on2.vp8 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp8.encoder -> video/x-vnd.on2.vp8 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.avc -> video/avc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder.cq -> video/hevc 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.opus.encoder -> audio/opus 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrnb.encoder -> audio/3gpp 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.flac.encoder -> audio/flac 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrnb.encoder -> audio/3gpp 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrwb.encoder -> audio/amr-wb 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.aac.encoder -> audio/mp4a-latm 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.aac.encoder -> audio/mp4a-latm 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrwb.encoder -> audio/amr-wb 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.flac.encoder -> audio/flac 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_2_TS 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_4 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Available Video Formats : THREE_GPP 2023-03-17 15:47:02.310 27194-27194/? E/HBRecorderCodecInfo: Available Video Formats : WEBM 2023-03-17 15:47:02.397 27194-27213/? W/Parcel: Expecting binder but got null! 2023-03-17 15:47:02.775 1889-2395/? W/InputManager-JNI: Input channel object '2a3ad01 Splash Screen com.hbisoft.hbrecorderexample (client)' was disposed without first being removed with the input manager! 2023-03-17 15:47:02.808 17135-17151/? E/ActivityThread: Failed to find provider info for com.sony.songpal.mdr.application.mdr_info 2023-03-17 15:47:03.219 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:03.219 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:03.219 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 15:47:04.573 27194-27213/? W/Parcel: Expecting binder but got null! 2023-03-17 15:47:05.125 1889-2522/? W/ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (922905475) 2023-03-17 15:47:05.125 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:47:05.125 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:47:05.126 1279-1366/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async 2023-03-17 15:47:05.228 27194-27213/? W/Parcel: Expecting binder but got null! 2023-03-17 15:47:05.444 1889-6008/? W/InputManager-JNI: Input channel object '1a33d53 PopupWindow:d6887a3 (client)' was disposed without first being removed with the input manager! 2023-03-17 15:47:06.121 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:06.121 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:06.121 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 15:47:07.545 1889-6008/? W/InputManager-JNI: Input channel object 'dbde03e com.hbisoft.hbrecorderexample/com.hbisoft.hbrecorderexample.SettingsActivity (client)' was disposed without first being removed with the input manager! 2023-03-17 15:47:07.971 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:07.971 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 15:47:07.974 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:08.051 1889-9001/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:08.055 1889-2395/? W/AppOps: Noting op not finished: uid 10178 pkg com.google.android.gms.location.history code 79 startTime of in progress event=1679013426224 2023-03-17 15:47:08.058 1889-9001/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 79 startTime of in progress event=1679032182603 2023-03-17 15:47:08.064 1889-2522/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:08.066 1889-2522/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:08.069 1889-6008/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:08.073 1889-2395/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:08.073 1889-2522/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.075 1889-9001/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.077 1889-2395/? W/AppOps: Noting op not finished: uid 10178 pkg com.google.android.gms.location.history code 79 startTime of in progress event=1679013426224 2023-03-17 15:47:08.077 1889-9001/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.080 1889-6008/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 79 startTime of in progress event=1679032182603 2023-03-17 15:47:08.082 1889-3054/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.082 1889-3054/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.084 1889-3054/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:08.086 1889-2522/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:08.088 1889-2395/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.089 1889-6008/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.090 1889-2395/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.091 1889-2395/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.091 1889-3054/? W/AppOps: Noting op not finished: uid 10383 pkg com.google.android.apps.fitness code 79 startTime of in progress event=1679035611018 2023-03-17 15:47:08.092 1889-3054/? W/AppOps: Noting op not finished: uid 10173 pkg com.google.android.gms code 113 startTime of in progress event=1679032182603 2023-03-17 15:47:09.583 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:47:09.584 1889-2395/? W/ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (922780305) 2023-03-17 15:47:09.584 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:47:09.584 1279-1366/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async 2023-03-17 15:47:09.669 7390-7416/? W/Parcel: Expecting binder but got null! 2023-03-17 15:47:10.355 1889-6008/? W/InputManager-JNI: Input channel object '1338f98 Sys2017:com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity (client)' was disposed without first being removed with the input manager! 2023-03-17 15:47:10.408 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:47:10.408 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:47:10.422 4161-31407/? W/MediaProvider: isAppCloneUserPair for user 0: false 2023-03-17 15:47:10.449 1580-17902/? W/StagefrightRecorder: stop while neither recording nor paused 2023-03-17 15:47:10.476 1286-4423/? W/QC2Comp: mismatched libqcodec2_platform.so Actual: Sun Jul 31 19:06:10 2022 -0700 vs Expected: Fri Apr 8 17:49:41 2022 +0530 2023-03-17 15:47:10.477 1326-23154/? W/APM_AudioPolicyManager: getInputForDevice could not find profile for device AUDIO_DEVICE_IN_BUILTIN_MIC, @:bottom, sampling rate 44100, format 0x4000002, channel mask 0x10, flags 0x80 2023-03-17 15:47:10.477 1326-23154/? E/AudioFlinger: createRecord() getInputForAttr return error -38 2023-03-17 15:47:10.477 1580-17901/? E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -38 2023-03-17 15:47:10.478 1580-17901/? E/CompressAACAudioSource: set: failed to create AudioRecord 2023-03-17 15:47:10.478 1580-17901/? E/ExtendedSFRecorder: compress aac audio source init failed 2023-03-17 15:47:10.478 1580-17901/? W/StagefrightRecorder: setupMPEG4orWEBMRecording: unable to create compress recording 2023-03-17 15:47:10.478 1580-17901/? W/StagefrightRecorder: Intended audio encoding bit rate (128000) is too large and will be set to (96000) 2023-03-17 15:47:10.479 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:47:10.479 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:47:10.479 1286-4423/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 15:47:10.480 1580-17901/? E/ExtendedUtils: HDR key not found 2023-03-17 15:47:10.480 1580-17901/? E/ExtendedUtils: HDR Channel count not found 2023-03-17 15:47:10.480 1580-17901/? E/ExtendedUtils: HDR Sampling rate not found 2023-03-17 15:47:10.486 1286-4423/? E/QC2Interface: Failed to query parameters 2023-03-17 15:47:10.491 1158-3969/? W/EffectZnr: Znr_configure: Unsupported format 00000005 2023-03-17 15:47:10.491 1158-3969/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:47:10.491 1158-3969/? W/EffectHAL: Effect 0xedd316f0 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:47:10.491 1158-3969/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:47:10.491 1158-3969/? W/EffectHAL: Effect 0xedd316f0 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:47:10.492 1326-23154/? E/AudioFlinger::EffectModule: configure failed -22 with int16_t (as well as float) 2023-03-17 15:47:10.492 1158-3969/? W/EffectZnr: Znr_configure: Unsupported format 00000005 2023-03-17 15:47:10.492 1158-3969/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:47:10.492 1158-3969/? W/EffectHAL: Effect 0xedd316f0 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:47:10.492 1158-13902/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:47:10.492 1158-13902/? W/EffectHAL: Effect 0xedd316f0 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:47:10.492 1326-23154/? E/AudioFlinger::EffectModule: configure failed -22 with int16_t (as well as float) 2023-03-17 15:47:10.494 1580-17901/? W/AudioRecord: createRecord_l(10874): Server adjusted notificationFrames from 1024 to 896 for frameCount 2688 2023-03-17 15:47:10.494 1326-13810/? W/AudioFlinger: acquireAudioSessionId() unknown client 27194 for session 34001 2023-03-17 15:47:10.495 1580-17901/? E/ExtendedAudioSource: HDR key not found 2023-03-17 15:47:10.495 1580-17901/? E/ExtendedAudioSource: HDR orientation key not found 2023-03-17 15:47:10.495 1580-17901/? E/ExtendedAudioSource: HDR inverted key not found 2023-03-17 15:47:10.495 1580-17901/? E/ExtendedAudioSource: HDR facing key not found 2023-03-17 15:47:10.496 1580-17901/? E/ExtendedAudioSource: Wnr key not found 2023-03-17 15:47:10.496 1580-17901/? E/ExtendedAudioSource: Ans key not found 2023-03-17 15:47:10.496 1580-17901/? E/ExtendedAudioSource: HDR audio Channel count not found 2023-03-17 15:47:10.496 1580-17901/? E/ExtendedAudioSource: HDR audio Sampling rate not found 2023-03-17 15:47:10.500 1598-1598/? E/android.hardware.media.omx@1.0-service: component init: role = OMX.qcom.audio.encoder.aac 2023-03-17 15:47:10.505 1286-4423/? E/QC2Interface: Failed to query parameters 2023-03-17 15:47:10.507 1580-27261/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 15:47:10.512 1286-4423/? E/StandardCaps: requested height is not supported 2023-03-17 15:47:10.512 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:47:10.512 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:47:10.512 1286-4423/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 15:47:10.512 1286-4423/? E/QC2Interface: Few parameters failed to configure 2023-03-17 15:47:10.513 1580-27261/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 15:47:10.513 1580-27261/? W/CCodec: failed to configure c2 params 2023-03-17 15:47:10.513 1580-27260/? E/MediaCodec: Codec reported err 0xffffffea/BAD_VALUE, actionCode 0, while in state 3/CONFIGURING 2023-03-17 15:47:10.514 1580-27258/? E/MediaCodec: configure failed with err 0xffffffea, resetting... 2023-03-17 15:47:10.516 1286-4423/? E/ANDR-PERF-TP: ~PerfThreadPool() 391: ~PerfThreadPool 2023-03-17 15:47:10.520 1286-4423/? W/QC2Comp: mismatched libqcodec2_platform.so Actual: Sun Jul 31 19:06:10 2022 -0700 vs Expected: Fri Apr 8 17:49:41 2022 +0530 2023-03-17 15:47:10.521 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:47:10.521 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:47:10.521 1286-4423/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 15:47:10.522 1598-1598/? W/android.hardware.media.omx@1.0-service: Failed to obtain quirks for omx component 'OMX.qcom.audio.encoder.aac' from XML files 2023-03-17 15:47:10.524 1580-17901/? W/MediaCodec: shapeMediaFormat: no codecinfo 2023-03-17 15:47:10.524 1598-1598/? E/OMXNodeInstance: setConfig(0xe74824a4:qcom.encoder.aac, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 15:47:10.524 1286-2283/? E/QC2Interface: Failed to query parameters 2023-03-17 15:47:10.525 1598-1598/? E/OMXNodeInstance: getExtensionIndex(0xe74824a4:qcom.encoder.aac, OMX.google.android.index.storeMetaDataInBuffers) ERROR: BadParameter(0x80001005) 2023-03-17 15:47:10.526 1598-1598/? E/OMXNodeInstance: setConfig(0xe74824a4:qcom.encoder.aac, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 15:47:10.527 1598-1598/? E/OMXNodeInstance: getConfig(0xe74824a4:qcom.encoder.aac, ConfigAndroidVendorExtension(0x6f100004)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 15:47:10.528 1580-27265/? W/ExtendedACodec: Failed to get extension for extradata parameter 2023-03-17 15:47:10.536 1286-2283/? E/QC2Interface: Failed to query parameters 2023-03-17 15:47:10.536 1580-27261/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 15:47:10.540 1286-2283/? E/ANDR-PERF-TP: ~PerfThreadPool() 391: ~PerfThreadPool 2023-03-17 15:47:10.553 1580-27257/? E/Utils: csd0 too small 2023-03-17 15:47:10.553 1580-27257/? E/ExtendedUtils: csd0 too small 2023-03-17 15:47:10.562 1580-27273/? W/ColorUtils: expected specified color aspects (0:0:0:0) 2023-03-17 15:47:10.566 1580-27273/? W/ColorUtils: expected specified color aspects (0:0:0:0) 2023-03-17 15:47:10.567 1580-27273/? W/ColorUtils: expected specified color aspects (0:0:0:0) 2023-03-17 15:47:10.571 1580-27273/? W/Codec2Client: query -- param skipped: index = 1342179345. 2023-03-17 15:47:10.571 1580-27273/? W/Codec2Client: query -- param skipped: index = 2415921170. 2023-03-17 15:47:10.573 1580-27260/? W/ResourceManagerService: Ignoring request to add new resource entry with value <= 0 2023-03-17 15:47:10.602 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:10.602 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:47:10.602 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 15:47:10.604 1889-9001/? W/DisplayPowerController[75]: Screen brightness nits configuration is unavailable; falling back 2023-03-17 15:47:10.639 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 75, defaultModeId 75, supportedModes [{id=75, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 15:47:10.640 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 75, defaultModeId 75, supportedModes [{id=75, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 15:47:10.645 7390-7390/? W/DisplayController: Skipping Display Configuration change on non-added display. 2023-03-17 15:47:10.646 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 75, defaultModeId 75, supportedModes [{id=75, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 15:47:10.655 1889-1987/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 75, defaultModeId 75, supportedModes [{id=75, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 15:47:10.667 1158-13902/? E/FMQ: grantorIdx must be less than 3 2023-03-17 15:47:10.668 1158-13902/? E/FMQ: grantorIdx must be less than 3 2023-03-17 15:47:10.670 1158-27283/? W/msm8974_platform: platform_get_backend_index:napb: Invalid device - 0 2023-03-17 15:47:10.666 1889-1889/? W/NotificationHistory: Attempted to add notif for locked/gone/disabled user 0 2023-03-17 15:47:10.678 27194-27194/? E/HBRecorder: HBRecorderOnStart called 2023-03-17 15:47:10.696 1889-1922/? W/InputManager-JNI: Input channel object 'd10b9b0 com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity (client)' was disposed without first being removed with the input manager! 2023-03-17 15:47:10.799 1632-27274/? E/C2SoftAvcEnc: Unable to set air params = 0x1ad 2023-03-17 15:47:13.478 22541-22861/? E/ExceptionStackTrace: The exception is Socket closed java.net.SocketInputStream.read(SocketInputStream.java:188) java.net.SocketInputStream.read(SocketInputStream.java:143) com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket(ConscryptEngineSocket.java:945) com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:909) com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readUntilDataAvailable(ConscryptEngineSocket.java:824) com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.read(ConscryptEngineSocket.java:797) okio.InputStreamSource.read(Unknown Source:45) okio.AsyncTimeout$source$1.read(Unknown Source:12) okio.RealBufferedSource.request(Unknown Source:35) okio.RealBufferedSource.require(Unknown Source:0) okio.RealBufferedSource.readHexadecimalUnsignedLong(Unknown Source:2) okhttp3.internal.http1.Http1Codec$ChunkedSource.readChunkSize(Unknown Source:19) okhttp3.internal.http1.Http1Codec$ChunkedSource.read(Unknown So 2023-03-17 15:47:13.478 22541-22861/? E/ExceptionStackTrace: The exception is timeout okio.SocketAsyncTimeout.newTimeoutException(Unknown Source:4) okio.AsyncTimeout.exit$jvm(SourceFile:3) okio.AsyncTimeout$source$1.read(Unknown Source:28) okio.RealBufferedSource.request(Unknown Source:35) okio.RealBufferedSource.require(Unknown Source:0) okio.RealBufferedSource.readHexadecimalUnsignedLong(Unknown Source:2) okhttp3.internal.http1.Http1Codec$ChunkedSource.readChunkSize(Unknown Source:19) okhttp3.internal.http1.Http1Codec$ChunkedSource.read(Unknown Source:27) okio.RealBufferedSource.read(SourceFile:5) okio.RealBufferedSource.exhausted(Unknown Source:21) okio.InflaterSource.refill(Unknown Source:29) okio.InflaterSource.read(Unknown Source:25) okio.GzipSource.read(Unknown Source:42) okio.RealBufferedSource.exhausted(Unknown Source:21) com.microsoft.office.outlook.http.HttpRequestCallback.onResponse(Unknown Source:72) okhttp3.RealCall$AsyncCall.execute(Unknown Source:19) okhttp3.internal.NamedRunnable.run(Unknown Source:17) java.util.concurrent.ThreadPoo 2023-03-17 15:47:16.547 1580-17902/? W/GraphicBufferSource: released unpopulated slots: [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] 2023-03-17 15:47:16.578 1598-1598/? E/android.hardware.media.omx@1.0-service: component_deinit:COMPONENT DEINIT... 2023-03-17 15:47:16.578 1598-1598/? E/android.hardware.media.omx@1.0-service: AAC Object getting destroyed comp-deinit=1 2023-03-17 15:47:16.578 1598-1598/? E/android.hardware.media.omx@1.0-service: OMX AAC component destroyed 2023-03-17 15:47:17.015 1580-17901/? E/MPEG4Writer: Stop() called but track is not started or stopped 2023-03-17 15:47:17.015 1580-17901/? E/MPEG4Writer: Stop() called but track is not started or stopped 2023-03-17 15:47:17.017 1326-13810/? W/AudioFlinger: session id 34001 not found for pid 27194 2023-03-17 15:47:17.018 1580-17902/? W/StagefrightRecorder: stop while neither recording nor paused 2023-03-17 15:47:17.019 1889-1922/? W/MediaProjectionManagerService: Attempted to stop inactive MediaProjection (uid=10473, pid=27194) 2023-03-17 15:47:17.033 4161-31407/? W/MediaProvider: Ignoring mutation of date_expires from com.hbisoft.hbrecorderexample 2023-03-17 15:47:17.082 7390-7416/? W/Parcel: Expecting binder but got null! 2023-03-17 15:47:21.149 1889-3056/? W/InputManager-JNI: Input channel object '807f2b6 Toast (client)' was disposed without first being removed with the input ```
enoiu commented 1 year ago

But, I set only the resolution to 1920x1080 and enabled USE CUSTOM SETTINGS, the recording worked fine.

logcat ``` 2023-03-17 15:56:11.951 30256-30256/? E/EXAMPLE: THIS IS AN EXAMPLE OF HOW TO USE THE (HBRecorderCodecInfo) TO GET CODEC INFO: 2023-03-17 15:56:11.951 30256-30256/? E/HBRecorderCodecInfo: defaultVideoEncoder for (video/avc) -> c2.qti.avc.encoder 2023-03-17 15:56:11.951 30256-30256/? W/System.err: java.lang.IllegalArgumentException: unsupported size 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.media.MediaCodecInfo$VideoCapabilities.getSupportedFrameRatesFor(MediaCodecInfo.java:1803) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at com.hbisoft.hbrecorder.HBRecorderCodecInfo.getMaxSupportedFrameRate(HBRecorderCodecInfo.java:308) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at com.hbisoft.hbrecorderexample.MainActivity.onCreate(MainActivity.java:150) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.Activity.performCreate(Activity.java:8290) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.Activity.performCreate(Activity.java:8269) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1385) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3662) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3818) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.os.Looper.loopOnce(Looper.java:346) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.os.Looper.loop(Looper.java:475) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7954) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 2023-03-17 15:56:11.951 30256-30256/? W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942) 2023-03-17 15:56:11.951 30256-30256/? E/HBRecorderCodecInfo: MaxSupportedFrameRate -> 0.0 2023-03-17 15:56:11.951 30256-30256/? E/HBRecorderCodecInfo: MaxSupportedBitrate -> 60000000 2023-03-17 15:56:11.951 30256-30256/? E/HBRecorderCodecInfo: isSizeAndFramerateSupported @ Width = 1080 Height = 2520 FPS = 30 -> false 2023-03-17 15:56:11.951 30256-30256/? E/HBRecorderCodecInfo: isSizeSupported @ Width = 1080 Height = 2520 -> false 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Default Video Format = 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc.cq -> video/hevc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.mpeg4.encoder -> video/mp4v-es 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h264.encoder -> video/avc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.avc.encoder -> video/avc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h263.encoder -> video/3gpp 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder -> video/hevc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc -> video/hevc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.mpeg4.encoder -> video/mp4v-es 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.h263.encoder -> video/3gpp 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp9.encoder -> [video/x-vnd.on2.vp9](http://video/x-vnd.on2.vp9) 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.hevc.encoder -> video/hevc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.avc.encoder -> video/avc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp9.encoder -> [video/x-vnd.on2.vp9](http://video/x-vnd.on2.vp9) 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp8.encoder -> [video/x-vnd.on2.vp8](http://video/x-vnd.on2.vp8) 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp8.encoder -> [video/x-vnd.on2.vp8](http://video/x-vnd.on2.vp8) 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.avc -> video/avc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder.cq -> video/hevc 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.opus.encoder -> audio/opus 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrnb.encoder -> audio/3gpp 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.flac.encoder -> audio/flac 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrnb.encoder -> audio/3gpp 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrwb.encoder -> audio/amr-wb 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.aac.encoder -> audio/mp4a-latm 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.aac.encoder -> audio/mp4a-latm 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrwb.encoder -> audio/amr-wb 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.flac.encoder -> audio/flac 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_2_TS 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_4 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Available Video Formats : THREE_GPP 2023-03-17 15:56:11.952 30256-30256/? E/HBRecorderCodecInfo: Available Video Formats : WEBM 2023-03-17 15:56:11.982 30159-30213/? W/ndroid.calendar: Accessing hidden method Landroid/os/PowerManager;->isLightDeviceIdleMode()Z (max-target-s, reflection, denied) 2023-03-17 15:56:12.039 30256-30278/? W/Parcel: Expecting binder but got null! 2023-03-17 15:56:12.087 30159-30286/? W/DynamiteModule: Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. 2023-03-17 15:56:12.091 20608-20823/? W/ProviderHelper: Unknown dynamite feature providerinstaller.dynamite 2023-03-17 15:56:12.094 30159-30286/? W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module com.google.android.gms.providerinstaller.dynamite found. Local version is 0 and remote version is 0. 2023-03-17 15:56:12.095 30159-30286/? W/cal.aavx: Application name is not set. Call Builder#setApplicationName. 2023-03-17 15:56:12.416 1889-3054/? W/InputManager-JNI: Input channel object '206d0cf Splash Screen com.hbisoft.hbrecorderexample (client)' was disposed without first being removed with the input manager! 2023-03-17 15:56:12.418 17135-19545/? E/ActivityThread: Failed to find provider info for com.sony.songpal.mdr.application.mdr_info 2023-03-17 15:56:12.791 30159-30286/? W/ndroid.calendar: Accessing hidden method Landroid/os/PowerManager;->isLightDeviceIdleMode()Z (max-target-s, reflection, denied) 2023-03-17 15:56:12.815 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:56:12.816 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 15:56:12.816 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 15:56:14.510 1889-1921/? W/ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (923428523) 2023-03-17 15:56:14.511 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:56:14.511 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:56:14.511 1279-1366/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async 2023-03-17 15:56:14.569 7390-7416/? W/Parcel: Expecting binder but got null! 2023-03-17 15:56:15.108 1889-4759/? W/InputManager-JNI: Input channel object '1140ff3 Sys2017:com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity (client)' was disposed without first being removed with the input manager! 2023-03-17 15:56:15.157 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:56:15.157 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 15:56:15.182 4161-13823/? W/MediaProvider: isAppCloneUserPair for user 0: false 2023-03-17 15:56:15.202 1580-1868/? W/StagefrightRecorder: stop while neither recording nor paused 2023-03-17 15:56:15.225 1286-1537/? W/QC2Comp: mismatched [libqcodec2_platform.so](http://libqcodec2_platform.so/) Actual: Sun Jul 31 19:06:10 2022 -0700 vs Expected: Fri Apr 8 17:49:41 2022 +0530 2023-03-17 15:56:15.227 1326-23155/? W/APM_AudioPolicyManager: getInputForDevice could not find profile for device AUDIO_DEVICE_IN_BUILTIN_MIC, @:bottom, sampling rate 44100, format 0x4000002, channel mask 0x10, flags 0x80 2023-03-17 15:56:15.227 1326-23155/? E/AudioFlinger: createRecord() getInputForAttr return error -38 2023-03-17 15:56:15.228 1580-1868/? E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -38 2023-03-17 15:56:15.229 1580-1868/? E/CompressAACAudioSource: set: failed to create AudioRecord 2023-03-17 15:56:15.228 1286-1537/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:56:15.229 1286-1537/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:56:15.229 1286-1537/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 15:56:15.229 1580-1868/? E/ExtendedSFRecorder: compress aac audio source init failed 2023-03-17 15:56:15.229 1580-1868/? W/StagefrightRecorder: setupMPEG4orWEBMRecording: unable to create compress recording 2023-03-17 15:56:15.229 1580-1868/? W/StagefrightRecorder: Intended audio encoding bit rate (128000) is too large and will be set to (96000) 2023-03-17 15:56:15.231 1580-1868/? E/ExtendedUtils: HDR key not found 2023-03-17 15:56:15.231 1580-1868/? E/ExtendedUtils: HDR Channel count not found 2023-03-17 15:56:15.231 1580-1868/? E/ExtendedUtils: HDR Sampling rate not found 2023-03-17 15:56:15.238 1286-1537/? E/QC2Interface: Failed to query parameters 2023-03-17 15:56:15.246 1158-8611/? W/EffectZnr: Znr_configure: Unsupported format 00000005 2023-03-17 15:56:15.246 1158-8611/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:56:15.246 1158-8611/? W/EffectHAL: Effect 0xedd31590 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:56:15.246 1158-3969/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:56:15.246 1158-3969/? W/EffectHAL: Effect 0xedd31590 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:56:15.246 1326-23160/? E/AudioFlinger::EffectModule: configure failed -22 with int16_t (as well as float) 2023-03-17 15:56:15.246 1158-1289/? W/EffectZnr: Znr_configure: Unsupported format 00000005 2023-03-17 15:56:15.246 1158-1289/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:56:15.246 1158-1289/? W/EffectHAL: Effect 0xedd31590 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:56:15.246 1158-18335/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 15:56:15.246 1158-18335/? W/EffectHAL: Effect 0xedd31590 command SET_CONFIG returned status: Invalid argument 2023-03-17 15:56:15.246 1326-23160/? E/AudioFlinger::EffectModule: configure failed -22 with int16_t (as well as float) 2023-03-17 15:56:15.250 1580-1868/? W/AudioRecord: createRecord_l(10886): Server adjusted notificationFrames from 1024 to 896 for frameCount 2688 2023-03-17 15:56:15.250 1326-23154/? W/AudioFlinger: acquireAudioSessionId() unknown client 30256 for session 34137 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: HDR key not found 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: HDR orientation key not found 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: HDR inverted key not found 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: HDR facing key not found 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: Wnr key not found 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: Ans key not found 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: HDR audio Channel count not found 2023-03-17 15:56:15.252 1580-1868/? E/ExtendedAudioSource: HDR audio Sampling rate not found 2023-03-17 15:56:15.258 1598-1598/? E/android.hardware.media.omx@1.0-service: component init: role = OMX.qcom.audio.encoder.aac 2023-03-17 15:56:15.259 1286-4423/? E/QC2Interface: Failed to query parameters 2023-03-17 15:56:15.260 1580-30306/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 15:56:15.269 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:56:15.269 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 15:56:15.269 1286-4423/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 15:56:15.270 1580-30306/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 15:56:15.270 1286-4423/? E/QC2Interface: Failed to query parameters 2023-03-17 15:56:15.270 1580-30306/? W/Codec2Client: query -- param skipped: index = 3254781982. 2023-03-17 15:56:15.271 1286-4423/? E/QC2Interface: Failed to query parameters 2023-03-17 15:56:15.275 1598-1598/? W/android.hardware.media.omx@1.0-service: Failed to obtain quirks for omx component 'OMX.qcom.audio.encoder.aac' from XML files 2023-03-17 15:56:15.277 1580-1868/? W/MediaCodec: shapeMediaFormat: no codecinfo 2023-03-17 15:56:15.277 1598-1598/? E/OMXNodeInstance: setConfig(0xe74824a4:qcom.encoder.aac, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 15:56:15.277 1598-1598/? E/OMXNodeInstance: getExtensionIndex(0xe74824a4:qcom.encoder.aac, OMX.google.android.index.storeMetaDataInBuffers) ERROR: BadParameter(0x80001005) 2023-03-17 15:56:15.279 1598-1598/? E/OMXNodeInstance: setConfig(0xe74824a4:qcom.encoder.aac, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 15:56:15.279 1598-1598/? E/OMXNodeInstance: getConfig(0xe74824a4:qcom.encoder.aac, ConfigAndroidVendorExtension(0x6f100004)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 15:56:15.280 1286-30307/? W/QC2V4l2Codec: [avcE_5049] unknown/unsupported param coding.sync-frame-interval index = 0x52002005 2023-03-17 15:56:15.280 1286-30307/? W/QC2V4l2Driver: [avcE_5049] Frame QP not set as qpEnable is false! 2023-03-17 15:56:15.280 1286-30307/? E/QC2V4l2Codec: [avcE_5049] OPAQUE is not a supported pixel format! 2023-03-17 15:56:15.281 1286-1537/? E/QC2Interface: Failed to query parameters 2023-03-17 15:56:15.281 1580-30306/? W/Codec2Client: query -- param skipped: index = 1342179345. 2023-03-17 15:56:15.281 1580-30306/? W/Codec2Client: query -- param skipped: index = 2415921170. 2023-03-17 15:56:15.281 1580-30306/? W/Codec2Client: query -- param skipped: index = 1610614798. 2023-03-17 15:56:15.281 1286-1537/? E/QC2Interface: Failed to query parameters 2023-03-17 15:56:15.281 1286-4423/? E/QC2Interface: Failed to query parameters 2023-03-17 15:56:15.282 1286-1536/? E/FMQ: grantorIdx must be less than 3 2023-03-17 15:56:15.282 1286-1536/? E/FMQ: grantorIdx must be less than 3 2023-03-17 15:56:15.284 1286-2282/? E/QC2Interface: Few parameters failed to configure 2023-03-17 15:56:15.284 1580-30310/? W/ExtendedACodec: Failed to get extension for extradata parameter 2023-03-17 15:56:15.285 1580-30304/? W/ResourceManagerService: Ignoring request to add new resource entry with value <= 0 2023-03-17 15:56:15.313 1580-30302/? E/Utils: csd0 too small 2023-03-17 15:56:15.313 1580-30302/? E/ExtendedUtils: csd0 too small 2023-03-17 15:56:15.322 1889-13821/? W/DisplayPowerController[79]: Screen brightness nits configuration is unavailable; falling back 2023-03-17 15:56:15.326 1889-1987/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 1920, modeId 79, defaultModeId 79, supportedModes [{id=79, width=1080, height=1920, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 15:56:15.363 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 1920, modeId 79, defaultModeId 79, supportedModes [{id=79, width=1080, height=1920, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 15:56:15.364 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 1920, modeId 79, defaultModeId 79, supportedModes [{id=79, width=1080, height=1920, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColor ```
HBiSoft commented 1 year ago

Please see the updated comment above: Video Encoder: H264

enoiu commented 1 year ago

I set the updated comment settings.

But, it was not worked properly as well.

logcat ```2023-03-17 16:40:09.715 8009-8009/? E/EXAMPLE: THIS IS AN EXAMPLE OF HOW TO USE THE (HBRecorderCodecInfo) TO GET CODEC INFO: 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: defaultVideoEncoder for (video/avc) -> c2.qti.avc.encoder 2023-03-17 16:40:09.715 8009-8009/? W/System.err: java.lang.IllegalArgumentException: unsupported size 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.media.MediaCodecInfo$VideoCapabilities.getSupportedFrameRatesFor(MediaCodecInfo.java:1803) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at com.hbisoft.hbrecorder.HBRecorderCodecInfo.getMaxSupportedFrameRate(HBRecorderCodecInfo.java:308) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at com.hbisoft.hbrecorderexample.MainActivity.onCreate(MainActivity.java:150) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.Activity.performCreate(Activity.java:8290) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.Activity.performCreate(Activity.java:8269) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1385) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3662) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3818) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2313) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.os.Looper.loopOnce(Looper.java:346) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.os.Looper.loop(Looper.java:475) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7954) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 2023-03-17 16:40:09.715 8009-8009/? W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942) 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: MaxSupportedFrameRate -> 0.0 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: MaxSupportedBitrate -> 60000000 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: isSizeAndFramerateSupported @ Width = 1080 Height = 2520 FPS = 30 -> false 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: isSizeSupported @ Width = 1080 Height = 2520 -> false 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Default Video Format = 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc.cq -> video/hevc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.mpeg4.encoder -> video/mp4v-es 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h264.encoder -> video/avc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.avc.encoder -> video/avc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.h263.encoder -> video/3gpp 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder -> video/hevc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.hevc -> video/hevc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.mpeg4.encoder -> video/mp4v-es 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.h263.encoder -> video/3gpp 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp9.encoder -> video/x-vnd.on2.vp9 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.hevc.encoder -> video/hevc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.avc.encoder -> video/avc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp9.encoder -> video/x-vnd.on2.vp9 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.android.vp8.encoder -> video/x-vnd.on2.vp8 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.google.vp8.encoder -> video/x-vnd.on2.vp8 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : OMX.qcom.video.encoder.avc -> video/avc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported VIDEO encoders and mime types : c2.qti.hevc.encoder.cq -> video/hevc 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.opus.encoder -> audio/opus 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrnb.encoder -> audio/3gpp 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.flac.encoder -> audio/flac 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrnb.encoder -> audio/3gpp 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.amrwb.encoder -> audio/amr-wb 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.aac.encoder -> audio/mp4a-latm 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.aac.encoder -> audio/mp4a-latm 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : c2.android.amrwb.encoder -> audio/amr-wb 2023-03-17 16:40:09.715 8009-8009/? E/HBRecorderCodecInfo: Supported AUDIO encoders and mime types : OMX.google.flac.encoder -> audio/flac 2023-03-17 16:40:09.716 8009-8009/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_2_TS 2023-03-17 16:40:09.716 8009-8009/? E/HBRecorderCodecInfo: Available Video Formats : MPEG_4 2023-03-17 16:40:09.716 8009-8009/? E/HBRecorderCodecInfo: Available Video Formats : THREE_GPP 2023-03-17 16:40:09.716 8009-8009/? E/HBRecorderCodecInfo: Available Video Formats : WEBM 2023-03-17 16:40:09.803 8009-8027/? W/Parcel: Expecting binder but got null! 2023-03-17 16:40:09.861 7390-7390/? W/TouchableRegionManager: onHeadsUpPinnedModeChanged 2023-03-17 16:40:09.864 7390-7390/? W/NotificationEntryMgr: While running New Pipeline: updateNotifications(reason=onHeadsUpStateChanged) 2023-03-17 16:40:10.148 17135-18469/? E/ActivityThread: Failed to find provider info for com.sony.songpal.mdr.application.mdr_info 2023-03-17 16:40:10.198 1889-12785/? W/InputManager-JNI: Input channel object '6ecf4c2 Splash Screen com.hbisoft.hbrecorderexample (client)' was disposed without first being removed with the input manager! 2023-03-17 16:40:10.561 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:10.561 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:10.562 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 16:40:12.220 8009-8027/? W/Parcel: Expecting binder but got null! 2023-03-17 16:40:12.776 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 16:40:12.776 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 16:40:12.776 1889-6008/? W/ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (926092840) 2023-03-17 16:40:12.776 1279-1366/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async 2023-03-17 16:40:12.940 8009-8027/? W/Parcel: Expecting binder but got null! 2023-03-17 16:40:13.104 1889-2521/? W/InputManager-JNI: Input channel object 'c30d4c0 PopupWindow:d6887a3 (client)' was disposed without first being removed with the input manager! 2023-03-17 16:40:13.756 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:13.757 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 16:40:13.761 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:15.739 2757-3396/? W/IWlanNetworkService: 2383 > Response Processed 2023-03-17 16:40:15.790 1889-6008/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1222 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3085 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492 android.os.Binder.execTransactInternal:1280 2023-03-17 16:40:15.792 1889-6008/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1272 android.content.Context.sendBroadcastMultiplePermissions:2272 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3089 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492 2023-03-17 16:40:15.792 1889-6008/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1272 android.content.Context.sendBroadcastMultiplePermissions:2272 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3096 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492 2023-03-17 16:40:15.793 1889-6008/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1272 android.content.Context.sendBroadcastMultiplePermissions:2272 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3100 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492 2023-03-17 16:40:15.793 1562-7091/? W/ServiceManager: Permission failure: android.permission.CAMERA from uid=10300 pid=2919 2023-03-17 16:40:15.793 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c47b30b 7390:com.android.systemui/u0a214} (pid=7390, uid=10214) requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001) 2023-03-17 16:40:15.794 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c47b30b 7390:com.android.systemui/u0a214} (pid=7390, uid=10214) requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001) 2023-03-17 16:40:15.794 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001) 2023-03-17 16:40:15.794 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to jp.co.nttdocomo.carriermail/jp.co.nttdocomo.mailcore.comm.NetworkStateMonitor requires android.permission.READ_PHONE_STATE due to sender android (uid 1001) 2023-03-17 16:40:15.796 1889-1993/? W/BroadcastQueue: Appop Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c47b30b 7390:com.android.systemui/u0a214} (pid=7390, uid=10214) excludes appop android:read_phone_state due to sender android (uid 1001) 2023-03-17 16:40:15.797 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001) 2023-03-17 16:40:15.797 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to jp.co.nttdocomo.carriermail/jp.co.nttdocomo.mailcore.comm.NetworkStateMonitor requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001) 2023-03-17 16:40:15.797 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001) 2023-03-17 16:40:15.797 1889-1993/? W/BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to jp.co.nttdocomo.carriermail/jp.co.nttdocomo.mailcore.comm.NetworkStateMonitor requires android.permission.READ_PHONE_STATE due to sender android (uid 1001) 2023-03-17 16:40:15.803 1562-7091/? W/ServiceManager: Permission failure: android.permission.CAMERA from uid=10300 pid=2919 2023-03-17 16:40:15.806 1562-7091/? W/ServiceManager: Permission failure: android.permission.CAMERA from uid=10300 pid=2919 2023-03-17 16:40:15.808 1562-7091/? W/ServiceManager: Permission failure: android.permission.CAMERA from uid=10300 pid=2919 2023-03-17 16:40:15.810 1562-7091/? W/ServiceManager: Permission failure: android.permission.CAMERA from uid=10300 pid=2919 2023-03-17 16:40:15.812 1562-7091/? W/ServiceManager: Permission failure: android.permission.CAMERA from uid=10300 pid=2919 2023-03-17 16:40:16.329 1889-6008/? W/InputManager-JNI: Input channel object '6c0f91c com.hbisoft.hbrecorderexample/com.hbisoft.hbrecorderexample.SettingsActivity (client)' was disposed without first being removed with the input manager! 2023-03-17 16:40:16.769 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:16.770 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:16.770 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 16:40:17.875 1889-6008/? W/ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (926016775) 2023-03-17 16:40:17.876 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 16:40:17.876 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 16:40:17.876 1279-1366/? E/ANDR-PERF-LM: MetaMeter: handleAsync() 166: AdaptLaunch Invalid Async 2023-03-17 16:40:17.955 7390-7416/? W/Parcel: Expecting binder but got null! 2023-03-17 16:40:18.636 1889-3037/? W/InputManager-JNI: Input channel object 'af7499d Sys2017:com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity (client)' was disposed without first being removed with the input manager! 2023-03-17 16:40:18.696 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 16:40:18.697 1279-1366/? W/ANDR-PERF-LM: MetaMeter: handlePrimaryAsync() 118: AdaptLaunch MetaMeter. No MeterMgr Available to handle this Primary Async. !!!! 2023-03-17 16:40:18.721 4161-8103/? W/MediaProvider: isAppCloneUserPair for user 0: false 2023-03-17 16:40:18.753 1580-26415/? W/StagefrightRecorder: stop while neither recording nor paused 2023-03-17 16:40:18.780 1326-24419/? W/APM_AudioPolicyManager: getInputForDevice could not find profile for device AUDIO_DEVICE_IN_BUILTIN_MIC, @:bottom, sampling rate 44100, format 0x4000002, channel mask 0x10, flags 0x80 2023-03-17 16:40:18.780 1326-24419/? E/AudioFlinger: createRecord() getInputForAttr return error -38 2023-03-17 16:40:18.780 1286-4423/? W/QC2Comp: mismatched libqcodec2_platform.so Actual: Sun Jul 31 19:06:10 2022 -0700 vs Expected: Fri Apr 8 17:49:41 2022 +0530 2023-03-17 16:40:18.781 1580-26415/? E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -38 2023-03-17 16:40:18.781 1580-26415/? E/CompressAACAudioSource: set: failed to create AudioRecord 2023-03-17 16:40:18.782 1580-26415/? E/ExtendedSFRecorder: compress aac audio source init failed 2023-03-17 16:40:18.782 1580-26415/? W/StagefrightRecorder: setupMPEG4orWEBMRecording: unable to create compress recording 2023-03-17 16:40:18.782 1580-26415/? W/StagefrightRecorder: Intended audio encoding bit rate (128000) is too large and will be set to (96000) 2023-03-17 16:40:18.783 1580-26415/? E/ExtendedUtils: HDR key not found 2023-03-17 16:40:18.783 1580-26415/? E/ExtendedUtils: HDR Channel count not found 2023-03-17 16:40:18.783 1580-26415/? E/ExtendedUtils: HDR Sampling rate not found 2023-03-17 16:40:18.783 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 16:40:18.783 1286-4423/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 16:40:18.784 1286-4423/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 16:40:18.791 1286-1537/? E/QC2Interface: Failed to query parameters 2023-03-17 16:40:18.802 1158-28228/? W/EffectZnr: Znr_configure: Unsupported format 00000005 2023-03-17 16:40:18.802 1158-28228/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 16:40:18.802 1158-28228/? W/EffectHAL: Effect 0xedd31130 command SET_CONFIG returned status: Invalid argument 2023-03-17 16:40:18.802 1158-28228/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 16:40:18.802 1158-28228/? W/EffectHAL: Effect 0xedd31130 command SET_CONFIG returned status: Invalid argument 2023-03-17 16:40:18.802 1326-24419/? E/AudioFlinger::EffectModule: configure failed -22 with int16_t (as well as float) 2023-03-17 16:40:18.802 1158-28228/? W/EffectZnr: Znr_configure: Unsupported format 00000005 2023-03-17 16:40:18.803 1158-28228/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 16:40:18.803 1158-28228/? W/EffectHAL: Effect 0xedd31130 command SET_CONFIG returned status: Invalid argument 2023-03-17 16:40:18.803 1158-1256/? W/EffectZnr: Znr_configure: Unsupported channel configuration 00000010 2023-03-17 16:40:18.803 1158-1256/? W/EffectHAL: Effect 0xedd31130 command SET_CONFIG returned status: Invalid argument 2023-03-17 16:40:18.803 1326-24419/? E/AudioFlinger::EffectModule: configure failed -22 with int16_t (as well as float) 2023-03-17 16:40:18.809 1286-1537/? E/QC2Interface: Failed to query parameters 2023-03-17 16:40:18.810 1580-8077/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 16:40:18.812 1580-26415/? W/AudioRecord: createRecord_l(10906): Server adjusted notificationFrames from 1024 to 896 for frameCount 2688 2023-03-17 16:40:18.813 1326-5920/? W/AudioFlinger: acquireAudioSessionId() unknown client 8009 for session 34329 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: HDR key not found 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: HDR orientation key not found 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: HDR inverted key not found 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: HDR facing key not found 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: Wnr key not found 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: Ans key not found 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: HDR audio Channel count not found 2023-03-17 16:40:18.815 1580-26415/? E/ExtendedAudioSource: HDR audio Sampling rate not found 2023-03-17 16:40:18.820 1286-1537/? E/StandardCaps: requested height is not supported 2023-03-17 16:40:18.820 1286-1537/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 16:40:18.820 1286-1537/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 16:40:18.820 1286-1537/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 16:40:18.820 1286-1537/? E/QC2Interface: Few parameters failed to configure 2023-03-17 16:40:18.821 1580-8077/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 16:40:18.821 1580-8077/? W/CCodec: failed to configure c2 params 2023-03-17 16:40:18.822 1580-8075/? E/MediaCodec: Codec reported err 0xffffffea/BAD_VALUE, actionCode 0, while in state 3/CONFIGURING 2023-03-17 16:40:18.822 1580-8074/? E/MediaCodec: configure failed with err 0xffffffea, resetting... 2023-03-17 16:40:18.830 1286-1537/? E/ANDR-PERF-TP: ~PerfThreadPool() 391: ~PerfThreadPool 2023-03-17 16:40:18.832 1598-1598/? E/android.hardware.media.omx@1.0-service: component init: role = OMX.qcom.audio.encoder.aac 2023-03-17 16:40:18.834 1286-1537/? W/QC2Comp: mismatched libqcodec2_platform.so Actual: Sun Jul 31 19:06:10 2022 -0700 vs Expected: Fri Apr 8 17:49:41 2022 +0530 2023-03-17 16:40:18.837 1286-1537/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 16:40:18.837 1286-1537/? E/VendorCaps: Failed to read platform default max picture width 2023-03-17 16:40:18.837 1286-1537/? W/StandardCaps: Preconditions for b-frame didn't meet. Disabling b-frame! 2023-03-17 16:40:18.842 1286-1536/? E/QC2Interface: Failed to query parameters 2023-03-17 16:40:18.857 1286-1536/? E/QC2Interface: Failed to query parameters 2023-03-17 16:40:18.859 1580-8077/? W/ColorUtils: expected specified color aspects (0:0:255:255) 2023-03-17 16:40:18.864 1286-1536/? E/ANDR-PERF-TP: ~PerfThreadPool() 391: ~PerfThreadPool 2023-03-17 16:40:18.873 1598-1598/? W/android.hardware.media.omx@1.0-service: Failed to obtain quirks for omx component 'OMX.qcom.audio.encoder.aac' from XML files 2023-03-17 16:40:18.874 1580-26415/? W/MediaCodec: shapeMediaFormat: no codecinfo 2023-03-17 16:40:18.875 1598-1598/? E/OMXNodeInstance: setConfig(0xe74824a4:qcom.encoder.aac, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 16:40:18.875 1598-1598/? E/OMXNodeInstance: getExtensionIndex(0xe74824a4:qcom.encoder.aac, OMX.google.android.index.storeMetaDataInBuffers) ERROR: BadParameter(0x80001005) 2023-03-17 16:40:18.876 1598-1598/? E/OMXNodeInstance: setConfig(0xe74824a4:qcom.encoder.aac, ConfigPriority(0x6f800002)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 16:40:18.877 1598-1598/? E/OMXNodeInstance: getConfig(0xe74824a4:qcom.encoder.aac, ConfigAndroidVendorExtension(0x6f100004)) ERROR: UnsupportedIndex(0x8000101a) 2023-03-17 16:40:18.877 1580-8081/? W/ExtendedACodec: Failed to get extension for extradata parameter 2023-03-17 16:40:18.886 1580-8085/? W/ColorUtils: expected specified color aspects (0:0:0:0) 2023-03-17 16:40:18.890 1580-8085/? W/ColorUtils: expected specified color aspects (0:0:0:0) 2023-03-17 16:40:18.892 1580-8085/? W/ColorUtils: expected specified color aspects (0:0:0:0) 2023-03-17 16:40:18.894 1279-4033/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:18.894 1279-4033/? E/ANDR-PERF-LM: AdaptiveLaunch: writeToDataBase() 64: Meter aborted or could not get meter data for this run 2023-03-17 16:40:18.899 1580-8085/? W/Codec2Client: query -- param skipped: index = 1342179345. 2023-03-17 16:40:18.899 1580-8085/? W/Codec2Client: query -- param skipped: index = 2415921170. 2023-03-17 16:40:18.902 1580-8075/? W/ResourceManagerService: Ignoring request to add new resource entry with value <= 0 2023-03-17 16:40:18.903 1279-4032/? E/ANDR-PERF-LM: VmRssMeter:: start() 453: Could not find pid, can not collect vmrss data 2023-03-17 16:40:18.920 1580-8073/? E/Utils: csd0 too small 2023-03-17 16:40:18.920 1580-8073/? E/ExtendedUtils: csd0 too small 2023-03-17 16:40:18.944 1889-3037/? W/DisplayPowerController[81]: Screen brightness nits configuration is unavailable; falling back 2023-03-17 16:40:18.960 1889-1889/? W/NotificationHistory: Attempted to add notif for locked/gone/disabled user 0 2023-03-17 16:40:18.982 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 81, defaultModeId 81, supportedModes [{id=81, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 16:40:18.983 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 81, defaultModeId 81, supportedModes [{id=81, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 16:40:18.986 1889-1984/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 81, defaultModeId 81, supportedModes [{id=81, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 16:40:18.988 7390-7390/? W/DisplayController: Skipping Display Configuration change on non-added display. 2023-03-17 16:40:19.004 1889-1987/? W/DisplayManagerService: Display DisplayDeviceInfo{"ScreenRecordService": uniqueId="virtual:com.hbisoft.hbrecorderexample,10473,ScreenRecordService,0", 1080 x 2520, modeId 81, defaultModeId 81, supportedModes [{id=81, width=1080, height=2520, fps=60.0, alternativeRefreshRates=[]}], colorMode 0, supportedColorModes [0], hdrCapabilities null, allmSupported false, gameContentTypeSupported false, density 420, 420.0 x 420.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, deviceProductInfo null, state ON, owner com.hbisoft.hbrecorderexample (uid 10473), frameRateOverride , brightnessMinimum 0.0, brightnessMaximum 0.0, brightnessDefault 0.0, FLAG_PRIVATE, FLAG_PRESENTATION, installOrientation 0} does not support input device matching. 2023-03-17 16:40:19.005 1158-28228/? E/FMQ: grantorIdx must be less than 3 2023-03-17 16:40:19.005 1158-28228/? E/FMQ: grantorIdx must be less than 3 2023-03-17 16:40:19.007 1158-8110/? W/msm8974_platform: platform_get_backend_index:napb: Invalid device - 0 2023-03-17 16:40:19.011 1889-3037/? W/InputManager-JNI: Input channel object 'fa70f55 com.android.systemui/com.android.systemui.media.MediaProjectionPermissionActivity (client)' was disposed without first being removed with the input manager! 2023-03-17 16:40:19.015 1889-6005/? W/WindowManager: Failed looking up window session=Session{8fd5088 7390:u0a10214} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5927 com.android.server.wm.Session.setOnBackInvokedCallbackInfo:943 android.view.IWindowSession$Stub.onTransact:1200 2023-03-17 16:40:19.015 1889-6005/? E/WindowManager: setOnBackInvokedCallback(): No window state for package:com.android.systemui 2023-03-17 16:40:19.023 8009-8009/? E/HBRecorder: HBRecorderOnStart called 2023-03-17 16:40:19.135 1632-8086/? E/C2SoftAvcEnc: Unable to set air params = 0x1ad 2023-03-17 16:40:19.566 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.566 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.568 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.568 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.625 32530-8136/? W/System: ClassLoader referenced unknown path: 2023-03-17 16:40:19.646 32530-8136/? W/id.gms.unstable: ClassLoaderContext type mismatch. expected=PCL, found=DLC (PCL[] | DLC[];PCL[/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk*1805764897:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes2.dex*1169197149:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes3.dex*1697849002:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes4.dex*4126444283:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes5.dex*3620061383:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes6.dex*2364695073:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes7.dex*2310730686:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes8.dex*2308790839:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes9.dex*1513171769:/data/app/~~hmd8OFgyD-X446HnCtg9_g==/com.google.android.gms-fidpOU9zuN0TOrQXl2PVBg==/base.apk!classes10.dex*1960650018]{PCL[/system/framework/org.apache.http.legacy.jar*3145838628]#PCL[/system/framework/com.android.media.remotedisplay.jar*3743104115]#PCL[/system/framework/com.android.location.provider.jar*3175360615]}) 2023-03-17 16:40:19.671 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.671 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.772 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.772 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.873 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.873 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 842 pgskip_deltas[PGSKIP_IDX(i++)]: 842 2023-03-17 16:40:19.973 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:19.973 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.074 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.074 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.087 1158-13902/? E/sony_media_vib: sony_media_vib_set_pause: Could not get ctl for mixer cmd - A2H Mute Switch 2023-03-17 16:40:20.173 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.173 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.273 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.273 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.374 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.374 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.468 20570-24157/? E/WakeLock: DG:service ** IS FORCE-RELEASED ON TIMEOUT ** 2023-03-17 16:40:20.475 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.475 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.575 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.575 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:20.635 611-623/? E/QC-time-services: Receive Passed == base = 13, unit = 1, operation = 2, result = 0 2023-03-17 16:40:20.635 962-977/? E/QC-time-services: Daemon: Time-services: Waiting to acceptconnection 2023-03-17 16:40:20.636 962-977/? E/QC-time-services: Daemon: Time-services: Waiting to acceptconnection 2023-03-17 16:40:21.078 32530-8136/? W/Adreno-AppProfiles: Could not find QSPM HAL service. Skipping adreno profile processing. 2023-03-17 16:40:21.133 32530-8136/? W/Adreno-AppProfiles: Could not find QSPM HAL service. Skipping adreno profile processing. 2023-03-17 16:40:23.155 1580-26415/? W/GraphicBufferSource: released unpopulated slots: [18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63] 2023-03-17 16:40:23.208 1598-1598/? E/android.hardware.media.omx@1.0-service: component_deinit:COMPONENT DEINIT... 2023-03-17 16:40:23.208 1598-1598/? E/android.hardware.media.omx@1.0-service: AAC Object getting destroyed comp-deinit=1 2023-03-17 16:40:23.208 1598-1598/? E/android.hardware.media.omx@1.0-service: OMX AAC component destroyed 2023-03-17 16:40:23.620 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:23.620 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:23.636 1580-17900/? E/MPEG4Writer: Stop() called but track is not started or stopped 2023-03-17 16:40:23.636 1580-17900/? E/MPEG4Writer: Stop() called but track is not started or stopped 2023-03-17 16:40:23.638 1326-5920/? W/AudioFlinger: session id 34329 not found for pid 8009 2023-03-17 16:40:23.638 1580-26415/? W/StagefrightRecorder: stop while neither recording nor paused 2023-03-17 16:40:23.639 1889-3053/? W/MediaProjectionManagerService: Attempted to stop inactive MediaProjection (uid=10473, pid=8009) 2023-03-17 16:40:23.691 4161-8103/? W/MediaProvider: Ignoring mutation of date_expires from com.hbisoft.hbrecorderexample 2023-03-17 16:40:23.721 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:23.721 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:23.730 7390-7416/? W/Parcel: Expecting binder but got null! 2023-03-17 16:40:23.800 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.808 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.808 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.808 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.809 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.809 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.812 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.813 1889-1919/? W/System: A resource failed to call release. 2023-03-17 16:40:23.814 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.814 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.815 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.817 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.818 1889-1919/? W/System: A resource failed to call release. 2023-03-17 16:40:23.818 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.823 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.823 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.823 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:23.823 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:23.824 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.824 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.824 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.825 1889-1919/? W/System: A resource failed to call HardwareBuffer.close. 2023-03-17 16:40:23.826 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.826 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.827 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.827 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.827 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.827 1889-1919/? W/System: A resource failed to call close. 2023-03-17 16:40:23.828 1889-1919/? W/System: A resource failed to call release. 2023-03-17 16:40:23.922 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:23.922 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.023 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.023 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.122 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.123 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.204 20608-8117/? W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed 2023-03-17 16:40:24.207 20608-8117/? W/Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@230914044@23.09.14 (190400-515650844):2) 2023-03-17 16:40:24.207 20608-8117/? W/Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@230914044@23.09.14 (190400-515650844):0) 2023-03-17 16:40:24.223 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.223 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.293 20608-8117/? W/Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed 2023-03-17 16:40:24.293 20608-8117/? W/Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@230914044@23.09.14 (190400-515650844):2) 2023-03-17 16:40:24.293 20608-8117/? W/Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@230914044@23.09.14 (190400-515650844):0) 2023-03-17 16:40:24.525 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:24.525 572-572/? E/lowmemorykiller: calc_zone_watermarks pgskip_deltas_val: 0 pgskip_deltas[PGSKIP_IDX(i++)]: 0 2023-03-17 16:40:27.801 1889-3037/? W/InputManager-JNI: Input channel object 'b4d58e3 Toast (client)' was disposed without first being removed with the input manager! 2023-03-17 16:40:27.821 1889-6008/? W/NotificationService: Toast already killed. pkg=com.hbisoft.hbrecorderexample token=android.os.BinderProxy@2f0335 ```
HBiSoft commented 1 year ago

But, it was not worked properly as well.

Please elaborate

When I tried to record at default resolution (1080x2520) with the demo app, it recorded a black screen

Can you send me a video so that I can see what profile the video is recorded in

enoiu commented 1 year ago

The video played fine on my PC.

Video (updated comment settings) https://user-images.githubusercontent.com/69666654/225871377-0800f87f-39dc-44d4-b82f-89759215504b.mp4

On my smartphone, when the above video is opened in Google Photos, it is displayed like the image below.

Image ![Screenshot_20230317-184839](https://user-images.githubusercontent.com/69666654/225871816-b7c73eaf-62eb-4668-b507-e9fbfa45a969.png)

When I open this video in the Files app (Files by Google), the sequence bar at the bottom moves, but I get a black screen.

HBiSoft commented 1 year ago

Please send me a video that's working as well. Using 1080x1920 resolution

enoiu commented 1 year ago
Video (1080x1920) https://user-images.githubusercontent.com/69666654/226068570-9df18582-0034-4d98-8cae-f9697c447ec3.mp4
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed if no further activity occurs within the next 3 days. Thank you for your contributions.

HBiSoft commented 1 year ago

@enoiu The issue is definitely with the device selecting an encoder that does not support encoding and playing video @ your screen size.

You mentioned that you tried changing the encoder, so I do not know what to tell you. I di bot have that device so I can't test from my side.

Just a note, this is not an issue with the library, but with Android/your device or wrong settings provided to the encoder.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed if no further activity occurs within the next 3 days. Thank you for your contributions.