a lightweight tool to analyse h264 and h265 raw stream, written by native C++, easy to integrate into your code. please refer to main.cpp
mkdir build && cd build
cmake ..
make -j8
./stream_analyser video.h264 h264
./stream_analyser video.h265 h265