wang-bin / mdk-sdk

multimedia development kit. download:
https://sourceforge.net/projects/mdk-sdk/files/
287 stars 32 forks source link

qt安卓使用硬解时出现问题 #34

Open ken626014896 opened 3 years ago

ken626014896 commented 3 years ago

D pushclient: mdk log opening video decoder: AMediaCodec:java=1:copy=0:surface=1:async=1:cache_output=16... D pushclient: mdk log CodecForMimeType: video/avc, profile: 2, level: -1 D pushclient: mdk log JMI ERROR: java vm is null D pushclient: mdk log JMI ERROR: java vm is null D pushclient: mdk log ERROR! failed to setup decoder: video

这个是打印信息,请问java vm is null是什么意思

我的是qt5.12 ndk是r21

wang-bin commented 3 years ago

你需要main里调用javaVM(void)或者SetGlobalOption("jvm", void),值为QAndroidJniEnvironment::javaVM()。一般的android app是在JNI_OnLoad调用。

ken626014896 commented 3 years ago

好的谢谢,现在可以硬解了,但是好像一卡一卡的,还没cpu流畅,手机本地播放器倒是很流畅,请问这个是为什么,缓存吗,感觉加了也没影响

ken626014896 commented 3 years ago

96cc4860a9c9520097b562ff82f3bac

wang-bin commented 3 years ago

可能是qt的paintgl调得太慢了。你可以对比下这个例子里的效果 https://github.com/wang-bin/mdk-android

INotfound commented 3 years ago

我也遇到了,Android TV上视频很慢,声音是正常的,感觉像是渲染上慢了

ken626014896 commented 2 years ago

请问如果要使用qt来写,不使用原生java开发,要怎么解决这个渲染的问题

wang-bin commented 2 years ago

我加了测量渲染一帧gpu、cpu耗时的代码到时候可以看下哪里出的问题,不过还没加接口

wang-bin commented 2 years ago

用最新sdk,在JNI_OnLoad加上

    setLogHandler([](LogLevel v, const char* msg){
        if (v < LogLevel::Info)
            __android_log_print(ANDROID_LOG_WARN, "MDK-JNI", "%s", msg);
        else
            __android_log_print(ANDROID_LOG_DEBUG, "MDK-JNI", "%s", msg);
    });
    SetGlobalOption("profiler.gpu", 1);
    SetGlobalOption("logLevel", "all");

播放时会在logcat里输出这样的log

>393 00:00:01.1/00:01:34 buffered 16950ms/137971KB 235101KB/s 13fps@1.00 diff |-293|>5ms update 36/92ms, draw 3/9ms gpu 1695/1713us

包含绘制帧率、调用间隔、一帧的cpu耗时、gpu耗时,看看有什么异常的。可以贴个完整的log

ken626014896 commented 2 years ago

D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 09:47:14.155 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >469 00:00:00.3/00:01:34 buffered 3795ms/34102KB 29KB/s 35fps@1.00 diff |-93|>5ms update 45/74ms, draw 19/90ms gpu 42966/70659us 11-02 09:47:14.258 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @5 11-02 09:47:14.489 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >709 00:00:00.6/00:01:34 buffered 3503ms/31951KB 23KB/s 29fps@1.00 diff |-41|>5ms update 42/74ms, draw 11/90ms gpu 33764/70659us 11-02 09:47:14.532 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @10 11-02 09:47:14.639 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1029 00:00:00.9/00:01:34 buffered 3797ms/38194KB 100409KB/s 25fps@1.00 diff |-69|>5ms update 44/74ms, draw 3/6ms gpu 31904/70659us 11-02 09:47:14.824 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @10 11-02 09:47:14.896 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1348 00:00:01.2/00:01:34 buffered 3878ms/37496KB 49KB/s 24fps@1.00 diff |-55|>5ms update 45/75ms, draw 3/6ms gpu 29122/29210us 11-02 09:47:15.138 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @7 11-02 09:47:15.298 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1588 00:00:01.5/00:01:34 buffered 3461ms/34798KB 23KB/s 25fps@1.00 diff |-3|<5ms update 46/79ms, draw 3/5ms gpu 29119/29195us 11-02 09:47:15.417 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @4 11-02 09:47:15.620 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1908 00:00:01.8/00:01:34 buffered 3925ms/39239KB 183208KB/s 23fps@1.00 diff |-72|>5ms update 45/83ms, draw 3/5ms gpu 29115/29195us 11-02 09:47:15.697 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @3 11-02 09:47:15.778 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @3 11-02 09:47:16.018 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2228 00:00:02.1/00:01:34 buffered 3795ms/39091KB 122KB/s 23fps@1.00 diff |-59|>5ms update 50/83ms, draw 3/6ms gpu 29114/29195us 11-02 09:47:16.021 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @3 11-02 09:47:16.256 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2548 00:00:02.4/00:01:34 buffered 3586ms/34830KB 23KB/s 22fps@1.00 diff |-87|>5ms update 52/83ms, draw 4/6ms gpu 30190/32028us 11-02 09:47:16.359 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 09:47:16.413 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @3 11-02 09:47:16.537 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 09:47:16.658 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2868 00:00:02.7/00:01:34 buffered 3968ms/39985KB 194162KB/s 23fps@1.00 diff |-73|>5ms update 56/100ms, draw 4/6ms gpu 31105/32051us 11-02 09:47:16.661 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 09:47:16.901 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3108 00:00:03.0/00:01:34 buffered 4003ms/39373KB 7500KB/s 24fps@1.00 diff |-21|>5ms update 55/100ms, draw 4/9ms gpu 32029/32098us 11-02 09:47:16.970 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 09:47:17.145 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3428 00:00:03.3/00:01:34 buffered 3712ms/37163KB 23KB/s 24fps@1.00 diff |-49|>5ms update 55/100ms, draw 4/9ms gpu 32031/32098us 11-02 09:47:17.222 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 09:47:17.379 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3670 00:00:03.6/00:01:34 buffered 3503ms/34447KB 30KB/s 25fps@1.00 diff |+1|<5ms update 46/72ms, draw 5/10ms gpu 32027/32047us 11-02 09:47:17.501 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3989 00:00:03.9/00:01:34 buffered 3946ms/40865KB 244641KB/s 23fps@1.00 diff |-68|>5ms update 45/72ms, draw 5/12ms gpu 31865/32047us 11-02 09:47:17.782 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @6 11-02 09:47:17.942 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4229 00:00:04.2/00:01:34 buffered 4010ms/38359KB 7500KB/s 25fps@1.00 diff |-16|>5ms update 47/76ms, draw 4/12ms gpu 30769/32047us 11-02 09:47:18.037 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @3 11-02 09:47:18.180 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4511 00:00:04.4/00:01:34 buffered 3712ms/36077KB 24KB/s 23fps@1.00 diff |-48|>5ms update 47/82ms, draw 4/12ms gpu 29853/32033us 11-02 09:47:18.338 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @10 11-02 09:47:18.386 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @6 11-02 09:47:18.520 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4788 00:00:04.7/00:01:34 buffered 3461ms/33912KB 23KB/s 22fps@1.00 diff |-74|>5ms update 52/85ms, draw 4/5ms gpu 29123/29388us 11-02 09:47:18.612 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @10 11-02 09:47:18.666 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5071 00:00:05.0/00:01:34 buffered 3861ms/37407KB 122926KB/s 23fps@1.00 diff |-24|>5ms update 52/90ms, draw 4/7ms gpu 31971/40521us 11-02 09:47:18.899 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @4 11-02 09:47:19.064 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5348 00:00:05.3/00:01:34 buffered 3837ms/38218KB 54KB/s 26fps@1.00 diff |-9|>5ms update 50/90ms, draw 4/7ms gpu 32194/40521us 11-02 09:47:19.187 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5668 00:00:05.6/00:01:34 buffered 3670ms/35723KB 23KB/s 24fps@1.00 diff |-37|>5ms update 40/81ms, draw 3/7ms gpu 31466/40521us 11-02 09:47:19.463 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @3 11-02 09:47:19.539 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5922 00:00:05.9/00:01:34 buffered 3420ms/33419KB 23KB/s 23fps@1.00 diff |+13|>5ms update 40/70ms, draw 4/7ms gpu 29109/29188us 11-02 09:47:19.773 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @5 11-02 09:47:19.941 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >6229 00:00:06.2/00:01:34 buffered 4010ms/37503KB 7500KB/s 22fps@1.00 diff |-14|>5ms update 49/87ms, draw 4/7ms gpu 29105/29113us 11-02 09:47:20.065 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >6511 00:00:06.5/00:01:34 buffered 3712ms/35197KB 24KB/s 23fps@1.00 diff |-4|<5ms update 47/87ms, draw 4/6ms gpu 29110/29192us 11-02 09:47:20.337 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >6798 00:00:06.7/00:01:34 buffered 3503ms/32575KB 30KB/s 24fps@1.00 diff |+9|>5ms update 39/68ms, draw 4/9ms gpu 29110/29192us 11-02 09:47:20.636 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >7071 00:00:07.0/00:01:34 buffered 3882ms/36798KB 57769KB/s 23fps@1.00 diff |-22|>5ms update 40/79ms, draw 4/9ms gpu 29106/29114us 11-02 09:47:20.902 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @9 11-02 09:47:20.980 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >7348 00:00:07.3/00:01:34 buffered 3837ms/33646KB 55KB/s 24fps@1.00 diff |-7|>5ms update 45/82ms, draw 4/9ms gpu 29107/29117us 11-02 09:47:21.163 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @5 11-02 09:47:21.296 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >7590 00:00:07.5/00:01:34 buffered 3628ms/31789KB 23KB/s 24fps@1.00 diff |+2|<5ms update 44/82ms, draw 4/7ms gpu 30203/32053us 11-02 09:47:21.425 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >7908 00:00:07.8/00:01:34 buffered 3586ms/33771KB 14778KB/s 23fps@1.00 diff |-66|>5ms update 44/82ms, draw 4/7ms gpu 30411/32114us 11-02 09:47:21.706 24625 24682 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >8889 00:00:08.9/00:01:34 buffered 2986ms/36844KB 226430KB/s 23fps@1.00 11-02 09:47:22.736 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >9188 00:00:09.2/00:01:34 buffered 2687ms/36837KB 226430KB/s 23fps@1.00 11-02 09:47:22.985 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >9444 00:00:09.5/00:01:34 buffered 2431ms/36831KB 226430KB/s 23fps@1.00 11-02 09:47:23.294 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >9721 00:00:09.7/00:01:34 buffered 2154ms/36824KB 226430KB/s 23fps@1.00 11-02 09:47:23.545 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >9999 00:00:10.0/00:01:34 buffered 1877ms/36818KB 226430KB/s 23fps@1.00 11-02 09:47:23.855 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >10297 00:00:10.3/00:01:34 buffered 1578ms/36811KB 226430KB/s 23fps@1.00 11-02 09:47:24.107 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >10553 00:00:10.6/00:01:34 buffered 1322ms/36805KB 226430KB/s 23fps@1.00 11-02 09:47:24.415 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >10852 00:00:10.9/00:01:34 buffered 1023ms/36798KB 226430KB/s 23fps@1.00 11-02 09:47:24.666 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >11129 00:00:11.2/00:01:34 buffered 746ms/36791KB 226430KB/s 23fps@1.00 11-02 09:47:24.976 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >11407 00:00:11.4/00:01:34 buffered 469ms/36785KB 226430KB/s 23fps@1.00 11-02 09:47:25.228 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >11684 00:00:11.7/00:01:34 buffered 191ms/36778KB 226430KB/s 23fps@1.00 11-02 09:47:25.535 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI buffering progress 0% 11-02 09:47:25.697 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c4a40 FrameReader::update MediaStatus 0X124=>0X114 11-02 09:47:25.697 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ++++++++++++BUFFERING START++++++++++++ 11-02 09:47:25.697 24625 24683 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D : PlayerBase::stop() from IPlayer D AudioTrack: stop() called with 578560 frames delivered

image 这个视频解着解着就卡住了,以上是视频的参数

wang-bin commented 2 years ago

谢谢你的log,从log看渲染一帧gpu耗时特别长,解码出帧速度比渲染快,渲染器里缓存的帧来不急渲染就被覆盖了,比如

D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @5

可以尝试增加缓存的帧数看看这种log会不会减少 SetGlobalOption("videoout.buffer_frames", 16);,默认是4

这个视频解着解着就卡住了,以上是视频的参数

解码器参数是怎么设的?已知的是java=1会导致一些h264解不出正确画面,原因还不清楚,可以用java=0。

方便的话完整的log上传一份。可以的话视频也给一个我看看能否复现。

ken626014896 commented 2 years ago

I zygote : Late-enabling -Xcheck:jni W ResourceType: No package identifier when getting name for resource number 0x00000000 W ResourceType: No package identifier when getting name for resource number 0x00000000 E InterceptorFactory: NameNotFoundException E InterceptorFactory: android.content.pm.PackageManager$NameNotFoundException: com.miui.contentcatcher E InterceptorFactory: at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:174) E InterceptorFactory: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:145) E InterceptorFactory: at miui.contentcatcher.InterceptorFactory.getInterceptorPackageInfo(InterceptorFactory.java:80) E InterceptorFactory: at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99) E InterceptorFactory: at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41) E InterceptorFactory: at miui.contentcatcher.InterceptorProxy$H.handleMessage(InterceptorProxy.java:323) E InterceptorFactory: at android.os.Handler.dispatchMessage(Handler.java:106) E InterceptorFactory: at android.os.Looper.loop(Looper.java:173) E InterceptorFactory: at android.os.HandlerThread.run(HandlerThread.java:65) W System : ClassLoader referenced unknown path: D AccessibilityManager: AccessibilityManager status: mPackageName = org.qtproject.example.testMDK, mOptimizeEnabled = false, mIsEnabled = false, mIsUiAutomationEnabled = false, mIsInterestedPackage =false D Qt JAVA : Class org.qtproject.qt5.android.multimedia.QtMultimediaUtils does not implement setActivity method I QtCore : Start I Qt : qt started I MDK : MDK 0.17.0 (git 52a28d0) - Multimedia Development Kit. Copyright (c) 2016-2022 WangBin(QtAV author) I MDK : Build for: Android19 ARMv7; Clang14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)GCC4.2.1; libc++11000; 14:19:39 Oct 30 2022 D OpenGLRenderer: HWUI GL Pipeline I Adreno : QUALCOMM build : dcd4b96, I568c71768a I Adreno : Build Date : 04/30/18 I Adreno : OpenGL ES Shader Compiler Version: EV031.22.00.01_06 I Adreno : Local Branch : I Adreno : Remote Branch : quic/gfx-adreno.lnx.1.0.r33-rel I Adreno : Remote Branch : NONE I Adreno : Reconstruct Branch : NOTHING I Adreno : PFP: 0x005ff087, ME: 0x005ff063 I zygote : android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 I OpenGLRenderer: Initialized EGL, version 1.4 D OpenGLRenderer: Swap behavior 2 D testMdk : testMDK W libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) W libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MDK 0.17.0 (git 52a28d0) - Multimedia Development Kit. Copyright (c) 2016-2022 WangBin(QtAV author) D testMdk : Build for: Android19 ARMv7; Clang14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)GCC4.2.1; libc++11000; 14:19:39 Oct 30 2022 11-02 10:30:28.977 26836 26854 D testMdk : 11-02 10:30:28.977 26836 26854 D testMdk : D testMdk : qml: 1111111111 D testMdk : qml: file:///storage/emulated/0/Download/data/323.mp4 D testMdk : qml: /storage/emulated/0/Download/data/323.mp4 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe62c47c0 state: 0=>0=>0, 0 11-02 10:30:33.511 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default0xe62c47c0 virtual void mdk::FrameReader::stop(), current state: 0 11-02 10:30:33.511 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe62c47c0 state: 0=>0=>0, 0 11-02 10:30:33.511 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default0xe62c47c0 virtual void mdk::FrameReader::stop(), current state: 0 11-02 10:30:33.511 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe1598100 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@733 requested state 0=>1, current state 0. status: 0 11-02 10:30:33.511 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c47c0 FrameReader.start(0, ...) 11-02 10:30:33.511 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c47c0 FrameReader::update MediaStatus 0=>0X2 11-02 10:30:33.512 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe62c47c0 state: 0=>0=>1, 0 11-02 10:30:33.512 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe62c47c0 state: 0=>1=>1, 0 11-02 10:30:33.512 26836 26854 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI start frame reader thread: -800065168 11-02 10:30:33.513 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI try to load av module: /data/app/org.qtproject.example.testMDK-SZQeYtLTYL8ZvVtVx5zIEg==/lib/arm/libffmpeg.so 11-02 10:30:33.513 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avformat runtime version: 59.34.101 (build: 59.34.101), license: LGPL version 2.1 or later 11-02 10:30:33.516 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avformat runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-mediacodec --enable-jni --disable-v4l2-m2m --disable-vulkan --disable-indevs --enable-indev=android_camera --disable-outdevs --disable-postproc --enable-thumb --enable-neon --ar=llvm-ar --ranlib=llvm-ranlib --nm=llvm-nm --strip=llvm-strip --target-os=android --arch=arm --enable-cross-compile --cross-prefix=arm-linux-androideabi- --pkg-config=pkg D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -config --cc=clang --extra-ldexeflags='-Wl,--gc-sections -Wl,-z,nocopyreloc -pie -fPIE -lunwind' --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -ffast-math -fstrict-aliasing -march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfpv3-d16 --target=armv7a-linux-androideabi19' --extra-ldflags='-Wl,--gc-sections -Wl,-z,relro -Wl,-z,now --sysroot /usr/local/lib/android/sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64//sysroot D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -fuse-ld=lld -rtlib=compiler-rt --target=armv7a-linux-androideabi19' --enable-small --disable-outdevs --disable-filters --enable-filter='null,afade,fifo,format,resample,aeval,allrgb,allyuv,atempo,pan,bars,color,key,crop,draw,eq,framerate,_qsv,_vaapi,v4l2,hw,scale,volume,test' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --enable-wolfssl --disable-avdevice --enable-decoder='sub,movtext,web,aac,ac3,alac,ape,ass,av1,cc_dec,cook,dca,dnxhd,eac3,exr,truehd,f D testMdk : ANDROID_LOG_DEBUG, MDK-JNI f,yuv,flv,flac,gif,h26[3-4],hevc,hap,mp[1-3],prores,peg,mlp,mpl2,nellymoser,opus,pcm,qtrle,png,tiff,rawvideo,sami,srt,ssa,v210,vc1,vorbis,vp[6-9],wm,wrapped_avframe' --enable-demuxer='sub,ac3,ac,peg,web,ape,ass,avi,concat,dnxhd,dts,dash,flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm,rawvideo,rtp,spdif,srt,vc1,v210,wav,pipe,image2' --enable-encoder='aac,dnxhd,exr,ff,yuv,gif,h26[3-4],hevc,mjpeg,png,opus,pcm,prores,rawvideo,spdif,speedhq,jpeg,png,tiff,vp[8-9], D testMdk : ANDROID_LOG_DEBUG, MDK-JNI wrapped_avframe' --enable-muxer='jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og,pcm,rawvideo,spdif,pipe,segment,webm,wav' 11-02 10:30:33.517 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI avformat_version0xd2113459 11-02 10:30:33.517 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Trying MediaIO FFmpeg for protocol "" 11-02 10:30:33.517 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xccf993c0 open url: /storage/emulated/0/Download/data/323.mp4 11-02 10:30:33.517 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xccf993c0 url opened 11-02 10:30:33.518 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c47c0 FrameReader::update MediaStatus 0X2=>0X2 11-02 10:30:33.518 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avcodec runtime version: 59.51.100 (build: 59.51.100), license: LGPL version 2.1 or later 11-02 10:30:33.521 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI av_packet_alloc0xd1f98fbf 11-02 10:30:33.521 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avutil runtime version: 57.39.101 (build: 57.39.101), license: LGPL version 2.1 or later 11-02 10:30:33.524 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI av_dict_copy0xd2128a65 11-02 10:30:33.524 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI before avformat_open_input. io: 0xccf993c0(FFmpeg/pb: 0xccfc2560, url: /storage/emulated/0/Download/data/323.mp4 11-02 10:30:33.524 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI FFmpeg/Libav runtime git-2022-10-29-01b9abd-avbuild 11-02 10:30:33.526 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI after avformat_open_input. pb: 0xccfc2560, iformat: 0xd21bfe28 context flags: 2097280, input format flags: 67141640 11-02 10:30:33.535 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 11-02 10:30:33.547 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI unsupported ffmpeg sw pixel formats: uyyvyy411 x2rgb10le x2rgb10be x2bgr10le x2bgr10be vuya vuyx p012le p012be y212be y212le xv30be xv30le xv36be xv36le rgbf32be rgbf32le 11-02 10:30:33.547 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI supported ffmpeg sw pixel formats count: 191 11-02 10:30:33.547 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Format: mov,mp4,m4a,3gp,3g2,mj2, range: 0 +94123ms, bitrate: 73181773, size: 0 D testMdk : Metadata: D testMdk : compatible_brands: mp42iso4 D testMdk : creation_time: 2016-11-22T04:53:04.000000Z D testMdk : minor_version: 16785407 D testMdk : major_brand: mp42 D testMdk : Streams: 2 D testMdk : Video: D testMdk : stream#0, range: 0 +94094ms, frames: 2256 D testMdk : codec: hevc tag: 'hvc1' profile: 2 level: 153, yuv420p10le, bpc:10, bpp:15(10,10,10), channels:(1,1,1), map: 0 1 2 0, bitrate: 73009915, 3840x2160, fps: 23.976, bframes: 1, primaries: bt2020, trc: pq, matrix: bt2020nc, range: narrow D testMdk : e D testMdk : ANDROID_LOG_DEBUG, MDK-JNI xtra data(150): 01 22 20 00 00 00 90 00 00 00 00 00 99 F0 00 FC FD FA FA 00 00 07 03 A0 00 01 00 20 40 01 0C 01 FF FF 22 20 00 00 03 00 90 00 00 03 00 00 03 00 99 35 03 00 00 4E 34 00 07 53 00 E8 A1 00 01 00 49 42 01 01 22 20 00 00 03 00 90 00 00 03 00 00 03 00 99 A0 01 E0 20 02 1C 4D 8D 35 92 4E 44 57 25 A9 77 80 B5 09 10 09 B6 50 00 04 E3 40 00 75 30 0F 91 A0 52 F0 00 09 89 68 00 04 C4 B4 00 01 31 2D 00 00 98 96 A2 E1 00 82 A2 00 01 00 07 44 01 C1 71 B1 D9 20 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ler_name: Video Media Handler D testMdk : language: und D testMdk : vendor_id: [0][0][0][0] D testMdk : creation_time: 2016-11-22T04:53:04.000000Z D testMdk : Audio: D testMdk : stream#1, range: 0 +94123ms, frames: 4412 D testMdk : codec: aac tag: 'mp4a' profile: 1 level: -99, f32p stereo(2) @48000Hz, bitrate: 192000 D testMdk : extra data(2): 11 90 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c47c0 FrameReader::update MediaStatus 0X2=>0X4 11-02 10:30:33.547 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI buffering progress 0% 11-02 10:30:33.547 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c47c0 FrameReader::update MediaStatus 0X4=>0X14 11-02 10:30:33.547 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ++++++++++++BUFFERING START++++++++++++ 11-02 10:30:33.547 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe62c47c0 state: 0=>1=>1, 1 11-02 10:30:33.548 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe62c47c0 update state: 0=>1 11-02 10:30:33.548 26836 26891 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI starting decode loop thread mdk.vdec0@-1029703312 11-02 10:30:33.554 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video stream#0 starting decoding loop from decoder index 0... 11-02 10:30:33.555 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating video decoder: AMediaCodec:java=0:copy=0:surface=1:async=0... 11-02 10:30:33.555 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -1029703312 JMI: JNI Modern Interface. Version 0.1.0 11-02 10:30:33.555 26836 26892 D testMdk : 11-02 10:30:33.555 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI starting decode loop thread mdk.adec1@-1030739600 11-02 10:30:33.556 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio stream#1 starting decoding loop from decoder index 0... 11-02 10:30:33.556 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating audio decoder: auto... 11-02 10:30:33.556 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI opening audio decoder: FFmpeg... 11-02 10:30:33.556 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI opening ffmpeg audio decoder: aac ... 11-02 10:30:33.557 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AVCodec.Audio[aac.] decoder: 1 Single threads 11-02 10:30:33.557 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI aac f32p, stereo @48000Hz 11-02 10:30:33.558 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI buffering progress 100% 11-02 10:30:33.558 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c47c0 FrameReader::update MediaStatus 0X14=>0X124 11-02 10:30:33.558 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ++++++++++++BUFFERING END++++++++++++ 11-02 10:30:33.558 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D testMdk : ANDROID_LOG_DEBUG, MDK-JNI opening video decoder: AMediaCodec... 11-02 10:30:33.558 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI CodecForMimeType: video/hevc, profile: 2, level: -1 11-02 10:30:33.558 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio stream#1 sending 1 invalid AOT frame @0.000000s. seeking: 0 11-02 10:30:33.559 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe1598100 1st audio frame @0.000000 11-02 10:30:33.559 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe1598100 seek end audio frame @0.000000 seekpos: -1, syncao 1 11-02 10:30:33.559 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avfilter runtime version: 8.49.101 (build: 8.49.101), license: LGPL version 2.1 or later 11-02 10:30:33.563 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AudioRenderer format: f32, stereo @48000Hz, requested: f32p, stereo @48000Hz 11-02 10:30:33.564 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AudioRenderer format changed and reinitialize 11-02 10:30:33.564 26836 26893 D testMdk : D : PlayerBase::PlayerBase() D : TrackPlayerBase::TrackPlayerBase() I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) D AudioTrack: Client defaulted notificationFrames to 1922 for frameCount 3844 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI SL_IID_PLAYBACKRATE Range0: [500, 2000]/0 cap: 400 11-02 10:30:33.577 26836 26893 D testMdk : W libOpenSLES: Leaving PlaybackRate::GetRateRange (SL_RESULT_PARAMETER_INVALID) D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Using audio backend: OpenSL 11-02 10:30:33.577 26836 26893 D testMdk : D AudioTrack: start: not BaiduNav D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe1598100 ao opened: 1, reopen: 1, bad ao: 0 11-02 10:30:33.586 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio filter graph: 11-02 10:30:33.589 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI +-----------+ D testMdk : | src |default--[48000Hz fltp:stereo]--swr:default D testMdk : | (abuffer) | D testMdk : +-----------+ 11-02 10:30:33.589 26836 26893 D testMdk : D testMdk : +---------------+ D testMdk : swr:default--[48000Hz flt:stereo]--default| dst | D testMdk : | (abuffersink) | D testMdk : +---------------+ 11-02 10:30:33.589 26836 26893 D testMdk : D testMdk : +-------------+ D testMdk : src:default--[48000Hz fltp:stereo]--default| swr |default--[48000Hz flt:stereo]--dst:default 11-02 10:30:33.589 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI | (aresample) | D testMdk : +-------------+ 11-02 10:30:33.589 26836 26893 D testMdk : 11-02 10:30:33.589 26836 26893 D testMdk : 11-02 10:30:33.589 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 0, a: 0, delta: 0 +0.021333 11-02 10:30:33.589 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >0 00:00:00.0/00:01:34 buffered 3456ms/28641KB 7500KB/s 0fps@1.00 11-02 10:30:33.589 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio stream#1 AOT frame is sent 11-02 10:30:33.589 26836 26893 D testMdk : W VideoCapabilities: Unrecognized profile 2130706433 for video/avc W VideoCapabilities: Unrecognized profile 2130706434 for video/avc W VideoCapabilities: Unrecognized profile 2130706433 for video/avc W VideoCapabilities: Unrecognized profile 2130706434 for video/avc W VideoCapabilities: Unsupported mime video/divx W VideoCapabilities: Unsupported mime video/divx311 W VideoCapabilities: Unsupported mime video/divx4 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 W VideoCapabilities: Unsupported mime video/x-ms-wmv W VideoCapabilities: Unsupported mime video/x-ms-wmv W VideoCapabilities: Unrecognized profile 2130706433 for video/avc W VideoCapabilities: Unrecognized profile 2130706434 for video/avc I VideoCapabilities: Unsupported profile 4 for video/mp4v-es W Utils : could not parse long range '175-174' D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.aac.decoder, mime: audio/mp4a-latm 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.amrnb.decoder, mime: audio/3gpp 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.amrwb.decoder, mime: audio/amr-wb 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qti.audio.decoder.flac, mime: audio/flac 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.g711.alaw.decoder, mime: audio/g711-alaw 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.g711.mlaw.decoder, mime: audio/g711-mlaw 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.gsm.decoder, mime: audio/gsm 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.mp3.decoder, mime: audio/mpeg 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.opus.decoder, mime: audio/opus 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.raw.decoder, mime: audio/raw 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.vorbis.decoder, mime: audio/vorbis 11-02 10:30:33.652 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.avc, mime: video/avc 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.avc.secure, mime: video/avc 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.h264.decoder, mime: video/avc 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.divx, mime: video/divx 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.divx311, mime: video/divx311 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.divx4, mime: video/divx4 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.h263, mime: video/3gpp 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.h263.decoder, mime: video/3gpp 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.hevc, mime: video/hevc video/hevc -profile: 2 11-02 10:30:33.653 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profileLevels count: 3 11-02 10:30:33.655 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 1 level: 65536 11-02 10:30:33.655 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 2 level: 65536 11-02 10:30:33.655 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI [Match]. 11-02 10:30:33.655 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.hevc.secure, mime: video/hevc video/hevc -profile: 2 11-02 10:30:33.655 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profileLevels count: 3 11-02 10:30:33.657 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 1 level: 65536 11-02 10:30:33.657 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 2 level: 65536 11-02 10:30:33.657 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI [Match]. 11-02 10:30:33.657 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.hevc.decoder, mime: video/hevc video/hevc -profile: 2 11-02 10:30:33.657 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profileLevels count: 1 11-02 10:30:33.658 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 1 level: 65536 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.mpeg2, mime: video/mpeg2 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.mpeg2.secure, mime: video/mpeg2 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.mpeg4, mime: video/mp4v-es 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.mpeg4.decoder, mime: video/mp4v-es 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vc1, mime: video/x-ms-wmv 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vc1.secure, mime: video/x-ms-wmv 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vp8, mime: video/x-vnd.on2.vp8 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.vp8.decoder, mime: video/x-vnd.on2.vp8 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vp9, mime: video/x-vnd.on2.vp9 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vp9.secure, mime: video/x-vnd.on2.vp9 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.vp9.decoder, mime: video/x-vnd.on2.vp9 11-02 10:30:33.659 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI found codecs count: 2 | 0 11-02 10:30:33.660 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video/hevc AMediaCodec_createCodecByName: OMX.qcom.video.decoder.hevc 11-02 10:30:33.660 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ndk::AMediaCodec ndk::AMediaCodec_createCodecByName(const char ) via ndk: true 11-02 10:30:33.660 26836 26892 D testMdk : I OMXClient: Treble IOmx obtained D testMdk : ANDROID_LOG_DEBUG, MDK-JNI set h265 csd-0 11-02 10:30:33.681 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI try to convert extra data to annexb 11-02 10:30:33.681 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI nal field length: 4, annexb extradata size: 124 11-02 10:30:33.681 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI dso.load: libEGL.sotest: true 11-02 10:30:33.681 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI libEGL.so test load result 0xd3be1a9d... 11-02 10:30:33.682 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI dso path: `i��������F�Jr 11-02 10:30:33.682 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal::Data::Data() thread: -1029703312 11-02 10:30:33.682 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal::get() const allocate and initialize ThreadLocal data 11-02 10:30:33.682 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI No current opengl context in thread -1029703312 11-02 10:30:33.682 26836 26892 D testMdk : I MDK.AndroidSurfaceBuffer: texture for SurfaceTexture constructor: 0 I MDK.AndroidSurfaceBuffer: texture in surface created thread: 0, SurfaceTexture persistent context: 0, attach once: 1 D SurfaceUtils: connecting to surface 0xcebe1808, reason connectToSurface I MediaCodec: [OMX.qcom.video.decoder.hevc] setting surface generation to 27480065 D SurfaceUtils: disconnecting from surface 0xcebe1808, reason connectToSurface(reconnect) D SurfaceUtils: connecting to surface 0xcebe1808, reason connectToSurface(reconnect) I ExtendedACodec: setupVideoDecoder() I ExtendedACodec: Decoder will be in frame by frame mode D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AMediaCodecgetName(codec.get(), &name) ERROR@196virtual bool mdk::MediaCodecVideoDecoder::open(): (-10002) 11-02 10:30:33.694 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D SurfaceUtils: set up nativeWindow 0xcebe1808 for 3840x2160, color 0x7fa30c06, rotation 0, usage 0x20002900 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI decode stored recovery packets: 0 11-02 10:30:33.711 26836 26892 D testMdk : W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000 I chatty : uid=10249(org.qtproject.example.testMDK) CodecLooper identical 5 lines W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000 D SurfaceUtils: set up nativeWindow 0xcebe1808 for 3840x2160, color 0x7fa30c06, rotation 0, usage 0x20002900 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED 11-02 10:30:33.766 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED 11-02 10:30:33.815 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaFormat: color-range: int32(2), color-standard: int32(6), color-transfer: int32(3), mime: string(video/raw), stride: int32(3840), slice-height: int32(2176), color-format: int32(2141391878), crop: unknown(9), android._dataspace: int32(281411584), hdr-static-info: data, width: int32(3840), height: int32(2160)} 11-02 10:30:33.815 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI unknown, tile: 128x128, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 11-02 10:30:33.816 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI size: 3840x2160, bytes: 3840x2176 11-02 10:30:33.816 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video stream#0 sending 1 invalid AOT frame @0.000000s. seeking: 0 11-02 10:30:33.847 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe1598100 1st video frame to render @0.000000s, sync time: 0.149000 11-02 10:30:33.847 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI VideoRenderer clear buffered frames 11-02 10:30:33.847 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0-track seek end video frame @0.000000 seekpos: -1 11-02 10:30:33.847 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe1598100 1st video frame to render @0.000000s, sync time: 0.149000 11-02 10:30:33.847 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >149 00:00:00.0/00:01:34 buffered 3754ms/36531KB 116566KB/s 0fps@1.00 diff |-149|>5ms 11-02 10:30:33.847 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video stream#0 AOT frame is sent 11-02 10:30:33.847 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI VideoRenderer WxH=1200.000000x1750.000000 1200.000000x1750.000000 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI update transform 2d. scale: (1.000000, 1.000000), orientation: 0 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI m: mat<4, 4>( 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal<std::unordered_map<const void , std::unique_ptr>>::Data::Data() thread: -835192464 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal<std::unordered_map<const void , std::unique_ptr>>::get() const allocate and initialize ThreadLocal data 11-02 10:30:33.853 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI new Context object 0xe6599dd8(0) for native context handle 0xcecb6640 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOGDEBUG, MDK-JNI ctx->api: 0xcd951400 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI probing gl context... native: 0x0 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_VERSION: 1.4 Android META-EGL 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL client extension is not supported 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_VENDOR: Android 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_CLIENT_APIS: OpenGL_ES 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Current EGL dso path: /system/lib/libEGL.so 11-02 10:30:33.854 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GLESv2 dso loaded: /system/lib/libGLESv2.so 11-02 10:30:33.855 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI resolving gl common functions... 11-02 10:30:33.855 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal::Data::Data() thread: -835192464 11-02 10:30:33.855 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal::get() const allocate and initialize ThreadLocal data 11-02 10:30:33.855 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal::Data::Data() thread: -835192464 11-02 10:30:33.855 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal::get() const allocate and initialize ThreadLocal data 11-02 10:30:33.856 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI select gl api resolver for EGL|OpenGL|OpenGLES 11-02 10:30:33.856 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI using opengl api resolver: EGL 11-02 10:30:33.856 26836 26882 D testMdk : D testMdk : ANDROID_LOGDEBUG, MDK-JNI probing gl client context... major: 0 11-02 10:30:33.856 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_VENDOR: Qualcomm 11-02 10:30:33.857 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_RENDERER: Adreno (TM) 512 11-02 10:30:33.857 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_VERSION: OpenGL ES 3.2 V@269.0 (GIT@dcd4b96, I568c71768a) (Date:04/30/18) 11-02 10:30:33.857 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 3.20 11-02 10:30:33.857 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_ANDROID_front_buffer_auto_refresh EGL_ANDROID_get_frame_timestamps EGL_ANDROID_get_native_client_buffer EGL_ANDROID_image_native_buffer EGL_ANDROID_presentation_time EGL_ANDROID_recordable EGL_EXT_create_context_robustness EGL_EXT_pixel_format_float EGL_EXT_protected_content EGL_EXT_yuv_surface EGL_IMG_context_priority EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image E D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_mutable_render_buffer EGL_KHR_no_config_context EGL_KHR_partial_update EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_KHR_wait_sync GL_AMD_compressed_ATC_texture GL_ANDROID_extension_pack_es31a GL_ARM_shader_framebuffer_fetch_depth_stencil GL_EXT_EGL_image_array GL_EXT_YUV_target GL_EXT_blit_framebuffer_params GL_EXT_buffer_storage GL_EXT_clip_cul D testMdk : ANDROID_LOG_DEBUG, MDK-JNI l_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_copy_image GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_external_buffer GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_primitive_bounding_box GL_EXT_protected_textures GL_EXT_robustness GL_EXT_sRGB GL_EXT_sRGB_write_control GL_E D testMdk : ANDROID_LOG_DEBUG, MDK-JNI XT_shader_framebuffer_fetch GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_type_2_10_10_10_REV GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_no_error GL_KHR_texture_compression_astc_h D testMdk : ANDROID_LOG_DEBUG, MDK-JNI dr GL_KHR_texture_compression_astc_ldr GL_NV_shader_noperspective_interpolation GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_element_index_uint GL_OES_framebuffer_object GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation G D testMdk : ANDROID_LOG_DEBUG, MDK-JNI L_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_3D GL_OES_texture_compression_astc GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_QCOM_alpha_test GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_text D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ure_foveated GL_QCOM_tiled_rendering 11-02 10:30:33.857 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI OpenGL Context thread: -835192464 11-02 10:30:33.857 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI OpenGL ES3.2 No profile, EGL140, GLSL320 D testMdk : Features PBO: 1, RG texture: 1, 16bit texture: 1 11-02 10:30:33.858 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI resolving gl extensions... 11-02 10:30:33.858 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI select gl api resolver for EGL|OpenGL|OpenGLES 11-02 10:30:33.858 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI using opengl api resolver: EGL 11-02 10:30:33.858 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI context version: 320 11-02 10:30:33.858 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI extension resolved: glMapBufferOES 11-02 10:30:33.858 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 11-02 10:30:33.858 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI gl api resolved. thread@ -835192464 11-02 10:30:33.859 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D testMdk : ANDROID_LOG_DEBUG, MDK-JNI new OpenGLVideo 0xe65b5b28 in ctx 0xe6599dd8 11-02 10:30:33.862 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe6599dd8/0xcecb6640 Context::setLocalData local data 0xe65ae780 for key: 0x3. size: 1 11-02 10:30:33.862 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe6599dd8/0xcecb6640 Context::setLocalData local data 0xe65af708 for key: 0x2. size: 2 11-02 10:30:33.862 26836 26882 D testMdk : I MDK.AndroidSurfaceBuffer: context change: 0x0=>>0xe6599dd8 I MDK.AndroidSurfaceBuffer: try to detach previous SurfaceTexture D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe6599dd8/0xcecb6640 Context::setLocalData local data 0xe65af6d0 for key: 0x4. size: 3 11-02 10:30:33.863 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI unknown, tile: 128x128, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => mapped rgba, bpc:8, bpp:32(32), channels:(4), map: 0 1 2 3 11-02 10:30:33.864 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI RGBA8 | RGBA | UNSIGNED_BYTE 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI frame color: bt2020 pq bt2020nc narrow. gamma: 0.000000, signal peak: 49.261086 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI - 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI output color: bt709 unknown unknown full. gamma: 2.200000, signal peak: 1.000000 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI rgb primaries matrix: mat<3, 3>( 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1.66049 -0.587641 -0.07285 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -0.12455 1.1329 -0.00834939 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -0.0181508 -0.100579 1.11873 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI color transform: mat<4, 4>( 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-02 10:30:33.865 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EQ: mat<4, 4>( 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI material changed: 0x0=>0x4b8a 11-02 10:30:33.866 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI planar: 0, alpha: 1, texture 2d: 0, external: 1, rg semi-planar: 0, 16=>8: 0, xyz: 0, generic packed yuv: 0, cocgsy: 0, primaries diff: 1, trc: 3=>1, tone map: 1 11-02 10:30:33.871 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI bind attribute: a_Position => 0 11-02 10:30:33.888 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI bind attribute: a_TexCoords0 => 1 11-02 10:30:33.888 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform locations: 11-02 10:30:33.912 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI u_Texture0: 8 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI u_Matrix: 0, u_TexMatrix: 1 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI update built-in uniforms 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EQ: mat<4, 4>( 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_colorMatrix: 2 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_ScaleA: -1 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_sigPeakIn: 4 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_sigPeakOut: 5 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_primMatrix: 6 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_GammaOut: 7 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI updating geometry... 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating vbo... 11-02 10:30:33.913 26836 26882 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating vao... 11-02 10:30:33.913 26836 26882 D testMdk : W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >469 00:00:00.4/00:01:34 buffered 3753ms/33942KB 29KB/s 36fps@1.00 diff |-51|>5ms update 39/72ms, draw 9/52ms gpu 37439/70725us 11-02 10:30:34.118 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @9 11-02 10:30:34.318 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >709 00:00:00.7/00:01:34 buffered 3336ms/31296KB 30KB/s 28fps@1.00 diff |+0|<5ms update 41/72ms, draw 6/52ms gpu 32901/70725us 11-02 10:30:34.408 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1029 00:00:01.0/00:01:34 buffered 3797ms/38416KB 25400KB/s 25fps@1.00 diff |-28|>5ms update 39/66ms, draw 3/6ms gpu 29118/29138us 11-02 10:30:34.673 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @9 11-02 10:30:34.901 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1268 00:00:01.2/00:01:34 buffered 3920ms/37665KB 48KB/s 23fps@1.00 diff |-16|>5ms update 45/82ms, draw 4/6ms gpu 29119/29138us 11-02 10:30:34.947 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 10:30:35.223 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1588 00:00:01.5/00:01:34 buffered 3628ms/35463KB 23KB/s 24fps@1.00 diff |-44|>5ms update 44/82ms, draw 3/5ms gpu 29115/29138us 11-02 10:30:35.224 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1835 00:00:01.8/00:01:34 buffered 3989ms/39241KB 236643KB/s 24fps@1.00 diff |+7|>5ms update 45/82ms, draw 3/5ms gpu 29643/32030us 11-02 10:30:35.507 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @5 11-02 10:30:35.787 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2148 00:00:02.0/00:01:34 buffered 3669ms/39283KB 24603KB/s 23fps@1.00 diff |-62|>5ms update 44/81ms, draw 3/7ms gpu 29662/32030us 11-02 10:30:35.790 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @10 11-02 10:30:36.106 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2468 00:00:02.4/00:01:34 buffered 3753ms/35574KB 27KB/s 23fps@1.00 diff |-48|>5ms update 45/89ms, draw 3/7ms gpu 29662/32030us 11-02 10:30:36.110 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @4 11-02 10:30:36.253 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @10 11-02 10:30:36.376 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2709 00:00:02.6/00:01:34 buffered 3503ms/33305KB 30KB/s 22fps@1.00 diff |-39|>5ms update 53/91ms, draw 3/7ms gpu 29135/29472us 11-02 10:30:36.378 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 10:30:36.663 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3029 00:00:02.9/00:01:34 buffered 3797ms/39380KB 73291KB/s 23fps@1.00 diff |-61|>5ms update 47/91ms, draw 2/4ms gpu 29118/29197us 11-02 10:30:36.668 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @4 11-02 10:30:36.906 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3269 00:00:03.2/00:01:34 buffered 3920ms/38018KB 101KB/s 23fps@1.00 diff |-15|>5ms update 55/91ms, draw 3/5ms gpu 29118/29197us 11-02 10:30:36.949 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 10:30:37.226 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3589 00:00:03.5/00:01:34 buffered 3628ms/35615KB 23KB/s 23fps@1.00 diff |-43|>5ms update 44/78ms, draw 3/6ms gpu 29112/29193us 11-02 10:30:37.228 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3837 00:00:03.8/00:01:34 buffered 3336ms/33645KB 4629KB/s 24fps@1.00 diff |+9|>5ms update 44/84ms, draw 3/6ms gpu 29107/29123us 11-02 10:30:37.529 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4111 00:00:04.0/00:01:34 buffered 3818ms/39969KB 65704KB/s 23fps@1.00 diff |-23|>5ms update 42/84ms, draw 4/6ms gpu 29111/29205us 11-02 10:30:37.784 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @4 11-02 10:30:37.865 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4388 00:00:04.3/00:01:34 buffered 3920ms/37050KB 49KB/s 23fps@1.00 diff |-8|>5ms update 45/84ms, draw 3/6ms gpu 29117/29205us 11-02 10:30:38.051 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @3 11-02 10:30:38.350 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4708 00:00:04.6/00:01:34 buffered 3670ms/34812KB 23KB/s 23fps@1.00 diff |-36|>5ms update 46/84ms, draw 3/6ms gpu 29110/29198us 11-02 10:30:38.352 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @9 11-02 10:30:38.500 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @5 11-02 10:30:38.670 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5028 00:00:04.9/00:01:34 buffered 3903ms/36760KB 183659KB/s 23fps@1.00 diff |-64|>5ms update 51/89ms, draw 3/5ms gpu 29111/29198us 11-02 10:30:38.673 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @10 11-02 10:30:38.985 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5348 00:00:05.2/00:01:34 buffered 4003ms/38913KB 59KB/s 23fps@1.00 diff |-14|>5ms update 50/89ms, draw 4/6ms gpu 29111/29204us 11-02 10:30:38.988 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5589 00:00:05.5/00:01:34 buffered 3586ms/35934KB 23KB/s 25fps@1.00 diff |+0|<5ms update 45/77ms, draw 4/9ms gpu 30375/32038us 11-02 10:30:39.253 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @6 11-02 10:30:39.467 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >5871 00:00:05.8/00:01:34 buffered 3336ms/33643KB 30KB/s 23fps@1.00 diff |-31|>5ms update 45/82ms, draw 4/9ms gpu 30580/32038us 11-02 10:30:39.543 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @4 11-02 10:30:39.787 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >6149 00:00:06.1/00:01:34 buffered 3797ms/38623KB 35352KB/s 22fps@1.00 diff |-17|>5ms update 45/82ms, draw 4/6ms gpu 30235/32038us 11-02 10:30:39.835 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >6431 00:00:06.4/00:01:34 buffered 3878ms/36008KB 47KB/s 23fps@1.00 diff |-7|>5ms update 45/82ms, draw 3/6ms gpu 29122/29200us 11-02 10:30:40.102 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >6715 00:00:06.7/00:01:34 buffered 3461ms/32980KB 23KB/s 24fps@1.00 diff |+7|>5ms update 43/80ms, draw 4/5ms gpu 29116/29191us 11-02 10:30:40.394 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >6991 00:00:06.9/00:01:34 buffered 3946ms/36124KB 206931KB/s 23fps@1.00 diff |-25|>5ms update 40/73ms, draw 4/6ms gpu 29113/29188us 11-02 10:30:40.664 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @6 11-02 10:30:40.988 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >7348 00:00:07.2/00:01:34 buffered 3920ms/35814KB 31KB/s 23fps@1.00 diff |-49|>5ms update 44/73ms, draw 5/6ms gpu 29657/32040us 11-02 10:30:40.988 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 10:30:41.115 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @6 11-02 10:30:41.229 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >7668 00:00:07.5/00:01:34 buffered 3628ms/31790KB 23KB/s 22fps@1.00 diff |-77|>5ms update 50/77ms, draw 4/6ms gpu 30565/32040us 11-02 10:30:41.329 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI release MediaCodec output buffer which was not rendered @8 11-02 10:30:41.395 26836 26892 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >8633 00:00:08.7/00:01:34 buffered 3242ms/36721KB 65046KB/s 23fps@1.00 11-02 10:30:42.340 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >8953 00:00:09.0/00:01:34 buffered 2922ms/36713KB 65046KB/s 23fps@1.00 11-02 10:30:42.659 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >9252 00:00:09.3/00:01:34 buffered 2623ms/36706KB 65046KB/s 23fps@1.00 11-02 10:30:42.910 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >9529 00:00:09.6/00:01:34 buffered 2346ms/36700KB 65046KB/s 23fps@1.00 11-02 10:30:43.219 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >9807 00:00:09.8/00:01:34 buffered 2069ms/36693KB 65046KB/s 23fps@1.00 11-02 10:30:43.470 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >10084 00:00:10.1/00:01:34 buffered 1791ms/36687KB 65046KB/s 23fps@1.00 11-02 10:30:43.780 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >10361 00:00:10.4/00:01:34 buffered 1514ms/36680KB 65046KB/s 23fps@1.00 11-02 10:30:44.031 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >10638 00:00:10.7/00:01:34 buffered 1237ms/36674KB 65046KB/s 23fps@1.00 11-02 10:30:44.339 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >10937 00:00:11.0/00:01:34 buffered 938ms/36667KB 65046KB/s 23fps@1.00 11-02 10:30:44.594 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >11193 00:00:11.2/00:01:34 buffered 682ms/36661KB 65046KB/s 23fps@1.00 11-02 10:30:44.900 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >11492 00:00:11.5/00:01:34 buffered 383ms/36654KB 65046KB/s 23fps@1.00 11-02 10:30:45.152 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >11769 00:00:11.8/00:01:34 buffered 106ms/36647KB 65046KB/s 23fps@1.00 11-02 10:30:45.460 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI buffering progress 0% 11-02 10:30:45.541 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe62c47c0 FrameReader::update MediaStatus 0X124=>0X114 11-02 10:30:45.541 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ++++++++++++BUFFERING START++++++++++++ 11-02 10:30:45.541 26836 26893 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D : PlayerBase::stop() from IPlayer D AudioTrack: stop() called with 578560 frames delivered

wang-bin commented 2 years ago

log 里的update表示两次绘制的平均间隔,看上去间隔有点长,40~50多毫秒,这样帧率比解码慢,会有一部分帧没渲染。你试试用定时器来渲染

wang-bin commented 2 years ago

试下最新的包有没有流畅点。顺便贴下log

ken626014896 commented 2 years ago

好的,这两天我试试,之前一直在忙其他东西

ken626014896 commented 2 years ago

这个是解码设备 SetGlobalOption("profiler.gpu", 1); SetGlobalOption("logLevel", "all"); setMirrorVertically(true); SetGlobalOption("videoout.buffer_frames", 16); // internal_player->setFrameRate(25);

ifdef Q_OS_WIN

internal_player->setDecoders(MediaType::Video, {"MFT:d3d=11:copy=0", "D3D11", "DXVA", "CUDA", "FFmpeg"});

endif

ifdef Q_OS_ANDROID

SetGlobalOption("jvm", QAndroidJniEnvironment::javaVM());
internal_player->setDecoders(MediaType::Video,{"AMediaCodec:java=0:copy=0:surface=1:async=0","FFmpeg"});

endif

//    internal_player->setBufferRange(0,1000,true);
internal_player->setAspectRatio(0);
//    internal_player->setMute(true);
ken626014896 commented 2 years ago

更新到最新sdk后,之前那个视频有时候播放不了,播放的了也很不流畅

这个是播放不了的log I zygote : Late-enabling -Xcheck:jni W ResourceType: No package identifier when getting name for resource number 0x00000000 W ResourceType: No package identifier when getting name for resource number 0x00000000 E InterceptorFactory: NameNotFoundException E InterceptorFactory: android.content.pm.PackageManager$NameNotFoundException: com.miui.contentcatcher E InterceptorFactory: at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:174) E InterceptorFactory: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:145) E InterceptorFactory: at miui.contentcatcher.InterceptorFactory.getInterceptorPackageInfo(InterceptorFactory.java:80) E InterceptorFactory: at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99) E InterceptorFactory: at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41) E InterceptorFactory: at miui.contentcatcher.InterceptorProxy$H.handleMessage(InterceptorProxy.java:323) E InterceptorFactory: at android.os.Handler.dispatchMessage(Handler.java:106) E InterceptorFactory: at android.os.Looper.loop(Looper.java:173) E InterceptorFactory: at android.os.HandlerThread.run(HandlerThread.java:65) W System : ClassLoader referenced unknown path: D AccessibilityManager: AccessibilityManager status: mPackageName = org.qtproject.example.testMDK, mOptimizeEnabled = false, mIsEnabled = false, mIsUiAutomationEnabled = false, mIsInterestedPackage =false D Qt JAVA : Class org.qtproject.qt5.android.multimedia.QtMultimediaUtils does not implement setActivity method I QtCore : Start I Qt : qt started I MDK : MDK 0.18.0 (git cef23ef) - Multimedia Development Kit. Copyright (c) 2016-2022 WangBin(QtAV author) I MDK : Build for: Android19 ARMv7; Clang14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)GCC4.2.1; libc++11000; 12:22:12 Nov 20 2022 D OpenGLRenderer: HWUI GL Pipeline I Adreno : QUALCOMM build : dcd4b96, I568c71768a I Adreno : Build Date : 04/30/18 I Adreno : OpenGL ES Shader Compiler Version: EV031.22.00.01_06 I Adreno : Local Branch : I Adreno : Remote Branch : quic/gfx-adreno.lnx.1.0.r33-rel I Adreno : Remote Branch : NONE I Adreno : Reconstruct Branch : NOTHING I Adreno : PFP: 0x005ff087, ME: 0x005ff063 I zygote : android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 I OpenGLRenderer: Initialized EGL, version 1.4 D OpenGLRenderer: Swap behavior 2 D testMdk : testMDK W libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) W libOpenSLES: Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED) D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MDK 0.18.0 (git cef23ef) - Multimedia Development Kit. Copyright (c) 2016-2022 WangBin(QtAV author) D testMdk : Build for: Android19 ARMv7; Clang14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6)GCC4.2.1; libc++11000; 12:22:12 Nov 20 2022 11-23 10:33:57.422 29869 29890 D testMdk : 11-23 10:33:57.422 29869 29890 D testMdk : D testMdk : qml: 1111111111 D testMdk : qml: file:///storage/emulated/0/Download/data/323.mp4 D testMdk : qml: /storage/emulated/0/Download/data/323.mp4 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe53447c0 state: 0=>0=>0, 0 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default0xe53447c0 virtual void mdk::FrameReader::stop(), current state: 0 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe53447c0 state: 0=>0=>0, 0 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default0xe53447c0 virtual void mdk::FrameReader::stop(), current state: 0 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe0560100 virtual void mdk::MediaControlPush::setState(mdk::PlaybackState)@737 requested state 0=>1, current state 0. status: 0 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe53447c0 FrameReader.start(0, ...) 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe53447c0 FrameReader::update MediaStatus 0=>0X2 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe53447c0 state: 0=>0=>1, 0 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe53447c0 state: 0=>1=>1, 0 11-23 10:34:01.927 29869 29890 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI start frame reader thread: -818415248 11-23 10:34:01.928 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI try to load av module: /data/app/org.qtproject.example.testMDK-7LFODW6Rft3F7Z1bDbnkTA==/lib/arm/libffmpeg.so 11-23 10:34:01.928 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avformat runtime version: 59.34.101 (build: 59.34.101), license: LGPL version 2.1 or later 11-23 10:34:01.929 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avformat runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-mediacodec --enable-jni --disable-v4l2-m2m --disable-vulkan --disable-indevs --enable-indev=android_camera --disable-outdevs --disable-postproc --enable-thumb --enable-neon --ar=llvm-ar --ranlib=llvm-ranlib --nm=llvm-nm --strip=llvm-strip --target-os=android --arch=arm --enable-cross-compile --cross-prefix=arm-linux-androideabi- --pkg-config=pkg D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -config --cc=clang --extra-ldexeflags='-Wl,--gc-sections -Wl,-z,nocopyreloc -pie -fPIE -lunwind' --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -ffast-math -fstrict-aliasing -march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=vfpv3-d16 --target=armv7a-linux-androideabi19' --extra-ldflags='-Wl,--gc-sections -Wl,-z,relro -Wl,-z,now --sysroot /usr/local/lib/android/sdk/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64//sysroot D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -fuse-ld=lld -rtlib=compiler-rt --target=armv7a-linux-androideabi19' --enable-small --disable-outdevs --disable-filters --enable-filter='null,afade,fifo,format,resample,aeval,allrgb,allyuv,atempo,pan,bars,color,key,crop,draw,eq,framerate,_qsv,_vaapi,v4l2,hw,scale,volume,test' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --enable-wolfssl --disable-avdevice --enable-decoder='sub,movtext,web,aac,ac3,alac,ape,ass,av1,cc_dec,cook,dca,dnxhd,eac3,exr,truehd,f D testMdk : ANDROID_LOG_DEBUG, MDK-JNI f,yuv,flv,flac,gif,h26[3-4],hevc,hap,mp[1-3],prores,peg,mlp,mpl2,nellymoser,opus,pcm,qtrle,png,tiff,rawvideo,sami,srt,ssa,v210,vc1,vorbis,vp[6-9],wm,wrapped_avframe' --enable-demuxer='sub,ac3,ac,peg,web,ape,ass,avi,concat,dnxhd,dts,dash,flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm,rawvideo,rtp,spdif,srt,vc1,v210,wav,pipe,image2' --enable-encoder='aac,dnxhd,exr,ff,yuv,gif,h26[3-4],hevc,mjpeg,png,opus,pcm,prores,rawvideo,spdif,speedhq,jpeg,png,tiff,vp[8-9], D testMdk : ANDROID_LOG_DEBUG, MDK-JNI wrapped_avframe' --enable-muxer='jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og,pcm,rawvideo,spdif,pipe,segment,webm,wav' 11-23 10:34:01.929 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI avformat_version0xd0f392c1 11-23 10:34:01.929 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Trying MediaIO FFmpeg for protocol "" 11-23 10:34:01.929 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xcda0e8f0 open url: /storage/emulated/0/Download/data/323.mp4 11-23 10:34:01.929 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xcda0e8f0 url opened 11-23 10:34:01.930 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe53447c0 FrameReader::update MediaStatus 0X2=>0X2 11-23 10:34:01.930 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avcodec runtime version: 59.52.102 (build: 59.52.102), license: LGPL version 2.1 or later 11-23 10:34:01.931 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI av_packet_alloc0xd0dbf0f7 11-23 10:34:01.931 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avutil runtime version: 57.42.100 (build: 57.42.100), license: LGPL version 2.1 or later 11-23 10:34:01.932 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI av_dict_copy0xd0f4e8d5 11-23 10:34:01.932 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI before avformat_open_input. io: 0xcda0e8f0(FFmpeg/pb: 0xcd954ee0, url: /storage/emulated/0/Download/data/323.mp4 11-23 10:34:01.932 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI FFmpeg/Libav runtime git-2022-11-13-2d25f33-avbuild 11-23 10:34:01.933 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI after avformat_open_input. pb: 0xcd954ee0, iformat: 0xd0fe6f48 context flags: 2097280, input format flags: 67141640 11-23 10:34:01.939 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 11-23 10:34:01.946 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI unsupported ffmpeg sw pixel formats: uyyvyy411 x2rgb10le x2rgb10be x2bgr10le x2bgr10be vuya vuyx p012le p012be y212be y212le xv30be xv30le xv36be xv36le rgbf32be rgbf32le 11-23 10:34:01.946 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI supported ffmpeg sw pixel formats count: 191 11-23 10:34:01.946 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Format: mov,mp4,m4a,3gp,3g2,mj2, range: 0 +94123ms, bitrate: 73181773, size: 0 D testMdk : Metadata: D testMdk : compatible_brands: mp42iso4 D testMdk : creation_time: 2016-11-22T04:53:04.000000Z D testMdk : minor_version: 16785407 D testMdk : major_brand: mp42 D testMdk : Streams: 2 D testMdk : Video: D testMdk : stream#0, range: 0 +94094ms, frames: 2256 D testMdk : codec: hevc tag: 'hvc1' profile: 2 level: 153, yuv420p10le, bpc:10, bpp:15(10,10,10), channels:(1,1,1), map: 0 1 2 0, bitrate: 73009915, 3840x2160, fps: 23.976, bframes: 1, primaries: bt2020, trc: pq, matrix: bt2020nc, range: narrow D testMdk : e D testMdk : ANDROID_LOG_DEBUG, MDK-JNI xtra data(150): 01 22 20 00 00 00 90 00 00 00 00 00 99 F0 00 FC FD FA FA 00 00 07 03 A0 00 01 00 20 40 01 0C 01 FF FF 22 20 00 00 03 00 90 00 00 03 00 00 03 00 99 35 03 00 00 4E 34 00 07 53 00 E8 A1 00 01 00 49 42 01 01 22 20 00 00 03 00 90 00 00 03 00 00 03 00 99 A0 01 E0 20 02 1C 4D 8D 35 92 4E 44 57 25 A9 77 80 B5 09 10 09 B6 50 00 04 E3 40 00 75 30 0F 91 A0 52 F0 00 09 89 68 00 04 C4 B4 00 01 31 2D 00 00 98 96 A2 E1 00 82 A2 00 01 00 07 44 01 C1 71 B1 D9 20 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ler_name: Video Media Handler D testMdk : language: und D testMdk : vendor_id: [0][0][0][0] D testMdk : creation_time: 2016-11-22T04:53:04.000000Z D testMdk : Audio: D testMdk : stream#1, range: 0 +94123ms, frames: 4412 D testMdk : codec: aac tag: 'mp4a' profile: 1 level: -99, f32p stereo(2) @48000Hz, bitrate: 192000 D testMdk : extra data(2): 11 90 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe53447c0 FrameReader::update MediaStatus 0X2=>0X4 11-23 10:34:01.946 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI buffering progress 0% 11-23 10:34:01.946 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe53447c0 FrameReader::update MediaStatus 0X4=>0X14 11-23 10:34:01.947 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ++++++++++++BUFFERING START++++++++++++ 11-23 10:34:01.947 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe53447c0 state: 0=>1=>1, 1 11-23 10:34:01.947 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default FrameReader0xe53447c0 update state: 0=>1 11-23 10:34:01.947 29869 29950 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI starting decode loop thread mdk.vdec0@-849872528 11-23 10:34:01.947 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video stream#0 starting decoding loop from decoder index 0... 11-23 10:34:01.947 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI starting decode loop thread mdk.adec1@-850908816 11-23 10:34:01.947 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio stream#1 starting decoding loop from decoder index 0... 11-23 10:34:01.947 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating audio decoder: auto... 11-23 10:34:01.947 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI opening audio decoder: FFmpeg... 11-23 10:34:01.947 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI opening ffmpeg audio decoder: aac ... 11-23 10:34:01.947 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating video decoder: AMediaCodec:java=0:copy=0:surface=1:async=0... 11-23 10:34:01.947 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI opening video decoder: AMediaCodec... 11-23 10:34:01.948 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI CodecForMimeType: video/hevc, profile: 2, level: -1 11-23 10:34:01.948 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -849872528 JMI: JNI Modern Interface. Version 0.1.0 11-23 10:34:01.948 29869 29951 D testMdk : 11-23 10:34:01.948 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AVCodec.Audio[aac.] decoder: 1 Single threads 11-23 10:34:01.949 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI aac f32p, stereo @48000Hz 11-23 10:34:01.949 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI buffering progress 100% 11-23 10:34:01.949 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe53447c0 FrameReader::update MediaStatus 0X14=>0X124 11-23 10:34:01.949 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ++++++++++++BUFFERING END++++++++++++ 11-23 10:34:01.949 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio stream#1 sending 1 invalid AOT frame @0.000000s. seeking: 0 11-23 10:34:01.950 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe0560100 1st audio frame @0.000000 11-23 10:34:01.950 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe0560100 seek end audio frame @0.000000 seekpos: -1, syncao 1 11-23 10:34:01.950 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Selected avfilter runtime version: 8.50.100 (build: 8.50.100), license: LGPL version 2.1 or later 11-23 10:34:01.952 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AudioRenderer format: f32, stereo @48000Hz, requested: f32p, stereo @48000Hz 11-23 10:34:01.952 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AudioRenderer format changed and reinitialize 11-23 10:34:01.953 29869 29952 D testMdk : D : PlayerBase::PlayerBase() D : TrackPlayerBase::TrackPlayerBase() I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2) D AudioTrack: Client defaulted notificationFrames to 1922 for frameCount 3844 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI SL_IID_PLAYBACKRATE Range0: [500, 2000]/0 cap: 400 11-23 10:34:01.963 29869 29952 D testMdk : W libOpenSLES: Leaving PlaybackRate::GetRateRange (SL_RESULT_PARAMETER_INVALID) D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Using audio backend: OpenSL 11-23 10:34:01.963 29869 29952 D testMdk : D AudioTrack: start: not BaiduNav D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe0560100 ao opened: 1, reopen: 1, bad ao: 0 11-23 10:34:01.974 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio filter graph: 11-23 10:34:01.977 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI +-----------+ D testMdk : | src |default--[48000Hz fltp:stereo]--swr:default D testMdk : | (abuffer) | D testMdk : +-----------+ 11-23 10:34:01.977 29869 29952 D testMdk : D testMdk : +---------------+ D testMdk : swr:default--[48000Hz flt:stereo]--default| dst | D testMdk : | (abuffersink) | D testMdk : +---------------+ 11-23 10:34:01.977 29869 29952 D testMdk : D testMdk : +-------------+ D testMdk : src:default--[48000Hz fltp:stereo]--default| swr |default--[48000Hz flt:stereo]--dst:default 11-23 10:34:01.977 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI | (aresample) | D testMdk : +-------------+ 11-23 10:34:01.977 29869 29952 D testMdk : 11-23 10:34:01.977 29869 29952 D testMdk : 11-23 10:34:01.977 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >>>>>>>>1st audio frame (after seek) rendered: 1, ao: 0, a: 0, delta: 0 +0.021333 11-23 10:34:01.977 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >0 00:00:00.0/00:01:34 cache 1.9s/16194KB 539690KB/s 11-23 10:34:01.977 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI audio stream#1 AOT frame is sent 11-23 10:34:01.977 29869 29952 D testMdk : W VideoCapabilities: Unrecognized profile 2130706433 for video/avc W VideoCapabilities: Unrecognized profile 2130706434 for video/avc W VideoCapabilities: Unrecognized profile 2130706433 for video/avc W VideoCapabilities: Unrecognized profile 2130706434 for video/avc W VideoCapabilities: Unsupported mime video/divx W VideoCapabilities: Unsupported mime video/divx311 W VideoCapabilities: Unsupported mime video/divx4 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 W VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2 W VideoCapabilities: Unsupported mime video/x-ms-wmv W VideoCapabilities: Unsupported mime video/x-ms-wmv W VideoCapabilities: Unrecognized profile 2130706433 for video/avc W VideoCapabilities: Unrecognized profile 2130706434 for video/avc I VideoCapabilities: Unsupported profile 4 for video/mp4v-es W Utils : could not parse long range '175-174' D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.aac.decoder, mime: audio/mp4a-latm 11-23 10:34:02.050 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.amrnb.decoder, mime: audio/3gpp 11-23 10:34:02.050 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.amrwb.decoder, mime: audio/amr-wb 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qti.audio.decoder.flac, mime: audio/flac 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.g711.alaw.decoder, mime: audio/g711-alaw 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.g711.mlaw.decoder, mime: audio/g711-mlaw 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.gsm.decoder, mime: audio/gsm 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.mp3.decoder, mime: audio/mpeg 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.opus.decoder, mime: audio/opus 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.raw.decoder, mime: audio/raw 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.vorbis.decoder, mime: audio/vorbis 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.avc, mime: video/avc 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.avc.secure, mime: video/avc 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.h264.decoder, mime: video/avc 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.divx, mime: video/divx 11-23 10:34:02.051 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.divx311, mime: video/divx311 11-23 10:34:02.052 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.divx4, mime: video/divx4 11-23 10:34:02.052 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.h263, mime: video/3gpp 11-23 10:34:02.052 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.h263.decoder, mime: video/3gpp 11-23 10:34:02.052 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.hevc, mime: video/hevc video/hevc -profile: 2 11-23 10:34:02.052 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profileLevels count: 3 11-23 10:34:02.054 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 1 level: 65536 11-23 10:34:02.054 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 2 level: 65536 11-23 10:34:02.054 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI [Match]. 11-23 10:34:02.054 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.hevc.secure, mime: video/hevc video/hevc -profile: 2 11-23 10:34:02.054 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profileLevels count: 3 11-23 10:34:02.055 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 1 level: 65536 11-23 10:34:02.055 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 2 level: 65536 11-23 10:34:02.055 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI [Match]. 11-23 10:34:02.055 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.hevc.decoder, mime: video/hevc video/hevc -profile: 2 11-23 10:34:02.056 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profileLevels count: 1 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI profile: 1 level: 65536 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.mpeg2, mime: video/mpeg2 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.mpeg2.secure, mime: video/mpeg2 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.mpeg4, mime: video/mp4v-es 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.mpeg4.decoder, mime: video/mp4v-es 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vc1, mime: video/x-ms-wmv 11-23 10:34:02.057 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vc1.secure, mime: video/x-ms-wmv 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vp8, mime: video/x-vnd.on2.vp8 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.vp8.decoder, mime: video/x-vnd.on2.vp8 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vp9, mime: video/x-vnd.on2.vp9 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.qcom.video.decoder.vp9.secure, mime: video/x-vnd.on2.vp9 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaCodecInfo name: OMX.google.vp9.decoder, mime: video/x-vnd.on2.vp9 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI found codecs count: 2 | 0 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video/hevc AMediaCodec_createCodecByName: OMX.qcom.video.decoder.hevc 11-23 10:34:02.058 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ndk::AMediaCodec ndk::AMediaCodec_createCodecByName(const char ) via ndk: true 11-23 10:34:02.059 29869 29951 D testMdk : I OMXClient: Treble IOmx obtained D testMdk : ANDROID_LOG_DEBUG, MDK-JNI set h265 csd-0 11-23 10:34:02.080 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI try to convert extra data to annexb 11-23 10:34:02.081 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI nal field length: 4, annexb extradata size: 124 11-23 10:34:02.081 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI dso.load: libEGL.sotest: true 11-23 10:34:02.081 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI libEGL.so test load result 0xcea07e51... 11-23 10:34:02.081 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI dso path:  11-23 10:34:02.081 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal::Data::Data() thread: -849872528 11-23 10:34:02.081 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal::get() const allocate and initialize ThreadLocal data 11-23 10:34:02.081 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI No current opengl context in thread -849872528 11-23 10:34:02.081 29869 29951 D testMdk : I MDK.AndroidSurfaceBuffer: texture for SurfaceTexture constructor: 0 I MDK.AndroidSurfaceBuffer: texture in surface created thread: 0, SurfaceTexture persistent context: 0, attach once: 1 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI using AImageReader: false 11-23 10:34:02.082 29869 29951 D testMdk : D SurfaceUtils: connecting to surface 0xcd98b008, reason connectToSurface I MediaCodec: [OMX.qcom.video.decoder.hevc] setting surface generation to 30585857 D SurfaceUtils: disconnecting from surface 0xcd98b008, reason connectToSurface(reconnect) D SurfaceUtils: connecting to surface 0xcd98b008, reason connectToSurface(reconnect) I ExtendedACodec: setupVideoDecoder() I ExtendedACodec: Decoder will be in frame by frame mode D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AMediaCodecgetName(codec.get(), &name) ERROR@231virtual bool mdk::MediaCodecVideoDecoder::open(): (-10002) 11-23 10:34:02.092 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D SurfaceUtils: set up nativeWindow 0xcd98b008 for 3840x2160, color 0x7fa30c06, rotation 0, usage 0x20002900 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI decode stored recovery packets: 0 11-23 10:34:02.110 29869 29951 D testMdk : W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000 I chatty : uid=10249(org.qtproject.example.testMDK) CodecLooper identical 5 lines W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000 D SurfaceUtils: set up nativeWindow 0xcd98b008 for 3840x2160, color 0x7fa30c06, rotation 0, usage 0x20002900 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED 11-23 10:34:02.187 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED 11-23 10:34:02.239 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI MediaFormat: color-range: int32(2), color-standard: int32(6), color-transfer: int32(3), mime: string(video/raw), stride: int32(3840), slice-height: int32(2176), color-format: int32(2141391878), crop: unknown(9), android._dataspace: int32(281411584), hdr-static-info: data, width: int32(3840), height: int32(2160)} 11-23 10:34:02.239 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI unknown, tile: 128x128, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 11-23 10:34:02.240 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI size: 3840x2160, bytes: 3840x2176 11-23 10:34:02.240 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >164 00:00:00.2/00:01:34 cache 3.8s/35643KB 64559KB/s 11-23 10:34:02.241 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video stream#0 sending 1 invalid AOT frame @0.000000s. seeking: 0 11-23 10:34:02.266 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe0560100 1st video frame to render @0.000000s, sync time: 0.228000 11-23 10:34:02.266 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI VideoRenderer clear buffered frames 11-23 10:34:02.266 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0-track seek end video frame @0.000000 seekpos: -1 11-23 10:34:02.266 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe0560100 1st video frame to render @0.000000s, sync time: 0.228000 11-23 10:34:02.266 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >228 00:00:00.0/00:01:34 cache 3.7s/36529KB 45331KB/s diff |-228|>5ms update infms 11-23 10:34:02.266 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI video stream#0 AOT frame is sent 11-23 10:34:02.266 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI VideoRenderer WxH=1920.000000x1030.000000 1920.000000x1030.000000 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI update transform 2d. scale: (1.000000, 1.000000), orientation: 0 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI m: mat<4, 4>( 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal<std::unordered_map<const void , std::unique_ptr>>::Data::Data() thread: -853542544 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal<std::unordered_map<const void , std::unique_ptr>>::get() const allocate and initialize ThreadLocal data 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI new Context object 0xe5399e78(0) for native context handle 0xcdb3c600 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOGDEBUG, MDK-JNI ctx->api: 0xcc7d9800 11-23 10:34:02.272 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI probing gl context... native: 0x0 11-23 10:34:02.273 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_VERSION: 1.4 Android META-EGL 11-23 10:34:02.273 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL client extension is not supported 11-23 10:34:02.273 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_VENDOR: Android 11-23 10:34:02.273 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_CLIENT_APIS: OpenGL_ES 11-23 10:34:02.273 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI Current EGL dso path: /system/lib/libEGL.so 11-23 10:34:02.273 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GLESv2 dso loaded: /system/lib/libGLESv2.so 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI resolving gl common functions... 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal::Data::Data() thread: -853542544 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal::get() const allocate and initialize ThreadLocal data 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ThreadLocal::Data::Data() thread: -853542544 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI T ThreadLocal::get() const allocate and initialize ThreadLocal data 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI select gl api resolver for EGL|OpenGL|OpenGLES 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI using opengl api resolver: EGL 11-23 10:34:02.274 29869 29917 D testMdk : D testMdk : ANDROID_LOGDEBUG, MDK-JNI probing gl client context... major: 0 11-23 10:34:02.275 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_VENDOR: Qualcomm 11-23 10:34:02.275 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_RENDERER: Adreno (TM) 512 11-23 10:34:02.275 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_VERSION: OpenGL ES 3.2 V@269.0 (GIT@dcd4b96, I568c71768a) (Date:04/30/18) 11-23 10:34:02.275 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_SHADING_LANGUAGE_VERSION: OpenGL ES GLSL ES 3.20 11-23 10:34:02.275 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EGL_ANDROID_front_buffer_auto_refresh EGL_ANDROID_get_frame_timestamps EGL_ANDROID_get_native_client_buffer EGL_ANDROID_image_native_buffer EGL_ANDROID_presentation_time EGL_ANDROID_recordable EGL_EXT_create_context_robustness EGL_EXT_pixel_format_float EGL_EXT_protected_content EGL_EXT_yuv_surface EGL_IMG_context_priority EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image E D testMdk : ANDROID_LOG_DEBUG, MDK-JNI GL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_mutable_render_buffer EGL_KHR_no_config_context EGL_KHR_partial_update EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_KHR_wait_sync GL_AMD_compressed_ATC_texture GL_ANDROID_extension_pack_es31a GL_ARM_shader_framebuffer_fetch_depth_stencil GL_EXT_EGL_image_array GL_EXT_YUV_target GL_EXT_blit_framebuffer_params GL_EXT_buffer_storage GL_EXT_clip_cul D testMdk : ANDROID_LOG_DEBUG, MDK-JNI l_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_copy_image GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_external_buffer GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_primitive_bounding_box GL_EXT_protected_textures GL_EXT_robustness GL_EXT_sRGB GL_EXT_sRGB_write_control GL_E D testMdk : ANDROID_LOG_DEBUG, MDK-JNI XT_shader_framebuffer_fetch GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_type_2_10_10_10_REV GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_no_error GL_KHR_texture_compression_astc_h D testMdk : ANDROID_LOG_DEBUG, MDK-JNI dr GL_KHR_texture_compression_astc_ldr GL_NV_shader_noperspective_interpolation GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_element_index_uint GL_OES_framebuffer_object GL_OES_get_program_binary GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation G D testMdk : ANDROID_LOG_DEBUG, MDK-JNI L_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_3D GL_OES_texture_compression_astc GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_QCOM_alpha_test GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_text D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ure_foveated GL_QCOM_tiled_rendering 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI OpenGL Context thread: -853542544 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI OpenGL ES3.2 No profile, EGL140, GLSL320 D testMdk : Features PBO: 1, RG texture: 1, 16bit texture: 1 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI resolving gl extensions... 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI select gl api resolver for EGL|OpenGL|OpenGLES 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI using opengl api resolver: EGL 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI context version: 320 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI extension resolved: glMapBufferOES 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 11-23 10:34:02.276 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI gl api resolved. thread@ -853542544 11-23 10:34:02.277 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D testMdk : ANDROID_LOG_DEBUG, MDK-JNI new OpenGLVideo 0xe53b2a30 in ctx 0xe5399e78 11-23 10:34:02.277 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe5399e78/0xcdb3c600 Context::setLocalData local data 0xe53bf780 for key: 0x3. size: 1 11-23 10:34:02.277 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe5399e78/0xcdb3c600 Context::setLocalData local data 0xe53c02a8 for key: 0x2. size: 2 11-23 10:34:02.278 29869 29917 D testMdk : I MDK.AndroidSurfaceBuffer: context change: 0x0=>>0xe5399e78 I MDK.AndroidSurfaceBuffer: try to detach previous SurfaceTexture D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0xe5399e78/0xcdb3c600 Context::setLocalData local data 0xe53c0238 for key: 0x4. size: 3 11-23 10:34:02.279 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI unknown, tile: 128x128, bpc:0, bpp:0(), channels:(), map: 0 0 0 0 => mapped rgba, bpc:8, bpp:32(32), channels:(4), map: 0 1 2 3 11-23 10:34:02.279 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI RGBA8 | RGBA | UNSIGNED_BYTE 11-23 10:34:02.279 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI frame color: bt2020 pq bt2020nc narrow. gamma: 0.000000, signal peak: 49.261086 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI - 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI output color: bt709 unknown unknown full. gamma: 2.200000, signal peak: 1.000000 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI rgb primaries matrix: mat<3, 3>( 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1.66049 -0.587641 -0.07285 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -0.12455 1.1329 -0.00834939 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI -0.0181508 -0.100579 1.11873 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI color transform: mat<4, 4>( 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EQ: mat<4, 4>( 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-23 10:34:02.280 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI material changed: 0x0=>0x4b8a 11-23 10:34:02.281 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI planar: 0, alpha: 1, texture 2d: 0, external: 1, rg semi-planar: 0, 16=>8: 0, xyz: 0, generic packed yuv: 0, cocgsy: 0, primaries diff: 1, trc: 3=>1, tone map: 1 11-23 10:34:02.285 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI bind attribute: a_Position => 0 11-23 10:34:02.297 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI bind attribute: a_TexCoords0 => 1 11-23 10:34:02.297 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform locations: 11-23 10:34:02.313 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI u_Texture0: 8 11-23 10:34:02.313 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI u_Matrix: 0, u_TexMatrix: 1 11-23 10:34:02.313 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI update built-in uniforms 11-23 10:34:02.313 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI EQ: mat<4, 4>( 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 1 0 0 0 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 1 0 0 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 1 0 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI 0 0 0 1 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ) 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_colorMatrix: 2 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_ScaleA: -1 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_sigPeakIn: 4 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_sigPeakOut: 5 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_primMatrix: 6 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI uniform cb.u_GammaOut: 7 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI updating geometry... 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating vbo... 11-23 10:34:02.314 29869 29917 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI creating vao... 11-23 10:34:02.314 29869 29917 D testMdk : W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000 D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >469 00:00:00.4/00:01:34 cache 3.8s/33941KB 34KB/s diff |-71|>5ms update 26.1ms 24.3fps draw 6/37 +68ms gpu 35317/66668us 11-23 10:34:02.527 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >789 00:00:00.7/00:01:34 cache 4.0s/38100KB 467795KB/s diff |-99|>5ms update 35.3ms 24.5fps draw 4/37 +97ms gpu 31016/66668us 11-23 10:34:02.823 29869 29951 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >1764 00:00:01.8/00:01:34 cache 3.1s/38177KB 50656KB/s 11-23 10:34:03.842 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2084 00:00:02.1/00:01:34 cache 2.8s/38169KB 50656KB/s 11-23 10:34:04.161 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2404 00:00:02.4/00:01:34 cache 2.4s/38162KB 50656KB/s 11-23 10:34:04.482 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >2814 00:00:02.7/00:01:34 cache 2.1s/38154KB 50656KB/s 11-23 10:34:04.802 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3044 00:00:03.1/00:01:34 cache 1.8s/38147KB 50656KB/s 11-23 10:34:05.121 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3364 00:00:03.4/00:01:34 cache 1.5s/38139KB 50656KB/s 11-23 10:34:05.442 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >3684 00:00:03.7/00:01:34 cache 1.2s/38132KB 50656KB/s 11-23 10:34:05.762 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4003 00:00:04.0/00:01:34 cache 0.8s/38124KB 50656KB/s 11-23 10:34:06.081 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4324 00:00:04.3/00:01:34 cache 0.5s/38117KB 50656KB/s 11-23 10:34:06.401 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI >4644 00:00:04.7/00:01:34 cache 0.2s/38109KB 50656KB/s 11-23 10:34:06.722 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI buffering progress 0% 11-23 10:34:06.888 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI default 0xe53447c0 FrameReader::update MediaStatus 0X124=>0X114 11-23 10:34:06.888 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI ++++++++++++BUFFERING START++++++++++++ 11-23 10:34:06.888 29869 29952 D testMdk : D testMdk : ANDROID_LOG_DEBUG, MDK-JNI D : PlayerBase::stop() from IPlayer D AudioTrack: stop() called with 240640 frames delivered

wang-bin commented 1 year ago

卡住的原因出在qt的update不一定会触发重绘,于是渲染器里的视频帧没有全部被渲染,不渲染就不能被解码器回收,解码器就无法输出新的帧。在渲染性能跟不上的时候容易出现,windows上也复现了。 可以在renderVideo()后面再直接调一次update()应该能解决问题