Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

H264 encoder I frame start code problem

Hello all,
When I set both# of frames in between I frames and IDR interval to 30,
all frames are starting with code 0,0,0,1,0X21, which means P frame.
I am using mediadata object which is filled by MPEG4Decoder.GetFrame method.
And when I check encoded output frame with
encDataOut.GetFrameType() == UMC::FrameType::I_PICTURE
it returns true at every 30th frame. But why all frames are starting with 0X21, even if it is I frame ?
Shouldn't I frames start with 0X25
Many thanks
0 Kudos
0 Replies