1、WireShark 解析视频流
1.1 安装插件
下载rtp_h264_extractor.lua文件,放入Wireshark安装目录
下载地址:https://download.csdn.net/download/tjpuzm/88381821

在init.lua中添加如下代码
dofile(DATA_DIR.."rtp_h264_extractor.lua")

重新打开wireshark,在工具中多出Export H264 to file项

1.2 导出H264视频流

右键Decode As ----

将UDP解析为RTP

编辑->首选项->Protocols,配置H264对应参数

导出264视频数据包


导出Log如下

1.3 查看视频流
使用相关工具elecardstreameyetools.zip查看视频流
下载地址:https://download.csdn.net/download/tjpuzm/88381821

2、MTK其他视频流分析方案
2.1 抓取Log
adb root
adb shell
su
setenforce 0
setprop vendor.mtk.c2.enable.comp.log 2
setprop vendor.mtk.c2.enable.vdec.log 2
setprop vendor.mtk.c2.enable.bm.log 2
setprop vendor.mtk.c2.enable.bm.internal.log 1
setprop vendor.mtk.c2.enable.vcodec.log 4
setprop vendor.mtk.c2.vdec.dump.input 1
setprop vendor.mtk.c2.vdec.dump.output 1
setprop vendor.mtk.c2.vdec.dump.output.cc 1
手机不要重启,开始复现,完成后上传整个目录:data/vendor/vcodec/
2.2 分析数据
