Wireshark如何导出h264码流和h265码流
https://blog.csdn.net/hello_next_day/article/details/100030731?spm=1001.2014.3001.5501
------------------------------------------------------
https://github.com/volvet/h264extractor
rtp_h264_extractor.lua
rtp_opus_extractor.lua
-----------------------------------------------------
https://gitee.com/taotie/WiresharkPlugin
rtp_h264_export.lua用于解析RTP包中的H264编码数据。本插件参考作者HuangQiangxiong(qiangxiong.huang@gmail.com)所作的H264解析插件,并进行了修改。
rtp_h265_export.lua用于解析RTP包中的H265编码数据,并提取裸数据到码流文件中。为了该插件能识别出H265协议,在低版本的wireshark中需导入rtp_h265.lua插件;对于Wireshark3.0以上的版本已经支持了H265的解析,因而不需要导入rtp_h265.lua插件。
rtp_ps.lua和rtp_ps_export.lua插件可以实现对PS媒体流进行解析及导出裸流到文件中,根据PS中的视频流类型自动识别H264码流或H265码流。
rtp_pcma_export.lua、
rtp_pcmu_export.lua、
rtp_silk_export.lua、
rtp_g729_export.lua、
rtp_amr_export.lua等插件用于对RTP流中的相应格式的音频流进行解析并导出成文件。
-----------------------------------------------------
>>> init.lua
if not running_superuser or run_user_scripts_when_superuser then
dofile(DATA_DIR.."console.lua")
dofile(DATA_DIR.."rtp_h264_extractor.lua")
dofile(DATA_DIR.."rtp_opus_extractor.lua")
dofile(DATA_DIR.."rtp_h264_export.lua")
dofile(DATA_DIR.."rtp_h265_export.lua")
dofile(DATA_DIR.."rtp_ps.lua")
dofile(DATA_DIR.."rtp_ps_export.lua")
dofile(DATA_DIR.."rtp_pcma_export.lua")
dofile(DATA_DIR.."rtp_pcmu_export.lua")
dofile(DATA_DIR.."rtp_silk_export.lua")
dofile(DATA_DIR.."rtp_g729_export.lua")
dofile(DATA_DIR.."rtp_amr_export.lua")
end