Annex b h264/h265 bitstreams tools
Get data
- Extracting h264 raw video stream from mp4 or flv with ffmpeg (https://stackoverflow.com/a/19304516)
To extract a raw video from an MP4 or FLV container you should specify the -bsf:v h264_mp4toannexb or -vbfs h264_mp4toannexb option.
ffmpeg -i test.flv -vcodec copy -an -bsf:v h264_mp4toannexb test.h264
The raw stream without H264 Annex B / NAL cannot be decode by player. With that option ffmpeg perform a simple "mux" of each h264 sample in a NAL unit.
Tools
-
A H264 frame data viewer
https://github.com/shi-yan/H264Naked
-
HEVCESBrowser is a tool for analyzing hevc(h265) bitstreams
https://github.com/virinext/hevcesbrowser
-
Gitl HEVC/H.265 Analyzer based on Qt. Custom filters supported.
https://github.com/lheric/GitlHEVCAnalyzer