Hi, all:
Now, I used vlc play RTSP H264 Stream has rebound picture.I'm sure the pts is right, and the most possible reason is h264 data error(P frame compare I frame position is not correct).I don't know whether the h264 encoder has defect(on dm368 platform and encode version is dm365_h264enc_02_20_00_05_production)? I use the base parameters as follows:
const VIDENC1_Params h264enc_fix_params_default = {
sizeof(VIDENC1_Params), /* size */
XDM_DEFAULT, /* encodingPreset */
IVIDEO_LOW_DELAY, /* rateControlPreset */
1152, /* maxHeight */
1600, /* maxWidth */
30000, /* maxFrameRate */
8000000, /* maxBitRate */
//104857600, /* maxBitRate */
XDM_BYTE, /* dataEndianness */
0, /* maxInterFrameInterval */
XDM_YUV_420SP, /* inputChromaFormat */
IVIDEO_PROGRESSIVE, /* inputContentType */
XDM_CHROMA_NA /* reconChromaFormat */
};
const VIDENC1_DynamicParams h264enc_var_params_default = {
sizeof(VIDENC1_DynamicParams), /* size */
1152, /* inputHeight */
1600, /* inputWidth */
30000, /* refFrameRate */
30000, /* targetFrameRate */
8000000, /* targetBitRate */
30, /* intraFrameInterval */
XDM_ENCODE_AU, /* generateHeader */
0, /* captureWidth */
IVIDEO_NA_FRAME, /* forceFrame */
1, /* interFrameInterval */
0 /* mbDataFlag */
};
Can you give me some guide?Thnak you!Give my best wishes to you!