Open fudaye opened 4 years ago
大神您好:用了您这个库之后,播放m3u8文件有图像没有声音,也没有错误日志。
播放链接:http://demo2-live.tianchiapi.com/group1/hls/5c78a8a1e5dad94294c3cf23.m3u8?auth_key=4758868789-0-0-ca53d9083df3235591de88115769f12f
音频编码如下:
看了库的介绍应该支持mp2音频解码,但是播放之后还是没有声音。求指导,谢谢。
附一个播放日志不知道有没有用:
_10-27 15:26:29.318 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.330 1873-1873/com.example.liuyongkui.tvdemo I/DefaultRenderersFactory: Loaded FfmpegAudioRenderer. 10-27 15:26:29.330 1873-1873/com.example.liuyongkui.tvdemo I/ExoPlayerImpl: Init 22392122 [ExoPlayerLib/2.11.7] [kungfupanda, MiBOX3_PRO, Xiaomi, 22] 10-27 15:26:29.332 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.333 1873-1873/com.example.liuyongkui.tvdemo D/chuangyuan.ycj.videolibrary.video.ExoUserPlayer: onPlayerStateChanged:2+playWhenReady:true 10-27 15:26:29.336 1873-1873/com.example.liuyongkui.tvdemo D/MainDetailedActivity: onResume 10-27 15:26:29.336 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.371 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.537 1873-2320/com.example.liuyongkui.tvdemo D/MediaCodec: [SVP] MediaCodec::Init=AMessage(what = 'init', target = 17) = { string name = "OMX.MTK.VIDEO.DECODER.AVC" int32_t nameIsType = 0 } 10-27 15:26:29.537 1873-2329/com.example.liuyongkui.tvdemo I/OMXClient: Using client-side OMX mux. 10-27 15:26:29.540 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [SVP] msg=AMessage(what = 'allo', target = 16) = { string componentName = "OMX.MTK.VIDEO.DECODER.AVC" } 10-27 15:26:29.547 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: acodec.video.bstrdump 0 10-27 15:26:29.547 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: acodec.video.rawdump 0 10-27 15:26:29.549 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] Allocating 10 buffers of size 5767168 on input port 10-27 15:26:29.555 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [MJC][HAL_PIXEL_FORMAT_NV12_BLK] -> HAL_PIXEL_FORMAT_YUV_PRIVATE (1) 10-27 15:26:29.555 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: native_window_set_buffers_geometry W(1920), H(1080), Stride(1920), SliceH(1088) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 15 failed: -2147483648 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 14 failed: -2147483648 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] Allocating 13 meta buffers on output port minundeq:2 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467504 (pointer = 0x7f8ed20000) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469520 (pointer = 0x7f8ed20020) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073344 (pointer = 0x7f8ed20040) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469968 (pointer = 0x7f8ed20060) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073680 (pointer = 0x7f8ed20080) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467392 (pointer = 0x7f8ed200a0) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469744 (pointer = 0x7f8ed200c0) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073568 (pointer = 0x7f8ed200e0) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469856 (pointer = 0x7f8ed20100) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111074016 (pointer = 0x7f8ed20120) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467280 (pointer = 0x7f8ed20140) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071664 (pointer = 0x7f8ed20160) 10-27 15:26:29.558 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123465152 (pointer = 0x7f8ed20180) 10-27 15:26:29.560 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: submitOutputMetaBuffers send FTB for ouptut 10-27 15:26:29.562 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123465152 for graphic buffer 0x7f9c44a2c0 10-27 15:26:29.564 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071664 for graphic buffer 0x7f9c44af00 10-27 15:26:29.570 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123467280 for graphic buffer 0x7f9c44ce80 10-27 15:26:29.592 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111074016 for graphic buffer 0x7f9c44d120 10-27 15:26:29.598 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469856 for graphic buffer 0x7f9c44d740 10-27 15:26:29.601 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073568 for graphic buffer 0x7f9c44d900 10-27 15:26:29.610 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469744 for graphic buffer 0x7f9c44dac0 10-27 15:26:29.613 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123467392 for graphic buffer 0x7f9c44dc80 10-27 15:26:29.628 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073680 for graphic buffer 0x7f9c73c100 10-27 15:26:29.632 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469968 for graphic buffer 0x7f9c73c3a0 10-27 15:26:29.635 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073344 for graphic buffer 0x7f9c73c720 10-27 15:26:29.737 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [MJC][HAL_PIXEL_FORMAT_NV12_BLK] -> HAL_PIXEL_FORMAT_YUV_PRIVATE (1) 10-27 15:26:29.737 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: native_window_set_buffersgeometry W(1920), H(1080), Stride(1920), SliceH(1088) 10-27 15:26:29.739 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 19 failed: -2147483648 10-27 15:26:29.739 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 18 failed: -2147483648 10-27 15:26:29.748 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] Allocating 17 meta buffers on output port minundeq:2 10-27 15:26:29.748 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467392 (pointer = 0x7f8ed20000) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073568 (pointer = 0x7f8ed20020) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073680 (pointer = 0x7f8ed20040) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469744 (pointer = 0x7f8ed20060) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123465152 (pointer = 0x7f8ed20080) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071440 (pointer = 0x7f8ed200a0) 10-27 15:26:29.750 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070992 (pointer = 0x7f8ed200c0) 10-27 15:26:29.750 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123466048 (pointer = 0x7f8ed200e0) 10-27 15:26:29.752 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123465040 (pointer = 0x7f8ed20100) 10-27 15:26:29.752 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070096 (pointer = 0x7f8ed20120) 10-27 15:26:29.752 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073008 (pointer = 0x7f8ed20140) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070320 (pointer = 0x7f8ed20160) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070768 (pointer = 0x7f8ed20180) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123464928 (pointer = 0x7f8ed201a0) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111069984 (pointer = 0x7f8ed201c0) 10-27 15:26:29.754 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071552 (pointer = 0x7f8ed201e0) 10-27 15:26:29.754 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071104 (pointer = 0x7f8ed20200) 10-27 15:26:29.758 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071104 for graphic buffer 0x7f9c44dd60 10-27 15:26:29.764 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071552 for graphic buffer 0x7f9c44d9e0 10-27 15:26:29.768 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111069984 for graphic buffer 0x7f9c44d200 10-27 15:26:29.772 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123464928 for graphic buffer 0x7f9c44a1e0 10-27 15:26:29.775 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070768 for graphic buffer 0x7f9c44a8e0 10-27 15:26:29.781 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070320 for graphic buffer 0x7f9c44ccc0 10-27 15:26:29.792 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073008 for graphic buffer 0x7f9c44d120 10-27 15:26:29.797 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070096 for graphic buffer 0x7f9c44d900 10-27 15:26:29.799 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123465040 for graphic buffer 0x7f9c44dc80 10-27 15:26:29.807 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123466048 for graphic buffer 0x7f9c73c3a0 10-27 15:26:29.807 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: submitOutputMetaBuffers send FTB for ouptut 10-27 15:26:29.814 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070992 for graphic buffer 0x7f9c73c800 10-27 15:26:29.816 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071440 for graphic buffer 0x7f9c73caa0 10-27 15:26:29.819 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123465152 for graphic buffer 0x7f9c73cc60 10-27 15:26:29.833 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469744 for graphic buffer 0x7f9c73cfe0 10-27 15:26:29.835 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073680 for graphic buffer 0x7f9c73d1a0 10-27 15:26:29.868 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111071104, time:80000,flags:0x00000000, len:8 10-27 15:26:29.869 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: sendFormatChange mime=video/raw 10-27 15:26:29.874 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: queueBuffer, sys:338405078595,refpts:80,systime:338405078 10-27 15:26:29.905 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111071552, time:120000,flags:0x02000000, len:8 10-27 15:26:29.916 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111069984, time:140000,flags:0x02000000, len:8 10-27 15:26:29.926 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111070096, time:160000,flags:0x02000000, len:8 10-27 15:26:29.933 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111073008, time:180000,flags:0x02000000, len:8 10-27 15:26:29.940 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111070320, time:200000,flags:0x02000000, len:8 10-27 15:26:29.946 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111070768, time:220000,flags:0x02000000, len:8 10-27 15:26:29.951 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4123464928, time:240000,flags:0x02000000, len:8 10-27 15:26:29.957 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4123465040, time:260000,flags:0x02000000, len:8 10-27 15:26:30.036 1873-1873/com.example.liuyongkui.tvdemo D/chuangyuan.ycj.videolibrary.video.ExoUserPlayer: onPlayerStateChanged:3+playWhenReady:true 10-27 15:26:30.036 1873-1873/com.example.liuyongkui.tvdemo D/chuangyuan.ycj.videolibrary.video.ExoUserPlayer: onPlayerStateChanged:准备播放
大神您好:用了您这个库之后,播放m3u8文件有图像没有声音,也没有错误日志。
播放链接:http://demo2-live.tianchiapi.com/group1/hls/5c78a8a1e5dad94294c3cf23.m3u8?auth_key=4758868789-0-0-ca53d9083df3235591de88115769f12f
音频编码如下:
看了库的介绍应该支持mp2音频解码,但是播放之后还是没有声音。求指导,谢谢。
附一个播放日志不知道有没有用:
_10-27 15:26:29.318 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.330 1873-1873/com.example.liuyongkui.tvdemo I/DefaultRenderersFactory: Loaded FfmpegAudioRenderer. 10-27 15:26:29.330 1873-1873/com.example.liuyongkui.tvdemo I/ExoPlayerImpl: Init 22392122 [ExoPlayerLib/2.11.7] [kungfupanda, MiBOX3_PRO, Xiaomi, 22] 10-27 15:26:29.332 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.333 1873-1873/com.example.liuyongkui.tvdemo D/chuangyuan.ycj.videolibrary.video.ExoUserPlayer: onPlayerStateChanged:2+playWhenReady:true 10-27 15:26:29.336 1873-1873/com.example.liuyongkui.tvdemo D/MainDetailedActivity: onResume 10-27 15:26:29.336 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.371 1873-1873/com.example.liuyongkui.tvdemo D/getUiMode: 4 10-27 15:26:29.537 1873-2320/com.example.liuyongkui.tvdemo D/MediaCodec: [SVP] MediaCodec::Init=AMessage(what = 'init', target = 17) = { string name = "OMX.MTK.VIDEO.DECODER.AVC" int32_t nameIsType = 0 } 10-27 15:26:29.537 1873-2329/com.example.liuyongkui.tvdemo I/OMXClient: Using client-side OMX mux. 10-27 15:26:29.540 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [SVP] msg=AMessage(what = 'allo', target = 16) = { string componentName = "OMX.MTK.VIDEO.DECODER.AVC" } 10-27 15:26:29.547 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: acodec.video.bstrdump 0 10-27 15:26:29.547 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: acodec.video.rawdump 0 10-27 15:26:29.549 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] Allocating 10 buffers of size 5767168 on input port 10-27 15:26:29.555 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [MJC][HAL_PIXEL_FORMAT_NV12_BLK] -> HAL_PIXEL_FORMAT_YUV_PRIVATE (1) 10-27 15:26:29.555 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: native_window_set_buffers_geometry W(1920), H(1080), Stride(1920), SliceH(1088) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 15 failed: -2147483648 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 14 failed: -2147483648 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] Allocating 13 meta buffers on output port minundeq:2 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467504 (pointer = 0x7f8ed20000) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469520 (pointer = 0x7f8ed20020) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073344 (pointer = 0x7f8ed20040) 10-27 15:26:29.556 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469968 (pointer = 0x7f8ed20060) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073680 (pointer = 0x7f8ed20080) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467392 (pointer = 0x7f8ed200a0) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469744 (pointer = 0x7f8ed200c0) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073568 (pointer = 0x7f8ed200e0) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469856 (pointer = 0x7f8ed20100) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111074016 (pointer = 0x7f8ed20120) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467280 (pointer = 0x7f8ed20140) 10-27 15:26:29.557 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071664 (pointer = 0x7f8ed20160) 10-27 15:26:29.558 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123465152 (pointer = 0x7f8ed20180) 10-27 15:26:29.560 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: submitOutputMetaBuffers send FTB for ouptut 10-27 15:26:29.562 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123465152 for graphic buffer 0x7f9c44a2c0 10-27 15:26:29.564 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071664 for graphic buffer 0x7f9c44af00 10-27 15:26:29.570 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123467280 for graphic buffer 0x7f9c44ce80 10-27 15:26:29.592 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111074016 for graphic buffer 0x7f9c44d120 10-27 15:26:29.598 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469856 for graphic buffer 0x7f9c44d740 10-27 15:26:29.601 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073568 for graphic buffer 0x7f9c44d900 10-27 15:26:29.610 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469744 for graphic buffer 0x7f9c44dac0 10-27 15:26:29.613 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123467392 for graphic buffer 0x7f9c44dc80 10-27 15:26:29.628 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073680 for graphic buffer 0x7f9c73c100 10-27 15:26:29.632 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469968 for graphic buffer 0x7f9c73c3a0 10-27 15:26:29.635 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073344 for graphic buffer 0x7f9c73c720 10-27 15:26:29.737 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [MJC][HAL_PIXEL_FORMAT_NV12_BLK] -> HAL_PIXEL_FORMAT_YUV_PRIVATE (1) 10-27 15:26:29.737 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: native_window_set_buffersgeometry W(1920), H(1080), Stride(1920), SliceH(1088) 10-27 15:26:29.739 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 19 failed: -2147483648 10-27 15:26:29.739 1873-2329/com.example.liuyongkui.tvdemo W/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] setting nBufferCountActual to 18 failed: -2147483648 10-27 15:26:29.748 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] Allocating 17 meta buffers on output port minundeq:2 10-27 15:26:29.748 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123467392 (pointer = 0x7f8ed20000) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073568 (pointer = 0x7f8ed20020) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073680 (pointer = 0x7f8ed20040) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123469744 (pointer = 0x7f8ed20060) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123465152 (pointer = 0x7f8ed20080) 10-27 15:26:29.749 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071440 (pointer = 0x7f8ed200a0) 10-27 15:26:29.750 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070992 (pointer = 0x7f8ed200c0) 10-27 15:26:29.750 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123466048 (pointer = 0x7f8ed200e0) 10-27 15:26:29.752 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123465040 (pointer = 0x7f8ed20100) 10-27 15:26:29.752 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070096 (pointer = 0x7f8ed20120) 10-27 15:26:29.752 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111073008 (pointer = 0x7f8ed20140) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070320 (pointer = 0x7f8ed20160) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111070768 (pointer = 0x7f8ed20180) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4123464928 (pointer = 0x7f8ed201a0) 10-27 15:26:29.753 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111069984 (pointer = 0x7f8ed201c0) 10-27 15:26:29.754 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071552 (pointer = 0x7f8ed201e0) 10-27 15:26:29.754 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] allocated meta buffer with ID 4111071104 (pointer = 0x7f8ed20200) 10-27 15:26:29.758 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071104 for graphic buffer 0x7f9c44dd60 10-27 15:26:29.764 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071552 for graphic buffer 0x7f9c44d9e0 10-27 15:26:29.768 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111069984 for graphic buffer 0x7f9c44d200 10-27 15:26:29.772 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123464928 for graphic buffer 0x7f9c44a1e0 10-27 15:26:29.775 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070768 for graphic buffer 0x7f9c44a8e0 10-27 15:26:29.781 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070320 for graphic buffer 0x7f9c44ccc0 10-27 15:26:29.792 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073008 for graphic buffer 0x7f9c44d120 10-27 15:26:29.797 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070096 for graphic buffer 0x7f9c44d900 10-27 15:26:29.799 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123465040 for graphic buffer 0x7f9c44dc80 10-27 15:26:29.807 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123466048 for graphic buffer 0x7f9c73c3a0 10-27 15:26:29.807 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: submitOutputMetaBuffers send FTB for ouptut 10-27 15:26:29.814 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111070992 for graphic buffer 0x7f9c73c800 10-27 15:26:29.816 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111071440 for graphic buffer 0x7f9c73caa0 10-27 15:26:29.819 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123465152 for graphic buffer 0x7f9c73cc60 10-27 15:26:29.833 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4123469744 for graphic buffer 0x7f9c73cfe0 10-27 15:26:29.835 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: [OMX.MTK.VIDEO.DECODER.AVC] submitting output meta buffer ID 4111073680 for graphic buffer 0x7f9c73d1a0 10-27 15:26:29.868 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111071104, time:80000,flags:0x00000000, len:8 10-27 15:26:29.869 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: sendFormatChange mime=video/raw 10-27 15:26:29.874 1873-2329/com.example.liuyongkui.tvdemo D/ACodec: queueBuffer, sys:338405078595,refpts:80,systime:338405078 10-27 15:26:29.905 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111071552, time:120000,flags:0x02000000, len:8 10-27 15:26:29.916 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111069984, time:140000,flags:0x02000000, len:8 10-27 15:26:29.926 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111070096, time:160000,flags:0x02000000, len:8 10-27 15:26:29.933 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111073008, time:180000,flags:0x02000000, len:8 10-27 15:26:29.940 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111070320, time:200000,flags:0x02000000, len:8 10-27 15:26:29.946 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4111070768, time:220000,flags:0x02000000, len:8 10-27 15:26:29.951 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4123464928, time:240000,flags:0x02000000, len:8 10-27 15:26:29.957 1873-2329/com.example.liuyongkui.tvdemo E/ACodec: [MTK.AVC] FBD 4123465040, time:260000,flags:0x02000000, len:8 10-27 15:26:30.036 1873-1873/com.example.liuyongkui.tvdemo D/chuangyuan.ycj.videolibrary.video.ExoUserPlayer: onPlayerStateChanged:3+playWhenReady:true 10-27 15:26:30.036 1873-1873/com.example.liuyongkui.tvdemo D/chuangyuan.ycj.videolibrary.video.ExoUserPlayer: onPlayerStateChanged:准备播放