problem about gstreamer plugin omxh265enc

Hi:
I used gstreamer plugin omxh265enc:

gst-launch-1.0 nvcamerasrc fpsRange="25.0 25.0" ! 'video/x-raw(memory:NVMM), width=1920, height=1080' ! nvvidconv flip-method=2 ! 'video/x-raw, width=1920, height=1080, format=(string)I420' ! omxh265enc control-rate=2 iframeinterval=50 quality-level=1 bitrate=4000000 ! 'video/x-h265, stream-format=(string)byte-stream' ! mpegtsmux ! udpsink host=192.165.53.67 port=2640

I set “iframeinterval” as 50, and record udp flow. Finall, I find real iframeinterval is 60 from reading udp flow.
My question is : can I change iframeinterval of plugin “onxh265enc” ?

Hi wuyindong,
Please download/build gstomx1_src.tbz2 with the patch attached
[url]https://devtalk.nvidia.com/default/topic/983587/jetson-tx1/gst-omx-plugin-build-error/post/5059343/#5059343[/url]

0001-omxh265enc-add-setting-iframeinterval.patch.txt (1.5 KB)

Dear DaneLLL,
Could you please attached the full source code of gst-omx1 last release with the modification in enabling iframeinterval function?
Thank in advance.

Link to source of r24.2.1 https://developer.nvidia.com/embedded/dlc/l4t-sources-24-2-1