I would like to know what is the difference between the iframeinterval and the SliceIntraRefreshInterval properties of the h265 encoder, since both of them seem to output the same frame I-P frame structure, and this does not happen with the h264 encoder.
Thanks for your answer, but I asked about iframeinterval, not idrinterval. Could you explain the difference between the iframeinterval and SliceIntraRefreshInterval properties or they both do the same?
However, both SliceIntraRefreshInterval and iframeinterval take effect in the condition. So if you set the two properties to two different values, the interval of I frames may not be fixed. We would suggest set to identical value for avoid confusion.
Without setting slice-header-spacing, SliceIntraRefreshInterval does not take effect.
There is an issue about setting slice-header-spacing. If you would like to run in the mode, please apply the patch and rebuild libgstnvvideo4linux2.so: