wireshare的lua插件 -- h264extractor

GitHub:
https://github.com/volvet/h264extractor

Usage:

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

  

posted @ 2023-02-07 18:17  AndyHu518  阅读(133)  评论(0编辑  收藏  举报