{"id":42414116,"url":"https://github.com/tongpengfei/bin_inspector","last_synced_at":"2026-01-28T01:53:50.054Z","repository":{"id":50433575,"uuid":"470532700","full_name":"tongpengfei/bin_inspector","owner":"tongpengfei","description":"A file format decoder engine, develop your decoder by Lua","archived":false,"fork":false,"pushed_at":"2023-06-09T10:54:48.000Z","size":15886,"stargazers_count":21,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-06-09T11:24:27.813Z","etag":null,"topics":["aac-decoder","bininspector","decoder","flv-decoder","h264-decoder","h265-decoder","mp3-decoder","mp4-decoder","ogg","opus","pcap-decoder","pcapng-decoder","pe-decoder","rtcp-decoder","rtp-decoder","wav-decoder","yuv-decoder"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tongpengfei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-16T10:24:36.000Z","updated_at":"2023-06-01T08:53:19.000Z","dependencies_parsed_at":"2023-02-17T17:00:52.900Z","dependency_job_id":null,"html_url":"https://github.com/tongpengfei/bin_inspector","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/tongpengfei/bin_inspector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongpengfei%2Fbin_inspector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongpengfei%2Fbin_inspector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongpengfei%2Fbin_inspector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongpengfei%2Fbin_inspector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tongpengfei","download_url":"https://codeload.github.com/tongpengfei/bin_inspector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tongpengfei%2Fbin_inspector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28833066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aac-decoder","bininspector","decoder","flv-decoder","h264-decoder","h265-decoder","mp3-decoder","mp4-decoder","ogg","opus","pcap-decoder","pcapng-decoder","pe-decoder","rtcp-decoder","rtp-decoder","wav-decoder","yuv-decoder"],"created_at":"2026-01-28T01:53:48.774Z","updated_at":"2026-01-28T01:53:50.046Z","avatar_url":"https://github.com/tongpengfei.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BinInspector 文件格式查看器\n# 最新下载地址:\n  Mac: [BinInspector_v0.0.4.dmg](https://github.com/tongpengfei/bin_inspector/releases/download/v0.0.4/BinInspector_v0.0.4.dmg)  \n  Windows: [BinInspector_win64_release_v0.0.4.zip](https://github.com/tongpengfei/bin_inspector/releases/download/v0.0.4/BinInspector_win64_release_v0.0.4.zip)\n  \n### 主要功能\n  * 查看文件格式\n  * 检查exe依赖的dll文件是否存在，是否可用\n  * 把一个大的pcap文件按链接切隔为各个小的pcap文件\n  * 查找二进制，字符串，数字\n  * 时间戳转为日期，日期转为时间戳 ms2date date2ms\n  * 时间戳转为ntp, ms2ntp, ntp2ms\n  * 选取一段数据，另存为文件\n  * 视频文件可以按帧查看图片\n  * 格式解析插件化，每一个格式就是一个lua脚本，根据文件名后缀解析格式\n  * 支持二次开发，可以自由扩展格式\n\n\n### 目前支持的文件格式\n\n| file format | supported | draw picture | comment | screenshot |\n| :-----: | :----: | :----: | :---- | :---- |\n| exe,dll | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   | check depends dll is exists | [mac_exe.png](doc/screenshots/mac_exe.png)  |\n| aac | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   |   | [mac_aac.png](doc/screenshots/mac_aac.png)  |\n| wav | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   | extract pcm; seperate L/R pcm  | [mac_wav.png](doc/screenshots/mac_wav.png) |\n| mp3 | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   | [mac_mp3.png](doc/screenshots/mac_mp3.png) |\n| ogg | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   |   | [mac_ogg.png](doc/screenshots/mac_ogg.png) |\n| opus | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   |   | [mac_opus.png](doc/screenshots/mac_opus.png) |\n| flv | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   |   | [mac_flv.png](doc/screenshots/mac_flv.png) |\n| mp4,m4a | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e | show timeline; show audio/video frames  | [mac_mp4.png](doc/screenshots/mac_mp4.png) |\n| yuv | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e | draw y/u/v/yuv picture  | [win_yuv.png](doc/screenshots/win_yuv.png) |\n| h264 | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   | [mac_h264.png](doc/screenshots/mac_h264.png) |\n| h265 | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   |   | [mac_h265.png](doc/screenshots/mac_h265.png) |\n| rtp | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   |   | [mac_rtp.png](doc/screenshots/mac_pcap_rtp.png)|\n| rtcp | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |   |   | [mac_rtcp.png](doc/screenshots/mac_rtcp.png) |\n| pcap,pcapng | \u003cfont color='#33FF33'\u003e✓\u003c/font\u003e |  | split pcap by stream, extract h264/payload by stream | [mac_rtcp.png](doc/screenshots/mac_pcap.png)  [mac_rtp_extract_h264.png](doc/screenshots/mac_pcap_rtp_extract_h264.png) |\n\n  * bin: 默认格式，未识别的文件名后缀，会以默认格式解析数据\n  * pcap pcapng: tcpdump抓包文件\n    * 支持解析rtp\n    * 支持以单向链接为单位，分隔文件，并保存至/tmp/目录，如所有192.168.0.1:666 -\u003e 10.0.0.1:80的数据流保存为一个文件\n    * 支持以双向链接为单位，分隔文件，并保存至/tmp/目录，如所有192.168.0.1:666 \u003c-\u003e 10.0.0.1:80的数据流保存为一个文件\n    * 支持以链接为单位提取payload，也就是从 tcp|udp的后面开始提取数据\n    * 支持从rtp里提取h264，并保存至/tmp文件\n    * 支持端口解析配置，不同的端口解析为不同的格式\n\n### 截图\n![mac exe](doc/screenshots/mac_exe.png)\n![mac exe dll](doc/screenshots/mac_exe_depend_dll.png)\n![mac h264](doc/screenshots/mac_h264.png)\n![mac mp4](doc/screenshots/mac_mp4.png)\n![win yuv](doc/screenshots/win_yuv.png)\n\n### 更新日志\n\u003e ## v0.0.4\n\u003e * 支持中文路径\n\u003e\n\u003e ## v0.0.3\n\u003e * 支持自动更新lua脚本\n\u003e\n\u003e ## v0.0.2\n\u003e * 支持解析格式 opus\n\u003e * 支持解析格式 ogg\n\u003e\n\u003e ## v0.0.1\n\u003e * hello world\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftongpengfei%2Fbin_inspector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftongpengfei%2Fbin_inspector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftongpengfei%2Fbin_inspector/lists"}