i insert sei message in h.264 bitstream and store the bitstrem in local file. the message can get,but i use vlc to get the video data ,all sei message lost
i modify the code (alg_vidEnc.c):
pObj->dynamicParams_h264.enableBufSEI = 0; /*!< Enable Buffering period SEI */
pObj->dynamicParams_h264.enablePicTimSEI = 1; /*!< Enable Picture Timing SEI */
h264InArgs.insertUserData = XDAS_TRUE;
h264InArgs.lengthUserData = 32;
process...
const char uuid[16] = {
0xdc, 0x45, 0xe9, 0xbd, 0xe6, 0xd9, 0x48, 0xb7,
0x96, 0x2c, 0xd8, 0x20, 0xd9, 0x23, 0xee, 0xef
};
memcpy(outBufDesc.bufs[0] + h264OutArgs.offsetUserData,uuid,16);
memset(outBufDesc.bufs[0] + h264OutArgs.offsetUserData + 16,0xFF,16);
do u konw what is wrong about it??please help me,thanks