Skip to content
Projekte

Über uns

Bitstream-Analyzer für H.264 (AVC) und H.265 (HEVC). MFC-Projekt für VS2010 unter Windows 7 x64.

Weitere Projekte

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

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

  • support different NAL display, including VPS, SPS, PPS, SEI, AUD, Slice.
  • support hex data display for NAL.
  • support displaying detail information using cursor up and down.
  • support different color for different slice, with frame number.
  • auto parse file name.
  • support file name suffix:
    • H.264 format file: .h264,.h264, .avc
    • H.265 format file: .h26, .h265, .hevc
    • auto decide format acording file content if no name suffix specify listing above.
  • support playing H.264�H.265 bitstream video file.
  • pause, stop, play frame by frame for video file.
  • support saving for RGB(24bit) and YUV(yuv420p) file, BMP, JPEG (picture) file.
  • support saving for AVI, MP4, MOV format file.

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.

  • v1.x

Complete H.264 bitstream analyze.

  • v2.0

Delete manual start function in v1.x.
Add for H.265/HEVC bitstream analyze.
Other update.

  • v2.1

Dispaly bitstream information using CTreeCtrl, ref project: H264Visa�H264VideoESViewer.
Add windows resize.
Other update.
Some problems:
Not decode some SEI information, the H.264 frame rate calcuration may be inaccurate(2x for real frame rate).

  • v3.0

fix code using cppcheck.
support play H.264�H.265 bitstream, minimize compile ffmpeg, static link.
pause, stop, play frame by frame for video file.
support saving for RGB(24bit) and YUV(yuv420p) file, BMP, JPEG (picture) file.
support saving for AVI, MP4, MOV format file.

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

  • Copyright CST studio Late Lee
  • Fix some bug for h264bitstream, see the code.
  • The code comes from h264bitstream, is LGPL.
  • Total code is LGPL.
  • You can use the code for study, and commercial purposes, but give no guarantee.

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�롣

�

  • ֧�ֲ�ͬNAL�ʾ�VPS�SPS�PPS�SEI�AUD�Slice�Ľ�
  • ֧�ʾNALʮ�ݡ�
  • ֧�¹�ƶ�ʾ�ϸ�Ϣ�
  • ֧�ֲ�ͬslice�ɫ�ʾ�ʾ֡�š�
  • �Զ�ļ�
  • ֧�ļ�׺�
    • H.264�ļ�׺�Ϊ.h264�.h264�.avc�
    • H.265�ļ�׺�Ϊ.h265�.h265�.hevc�
    • �׺�Զ�ʶ�
  • ֧�ֲ�H.264�H.265�ļ�
  • �߱�ͣ�ֹͣ�֡�Ź�ܡ�
  • ֧�ֱ�ΪRGB(24bit)�YUV(yuv420p)ԭʼ�ļ�֧�ֱ�ΪBMP�JPEGͼƬ�֧�ļ�%d�ַ�
  • ֧�ֱ�ΪAVI�MP4�MOV�ʽ�Ƶ�ļ�

�÷�

�˵�File->Openѡ��ֱ�ҷ�ļ�߽�档
�߻�Զ�˫�ijһ��ɲ鿴�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Ŀ¼�С�

  • v1.x

H264�ɡ�

  • v2.0

ȥ�v1.x�汾�ֶ�ʼ�ܡ�
�H.265/HEVC�ܡ�
�漰�ʾ�Ϣ�ơ�

  • v2.1

ʹ�οؼ�ʾ�ֶΡ�ʾ�ο�ԴΪH264Visa�H264VideoESViewer�ߡ�
�Ź�ܡ�
�漰�ʾ�Ϣ�ơ�
�⣺
�SEI�Ϣδ�H264֡�ʼ�ܲ�׼ȷ(�ʵ֡�ʵ�2�)�

  • v3.0

ʹ�cppcheck�м�⣬�޸�֮�
֧�ֲ�H.264�H.265�ļ�ffmpeg�С�룬�̬�ӡ�
�߱�ͣ�ֹͣ�֡�Ź�ܡ�
֧�ֱ�ΪRGB(24bit)�YUV(yuv420p)ԭʼ�ļ�֧�ֱ�ΪBMP�JPEGͼƬ�
֧�ֱ�ΪAVI�MP4�MOV�ʽ�Ƶ�ļ�

�

�ʹ�H264Visa�CodecVisa�HM�߶ԱȲ�ԡ�
�Ƶ�ļ�Ϊx264/x265�ɣ�ʹ�H.265�С�
�߽�Windows 7 64bit�ϵͳ�в�ͨ�

�DZ�

�ļ�ܻ�
�ʹ�ڶ�ļ�߶Աȷ�޷�﷨�ܷ�
H.265�ΪAVI�ʽ�Ƶ�޷�š�ע�ʹ�ffmpegת�ffplayҲ�޷�š�
�Ҳ�ɷ�ߡ�

Э�

  • �Ȩ� �˼�ù� �
  • �h264bitstream�bug�롣
  • �h264bitstream�Ӧ�޸ĵĴ�룬�LGPLЭ�顣
  • �Դ�ʹ�LGPLЭ�顣
  • �ѧϰ�о�֮Ŀ�ģ�Ҳ�ҵĿ�ģ�֤�ȫ�ɿ�

�л

�2014�2�Ҫ�⿴�販ʿ֮�£�޸ġ�ع�ơ�
�л � �ʿ�˹�ţ�񳤴棡

�

˼�ù� �
�˼�ù�
�ñ�ӭ�֧�
�

Ähnliche Projekte entdecken

Wird geladen…