Ask for re-discussion on SliceIntraRefresh on Jetson Tx2

I found a thread discussing slice encoding:

https://devtalk.nvidia.com/default/topic/1020558/jetson-tx1/h265-decode-failed/post/5196041/#

I use similar gstreamer script to save the stream :

gst-launch-1.0 videotestsrc ! ‘video/x-raw, width=1920, height=1080, framerate=60/1, format=UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, format=I420, framerate=60/1’ ! omxh265enc control-rate=2 bitrate=8000000 preset-level=3 SliceIntraRefreshEnable=true SliceIntraRefreshInterval=30 ! ‘video/x-h265, stream-format=(string)byte-stream’ ! filesink location=slice_encoding.265

I analyze it with ffprobe. I found periodic I frame in the stream, here is the ffprobe result for jetson tx2 encoder output:
ULLRC/nvidia_encoder_ffprobe.txt at master · rivertomoon/ULLRC · GitHub

My jetson BSP version is:
# R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t186ref, EABI: aarch64, DATE: Fri Mar 2 04:57:01 UTC 2018

So I tried to do slice encoding with libx264 and it resulted single I frame at very beginning and all P frames follows, that’s what we think correct for slice encoding.I attach the libx264 h264 file here for your reference:

Hi pin,
Be default SliceIntraRefreshEnable=false and only IDR frames are present in encoded stream. With SliceIntraRefreshEnable=true, you will see I frames periodically. It is what we design the encoder properties.