latelee / H264BSAnalyzer

H264(AVC) and H265(HEVC) bit stream Analyzer, VS2010 MFC project(Windows 7 x64).
834 stars 338 forks source link

H264BSAnalyzer -- H.264/AVC H.265/HEVC bitstream analyze tool

GitHub starsGitHub forks

Stargazers over time
Stargazers over time

Project

VS2010 MFC project, using h264bitstream to implement H.264 bitstream analyze.
The code for H.265 bitstream analyzing is based on h264bitstream code and HM16.6.

Project Feature

Usage

Click menu File->OPen option, or drag file to the main window,
and the tool will auto parse file cotent.
double click the item in the main windows will show the detail NAL information.
to play the file, click "Play".

Window view

V1.2 main window:
GUI

V2.0 main window for h.264:
GUI

V2.0 main window for h.265:
GUI

V2.1 main window for h.264:
GUI

V2.1 main window for h.265:
GUI

V3.0 main window for h.264:
GUI

V3.0 main window for h.265:
GUI

Changelog

The binary file will locate in release directory.

Testing

The tool is testing width H264Visa, CodecVisa and HM tool.
The testing file is generating by x264/x265 tool, also use some H.265 test sequence file
Only test under Windows 7 64bit OS.

Some bug

Parsing big file will be slow, and may be crash.
Same slice information may be wrong.
The avi file saving for h.265 can't be play. Note: it can't be play by ffplay.
You ca fix yourself, and let me know.

Protocol

Thanks

This project started at Feb, 2014 for work need, and see the article written by Dr leixiaohua,
and then rewrite the code, refactor the code, and make improve.
Tanks to 雷霄骅 , He's gone, but will last spirit.

Author

CST studio Late Lee
CST studio
Donate the author
Donate

H264BSAnalyzer -- H.264/AVC H.265/HEVC码流分析工具

工程说明

VS2010 MFC工程,使用h264bitstream开源项目实现对H.264码流分析。
H.265分析以h264bitstream为参考基准代码,同时参考HM16.6代码。

功能

用法

菜单File->Open选项;或者直接拖曳文件至工具界面。
工具会自动解析。双击某一项即可查看具体的NAL信息。
点击“Play”菜单出现播放子窗口。

界面

V1.2版本界面:
GUI

V2.0版本H264分析界面:
GUI

V2.0版本H265分析界面:
GUI

V2.1版本H264分析界面:
GUI

V2.1版本H265分析界面:
GUI

V3.0版本H264分析界面:
GUI

V3.0版本H265分析界面:
GUI

版本变更

编译好的工具位于release目录中。

测试

本工程使用H264Visa、CodecVisa及HM工具对比测试。
所用视频文件为x264/x265编码生成,另外使用H.265测试序列。
本工具仅在Windows 7 64bit操作系统中运行测试通过。

可能潜在问题

分析大文件较慢,可能会崩溃。
本工具虽使用众多文件、工具对比分析,但无法满足所有条件,个别语法可能分析有误。
H.265保存为AVI格式视频无法播放。注:使用ffmpeg转换,用ffplay也无法正常播放。
可自行修正,也可反馈给作者。

协议

致谢

本工程于2014年2月因工作需要,无意看到雷霄骅博士之文章,于其基础上修改、重构、不断完善。
感谢 雷霄骅 博士!斯人已逝,精神长存!

作者

思堂工作室 李迟
迟思堂工作室
如果觉得本软件不错,欢迎捐赠支持作者
捐赠