hevcParser modify file path modify filePath in main() instead of your file path. how to build cd build cmake ../ make run There are two type of file, type 0:h264, type 1:h265, input type: ./hevcparser 0