MediaExtractor+MediaCodec+MediaMuxer个人备忘录

1.目前遇到的几个问题记录:

1.部分编码格式的视频、音频无法解码
2.MPEG4_HD_ZTE_AXON.mp4宽高编码异常,显示为源坐标系的指定宽高区域
3.不能对多音频硬解问题
4.ac-3,杜比音频无法硬解问题
5.分流、解码、编码、音视频合成流程中耗用内存过高,kswapd0长时间占用cpu,导致进程异常终止问题

2.视频编码测试结果记录:

均按原始视频宽高解码,并编码为H264(video/avc)/AAC(audio/mp4a-latm)

编解码效率
file mime decode encode
avatar-stereo-3d-trailer_eng.ts AVC High@L4 + AC-3 audio fail audio fail
Hisense_3D_1080P_mpeg2.ts MPEG Video V2 Main@High + MPEG Audio V1L2 ok ok
4K_bianxingjingang.mp4 AVC [email protected] + AAC V2LC video fail video fail
H264_4k_Cha Cha_16M_30fps_3min.mp4 AVC [email protected] + AAC V2LC video fail video fail
4k_H264_CBR_40Mbps_p30.ts AVC [email protected] + AAC V2LC video fail video fail
facebook_H265_CBR_25M_30fps.ts HEVC Main@L5@Main + AC-3 fail fail
H264_xinaluowei_4K_30M_30fps_3min.ts AVC [email protected] + AAC V4LC fail fail
H265_4K_FeelThePowerOfTheCurve_30M_29.97fps.ts HEVC Main@L5@Main + AAC V4LC fail fail
beijinghuanyingni_CBR_AVC_Main_L3.ts AVC Main@L3 + MPEG Audio V1L2 ok ok
[email protected]_Mpeg1layer2.ts AVC [email protected] + MPEG Audio V1L2 ok ok
Batman1_CBR_AVC_Main_L4_AAC.ts AVC Main@L4 + AAC V2LC ok ok
[email protected]_AC3_5.1channel.ts AVC [email protected] + AC-3 + AC-3 audio fail audio fail
H264-AVCHP-AAC_MEZZ_TRANSCENCE_1080p_8M.ts AVC High@L4 + AAC V2LC ok ok
hunanweishi_VBR_AVC_HighL4_7_40M.ts AVC High@L4 + MPEG Audio V1L2 ok ok
H264_main_AC3.ts AVC [email protected] + E-AC-3 audio fail audio fail
main_profile.ts AVC / AVC Main@L4 / Main@L4 + MPEG Audio V1L2 ok ok
HEVC_4K_2014milanshizhuangxiu.ts HEVC Main@L5@Main + AAC V4LC video decode sometimes SIGABRT audio fail fail
3_5Mbps_MPEG4_ASP_720p_AAC_The_Legend_of_Zorro.mp4 MPEG-4 Visual Advanced Simple@L5 + AAC LC ok ok
BenQ_MPEG4_SD_2M.ts MPEG-4 Visual Simple@L2 + AAC V4LC fail fail
HD_MPEG_4Visual_120Mbps_1920x1080_AACLC_122Kbps_2channels.mp4 MPEG-4 Visual Simple@L1 + AAC LC ok ok
MPEG4_HD_ZTE_AXON.mp4 MPEG-4 Visual Simple@L1 + AAC LC ok ok
MPEG_Vedio_Version_2_MPEG_Audio_Version_1_Layer_2.ts MPEG Video V2 Main@Main + MPEG Audio V1L2 ok ok
tezhongbudui-MPGE2-MPEG 1 Layer 2.ts MPEG Video V2 Main@Main + MPEG Audio V1L2 ok ok
MPEG2_1080p_24M_MPEG1_layer2_7min.ts MPEG Video V2 Main@High + MPEG Audio V1L2 video fail video fail,audio heap size break
H264_test_VBR_10M_6M.ts AVC [email protected] + AAC V2LC audio fail audio fail
HD_1080P_VBR.ts AVC [email protected] + AAC V2LC ok ok
AAC_bianxingjingang3-AVCHP_1920x1080_6M.ts AVC High@L4 + AAC V4LC ok ok
Batman1_CBR_AVC_Main_L4_AAC.ts AVC Main@L4 + AAC V2LC ok ok
Madagascar3.ts AVC [email protected]+ MPEG Audio V1L2 ok ok
G.5minues highprofile_H264_Mpeg1layer3.ts AVC [email protected] + MPEG Audio V1L3 ok ok
MPEG_1_sec_keyframe_H264_Mpeg1layer3.ts AVC [email protected] + MPEG Audio V1L3 ok ok
6ch_voices_id_7_dd_h264.ts AVC High@L4 + AC-3 audio fail fail
avatar-stereo-3d-trailer_eng.ts AVC High@L4 + AC-3 audio fail fail
shizhuangxiu_zuoyou_3D_H264_High_L4_0_AAC.ts AVC High@L4 + AAC V4LC audio fail audio fail
4K_h265_cbr_30M_p24.ts HEVC Main@L5@Main + AAC V4LC audio fail audio fail
H265_sanxingTV_4K_10M_30fps_3min.ts HEVC Main@L5@Main + AAC V4LC ok video fail
BTV体育频道-广告_1080i.ts AVC High@L4 + AAC V2LC ok softaac2 data erro
shandongBQ-UDP8148.ts AVC Main@L3 + MPEG Audio V1L2 ok ok
1793_320.ts MPEG Video V2 Main@Main + MPEG Audio V1L2 ok ok
yulejingxuan2.ts AVC Baseline@L3 + MPEG Audio V1L2 ok ok
浙江卫视_奔跑吧兄弟2_720p_7M_10min.ts AVC High@L4 + AAC V2LC ok ok
Mysterious_Island_720x576_2M_15min.ts AVC [email protected] + AAC V4LC ok ok
BTV_GQ_UDP8000.ts AVC High@L4 + AAC V2LC ok ok
CCTV5-体育-高清1080P.ts AVC High@L4 + AC-3 audio fail audio fail
Madagascar3.ts AVC [email protected] +MPEG Audio V1L2 ok ok

你可能感兴趣的:(MediaExtractor+MediaCodec+MediaMuxer个人备忘录)