wireshare的lua插件 -- h264extractor

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

Usage:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 @   AndyHu518  阅读(151)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
· 为什么 退出登录 或 修改密码 无法使 token 失效
点击右上角即可分享
微信分享提示