This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: whether TDA4 Encoder support DTS and PTS

Part Number: TDA4VM

HI TI:

we use the folowing encoder parameter to generate H264 stream(store these output from OPenVX encoder node to one file), but when decoding this H264 stream. we find these 3 issues:

any idea about this? thanks.  attached more logs.

1:  after check the H264 stream by FFMPEG tools, we find that there are no PTS and DTS in H264 packet .

2: time-scale in H264 packet is always 0. 

2:  we have set ctx->rc.intra_freq = 30, but all frame type is I , there are no P frame.  

Do i need to set this ctx->vparams.intra_cnt to 30 also?

3: there are some MB decoding error.  i already set ctx->rc.bits_per_second = 15000000.  100万摄像头

/* Rate Control parameters */
ctx->rc.bits_per_second = 15000000; /* 5mbps -> 15mbps 15x4=60<100mbps*/
ctx->rc.transfer_bits_per_second = ctx->rc.bits_per_second;

ctx->vparams.idr_period = 60; /* update pps, normally 1 minutes, now 2s->1 IDR*/
ctx->rc.intra_freq = 30; /* all I-Frame encoding, 1s -> I Frame */
ctx->vparams.intra_cnt = 1;