Annex b h264/h265 bitstreams tools

Get data

  • Extracting h264 raw video stream from mp4 or flv with ffmpeg (
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.


  • A H264 frame data viewer

  • HEVCESBrowser is a tool for analyzing hevc(h265) bitstreams

  • Gitl HEVC/H.265 Analyzer based on Qt. Custom filters supported.