Log in

View Full Version : H.264 bitstream parser


serhannn
9th November 2015, 16:14
Are there any open-source H.264 bitstream analyzers/parsers which provide slice and macroblock level information (such as motion vectors and DCT coefficients). I'm only aware of the tool called h264bitstream (https://github.com/aizvorski/h264bitstream) but it only provides NAL unit and SPS information for now and slice/macroblock parsing seems to be not implemented. There are some GUI-based commercial tools like Intel Video Pro Analyzer and Tektronix Video Analyzer but obviously they are very expensive. One can use the refence software JM in trace mode to get detailed information on slice and macroblocks but it does complete decoding, which is kind of slow, and runs extra slow in trace mode. Does anyone know any alternatives?

Warperus
11th November 2015, 13:08
You have to decode frame in order to get macroblock information with motion vectors. You have to decode DCT coefficients as well to keep up with decoding frame. You can drop DCT/direct codes then, but that should not be too difficult to cut from reference decoder.