H264 encoder I frame start code problem

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 withencDataOut.GetFrameType() == UMC::FrameType::I_PICTUREit 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 0X25Many thanks

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.