wireshare的lua插件 -- h264extractor
GitHub:
https://github.com/volvet/h264extractor
1. Open the wireshark path on macos
/Applications/Wireshark.app/Contents/Resources/share/wireshark
2. Change the init.lua, add this line in the file :
dofile(DATA_DIR.."rtp_h264_extractor.lua")
3. Change the file path in rtp_h264_extractor.lua
log("Dumping H264 stream to " .. filename)
--local fp = io.open(filename, "wb")
local fp = io.open("/Users/andy.d.hu/Downloads/dump.264", "wb")
4. Reload the plugin in wireshark
5. use filter udp.srcport == 40002 to filter the RTC package stream
6. Decode the payload type 109 as H.264 stream
6. Extractor h264 stream from RTP, then use ffplay to paly it

浙公网安备 33010602011771号