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

resending sps/pps in H.264 streaming

alphamcu
Beginner
401 Views
Hello.
I have a question regarding a use of Intel IPP H.264 encoder.
that is.. how can I resend SPS/PPS again?
It looks like the encoder makes SPS/PPS only one time at the beginning of a stream.
And it seems that there is no way to set parameters to make it possible at the codec initialization time.
Although IPP provides GetPicParamSet() and GetSeqParamSet(), it's almost useless for me until finding
a wayto converts these into NAL units or something.
I'm using 'w_ipp-samples_p_6.1.5.060' now. if you have a patch for it, please send it to me.
Or is there any way to get SPS/PPS, please let me know.
Thank you.
0 Kudos
2 Replies
shyaki
Beginner
401 Views
you can easily extract SPS/PPS using their start codes.
0 Kudos
Chao_Y_Intel
Moderator
401 Views


Hello,

There is anIDR interval setting in the encoding parameter.

1 100 200 /* 1(reserved) , N (# of frames in between I frames), IDR interval. */

For each the IDR frame, the H.264 encoder will force to add the SPS/PPS data.

Thanks,
Chao

0 Kudos
Reply