h265 decode failed

Hi everyone,
Now I am testing with h265 encode and decode. I success with this
Encode

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 ! 'video/x-h265, stream-format=(string)byte-stream' ! h265parse ! mpegtsmux ! udpsink host=$CLIENT_IP port=5000

Decode

gst-launch-1.0 udpsrc port=5000 ! tsdemux ! queue ! h265parse ! omxh265dec ! nvoverlaysink

But when I add more parameters to encoder: SliceIntraRefreshEnable=true SliceIntraRefreshInterval=30

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' ! h265parse ! mpegtsmux ! udpsink host=$CLIENT_IP port=5000

decoder does not work any more. How can I fix this problem?
Any suggestion are highly appreciated.
Thank in advance,

Hi Quang,
On r28.1, by running the following command
]gst-launch-1.0 videotestsrc num-buffers=300 ! ‘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= b.h265

It generates the bitstream in first I frame and the rest are P frames:

danel@ce-tw-daneliu:~/svn_hevc/svn_HEVCSoftware/trunk/bin$ ./TAppDecoderStatic -b ~/temp/b.h265

HM software: Decoder Version [16.15] (including RExt)[Linux][GCC 4.8.4][64 bit]
POC    0 TId: 0 ( I-SLICE, QP 30 ) [DT  0.049] [L0 ] [L1 ] [:,(unk)]
POC    1 TId: 0 ( P-SLICE, QP 34 ) [DT  0.029] [L0 0 ] [L1 ] [:,(unk)]
POC    2 TId: 0 ( P-SLICE, QP 40 ) [DT  0.027] [L0 1 ] [L1 ] [:,(unk)]
POC    3 TId: 0 ( P-SLICE, QP 51 ) [DT  0.023] [L0 2 ] [L1 ] [:,(unk)]
POC    4 TId: 0 ( P-SLICE, QP 49 ) [DT  0.022] [L0 3 ] [L1 ] [:,(unk)]
POC    5 TId: 0 ( P-SLICE, QP 50 ) [DT  0.020] [L0 4 ] [L1 ] [:,(unk)]
POC    6 TId: 0 ( P-SLICE, QP 48 ) [DT  0.020] [L0 5 ] [L1 ] [:,(unk)]
POC    7 TId: 0 ( P-SLICE, QP 50 ) [DT  0.020] [L0 6 ] [L1 ] [:,(unk)]
POC    8 TId: 0 ( P-SLICE, QP 44 ) [DT  0.020] [L0 7 ] [L1 ] [:,(unk)]
POC    9 TId: 0 ( P-SLICE, QP 50 ) [DT  0.020] [L0 8 ] [L1 ] [:,(unk)]
POC   10 TId: 0 ( P-SLICE, QP 47 ) [DT  0.020] [L0 9 ] [L1 ] [:,(unk)]
POC   11 TId: 0 ( P-SLICE, QP 46 ) [DT  0.021] [L0 10 ] [L1 ] [:,(unk)]
POC   12 TId: 0 ( P-SLICE, QP 50 ) [DT  0.020] [L0 11 ] [L1 ] [:,(unk)]
POC   13 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 12 ] [L1 ] [:,(unk)]
POC   14 TId: 0 ( P-SLICE, QP 46 ) [DT  0.022] [L0 13 ] [L1 ] [:,(unk)]
POC   15 TId: 0 ( P-SLICE, QP 49 ) [DT  0.021] [L0 14 ] [L1 ] [:,(unk)]
POC   16 TId: 0 ( P-SLICE, QP 47 ) [DT  0.020] [L0 15 ] [L1 ] [:,(unk)]
POC   17 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 16 ] [L1 ] [:,(unk)]
POC   18 TId: 0 ( P-SLICE, QP 47 ) [DT  0.022] [L0 17 ] [L1 ] [:,(unk)]
POC   19 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 18 ] [L1 ] [:,(unk)]
POC   20 TId: 0 ( P-SLICE, QP 47 ) [DT  0.021] [L0 19 ] [L1 ] [:,(unk)]
POC   21 TId: 0 ( P-SLICE, QP 46 ) [DT  0.021] [L0 20 ] [L1 ] [:,(unk)]
POC   22 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 21 ] [L1 ] [:,(unk)]
POC   23 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 22 ] [L1 ] [:,(unk)]
POC   24 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 23 ] [L1 ] [:,(unk)]
POC   25 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 24 ] [L1 ] [:,(unk)]
POC   26 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 25 ] [L1 ] [:,(unk)]
POC   27 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 26 ] [L1 ] [:,(unk)]
POC   28 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 27 ] [L1 ] [:,(unk)]
POC   29 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 28 ] [L1 ] [:,(unk)]
POC   30 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 29 ] [L1 ] [:,(unk)]
POC   31 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 30 ] [L1 ] [:,(unk)]
POC   32 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 31 ] [L1 ] [:,(unk)]
POC   33 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 32 ] [L1 ] [:,(unk)]
POC   34 TId: 0 ( P-SLICE, QP 46 ) [DT  0.021] [L0 33 ] [L1 ] [:,(unk)]
POC   35 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 34 ] [L1 ] [:,(unk)]
POC   36 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 35 ] [L1 ] [:,(unk)]
POC   37 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 36 ] [L1 ] [:,(unk)]
POC   38 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 37 ] [L1 ] [:,(unk)]
POC   39 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 38 ] [L1 ] [:,(unk)]
POC   40 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 39 ] [L1 ] [:,(unk)]
POC   41 TId: 0 ( P-SLICE, QP 46 ) [DT  0.020] [L0 40 ] [L1 ] [:,(unk)]
POC   42 TId: 0 ( P-SLICE, QP 46 ) [DT  0.021] [L0 41 ] [L1 ] [:,(unk)]
POC   43 TId: 0 ( P-SLICE, QP 46 ) [DT  0.021] [L0 42 ] [L1 ] [:,(unk)]
POC   44 TId: 0 ( P-SLICE, QP 46 ) [DT  0.021] [L0 43 ] [L1 ] [:,(unk)]
POC   45 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 44 ] [L1 ] [:,(unk)]
POC   46 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 45 ] [L1 ] [:,(unk)]
POC   47 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 46 ] [L1 ] [:,(unk)]
POC   48 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 47 ] [L1 ] [:,(unk)]
POC   49 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 48 ] [L1 ] [:,(unk)]
POC   50 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 49 ] [L1 ] [:,(unk)]
POC   51 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 50 ] [L1 ] [:,(unk)]
POC   52 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 51 ] [L1 ] [:,(unk)]
POC   53 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 52 ] [L1 ] [:,(unk)]
POC   54 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 53 ] [L1 ] [:,(unk)]
POC   55 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 54 ] [L1 ] [:,(unk)]
POC   56 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 55 ] [L1 ] [:,(unk)]
POC   57 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 56 ] [L1 ] [:,(unk)]
POC   58 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 57 ] [L1 ] [:,(unk)]
POC   59 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 58 ] [L1 ] [:,(unk)]
POC   60 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 59 ] [L1 ] [:,(unk)]
POC   61 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 60 ] [L1 ] [:,(unk)]
POC   62 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 61 ] [L1 ] [:,(unk)]
POC   63 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 62 ] [L1 ] [:,(unk)]
POC   64 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 63 ] [L1 ] [:,(unk)]
POC   65 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 64 ] [L1 ] [:,(unk)]
POC   66 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 65 ] [L1 ] [:,(unk)]
POC   67 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 66 ] [L1 ] [:,(unk)]
POC   68 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 67 ] [L1 ] [:,(unk)]
POC   69 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 68 ] [L1 ] [:,(unk)]
POC   70 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 69 ] [L1 ] [:,(unk)]
POC   71 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 70 ] [L1 ] [:,(unk)]
POC   72 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 71 ] [L1 ] [:,(unk)]
POC   73 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 72 ] [L1 ] [:,(unk)]
POC   74 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 73 ] [L1 ] [:,(unk)]
POC   75 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 74 ] [L1 ] [:,(unk)]
POC   76 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 75 ] [L1 ] [:,(unk)]
POC   77 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 76 ] [L1 ] [:,(unk)]
POC   78 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 77 ] [L1 ] [:,(unk)]
POC   79 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 78 ] [L1 ] [:,(unk)]
POC   80 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 79 ] [L1 ] [:,(unk)]
POC   81 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 80 ] [L1 ] [:,(unk)]
POC   82 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 81 ] [L1 ] [:,(unk)]
POC   83 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 82 ] [L1 ] [:,(unk)]
POC   84 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 83 ] [L1 ] [:,(unk)]
POC   85 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 84 ] [L1 ] [:,(unk)]
POC   86 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 85 ] [L1 ] [:,(unk)]
POC   87 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 86 ] [L1 ] [:,(unk)]
POC   88 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 87 ] [L1 ] [:,(unk)]
POC   89 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 88 ] [L1 ] [:,(unk)]
POC   90 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 89 ] [L1 ] [:,(unk)]
POC   91 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 90 ] [L1 ] [:,(unk)]
POC   92 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 91 ] [L1 ] [:,(unk)]
POC   93 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 92 ] [L1 ] [:,(unk)]
POC   94 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 93 ] [L1 ] [:,(unk)]
POC   95 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 94 ] [L1 ] [:,(unk)]
POC   96 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 95 ] [L1 ] [:,(unk)]
POC   97 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 96 ] [L1 ] [:,(unk)]
POC   98 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 97 ] [L1 ] [:,(unk)]
POC   99 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 98 ] [L1 ] [:,(unk)]
POC  100 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 99 ] [L1 ] [:,(unk)]
POC  101 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 100 ] [L1 ] [:,(unk)]
POC  102 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 101 ] [L1 ] [:,(unk)]
POC  103 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 102 ] [L1 ] [:,(unk)]
POC  104 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 103 ] [L1 ] [:,(unk)]
POC  105 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 104 ] [L1 ] [:,(unk)]
POC  106 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 105 ] [L1 ] [:,(unk)]
POC  107 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 106 ] [L1 ] [:,(unk)]
POC  108 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 107 ] [L1 ] [:,(unk)]
POC  109 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 108 ] [L1 ] [:,(unk)]
POC  110 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 109 ] [L1 ] [:,(unk)]
POC  111 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 110 ] [L1 ] [:,(unk)]
POC  112 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 111 ] [L1 ] [:,(unk)]
POC  113 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 112 ] [L1 ] [:,(unk)]
POC  114 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 113 ] [L1 ] [:,(unk)]
POC  115 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 114 ] [L1 ] [:,(unk)]
POC  116 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 115 ] [L1 ] [:,(unk)]
POC  117 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 116 ] [L1 ] [:,(unk)]
POC  118 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 117 ] [L1 ] [:,(unk)]
POC  119 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 118 ] [L1 ] [:,(unk)]
POC  120 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 119 ] [L1 ] [:,(unk)]
POC  121 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 120 ] [L1 ] [:,(unk)]
POC  122 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 121 ] [L1 ] [:,(unk)]
POC  123 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 122 ] [L1 ] [:,(unk)]
POC  124 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 123 ] [L1 ] [:,(unk)]
POC  125 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 124 ] [L1 ] [:,(unk)]
POC  126 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 125 ] [L1 ] [:,(unk)]
POC  127 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 126 ] [L1 ] [:,(unk)]
POC  128 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 127 ] [L1 ] [:,(unk)]
POC  129 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 128 ] [L1 ] [:,(unk)]
POC  130 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 129 ] [L1 ] [:,(unk)]
POC  131 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 130 ] [L1 ] [:,(unk)]
POC  132 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 131 ] [L1 ] [:,(unk)]
POC  133 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 132 ] [L1 ] [:,(unk)]
POC  134 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 133 ] [L1 ] [:,(unk)]
POC  135 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 134 ] [L1 ] [:,(unk)]
POC  136 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 135 ] [L1 ] [:,(unk)]
POC  137 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 136 ] [L1 ] [:,(unk)]
POC  138 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 137 ] [L1 ] [:,(unk)]
POC  139 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 138 ] [L1 ] [:,(unk)]
POC  140 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 139 ] [L1 ] [:,(unk)]
POC  141 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 140 ] [L1 ] [:,(unk)]
POC  142 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 141 ] [L1 ] [:,(unk)]
POC  143 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 142 ] [L1 ] [:,(unk)]
POC  144 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 143 ] [L1 ] [:,(unk)]
POC  145 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 144 ] [L1 ] [:,(unk)]
POC  146 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 145 ] [L1 ] [:,(unk)]
POC  147 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 146 ] [L1 ] [:,(unk)]
POC  148 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 147 ] [L1 ] [:,(unk)]
POC  149 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 148 ] [L1 ] [:,(unk)]
POC  150 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 149 ] [L1 ] [:,(unk)]
POC  151 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 150 ] [L1 ] [:,(unk)]
POC  152 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 151 ] [L1 ] [:,(unk)]
POC  153 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 152 ] [L1 ] [:,(unk)]
POC  154 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 153 ] [L1 ] [:,(unk)]
POC  155 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 154 ] [L1 ] [:,(unk)]
POC  156 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 155 ] [L1 ] [:,(unk)]
POC  157 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 156 ] [L1 ] [:,(unk)]
POC  158 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 157 ] [L1 ] [:,(unk)]
POC  159 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 158 ] [L1 ] [:,(unk)]
POC  160 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 159 ] [L1 ] [:,(unk)]
POC  161 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 160 ] [L1 ] [:,(unk)]
POC  162 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 161 ] [L1 ] [:,(unk)]
POC  163 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 162 ] [L1 ] [:,(unk)]
POC  164 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 163 ] [L1 ] [:,(unk)]
POC  165 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 164 ] [L1 ] [:,(unk)]
POC  166 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 165 ] [L1 ] [:,(unk)]
POC  167 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 166 ] [L1 ] [:,(unk)]
POC  168 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 167 ] [L1 ] [:,(unk)]
POC  169 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 168 ] [L1 ] [:,(unk)]
POC  170 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 169 ] [L1 ] [:,(unk)]
POC  171 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 170 ] [L1 ] [:,(unk)]
POC  172 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 171 ] [L1 ] [:,(unk)]
POC  173 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 172 ] [L1 ] [:,(unk)]
POC  174 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 173 ] [L1 ] [:,(unk)]
POC  175 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 174 ] [L1 ] [:,(unk)]
POC  176 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 175 ] [L1 ] [:,(unk)]
POC  177 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 176 ] [L1 ] [:,(unk)]
POC  178 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 177 ] [L1 ] [:,(unk)]
POC  179 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 178 ] [L1 ] [:,(unk)]
POC  180 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 179 ] [L1 ] [:,(unk)]
POC  181 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 180 ] [L1 ] [:,(unk)]
POC  182 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 181 ] [L1 ] [:,(unk)]
POC  183 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 182 ] [L1 ] [:,(unk)]
POC  184 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 183 ] [L1 ] [:,(unk)]
POC  185 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 184 ] [L1 ] [:,(unk)]
POC  186 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 185 ] [L1 ] [:,(unk)]
POC  187 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 186 ] [L1 ] [:,(unk)]
POC  188 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 187 ] [L1 ] [:,(unk)]
POC  189 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 188 ] [L1 ] [:,(unk)]
POC  190 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 189 ] [L1 ] [:,(unk)]
POC  191 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 190 ] [L1 ] [:,(unk)]
POC  192 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 191 ] [L1 ] [:,(unk)]
POC  193 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 192 ] [L1 ] [:,(unk)]
POC  194 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 193 ] [L1 ] [:,(unk)]
POC  195 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 194 ] [L1 ] [:,(unk)]
POC  196 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 195 ] [L1 ] [:,(unk)]
POC  197 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 196 ] [L1 ] [:,(unk)]
POC  198 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 197 ] [L1 ] [:,(unk)]
POC  199 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 198 ] [L1 ] [:,(unk)]
POC  200 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 199 ] [L1 ] [:,(unk)]
POC  201 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 200 ] [L1 ] [:,(unk)]
POC  202 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 201 ] [L1 ] [:,(unk)]
POC  203 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 202 ] [L1 ] [:,(unk)]
POC  204 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 203 ] [L1 ] [:,(unk)]
POC  205 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 204 ] [L1 ] [:,(unk)]
POC  206 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 205 ] [L1 ] [:,(unk)]
POC  207 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 206 ] [L1 ] [:,(unk)]
POC  208 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 207 ] [L1 ] [:,(unk)]
POC  209 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 208 ] [L1 ] [:,(unk)]
POC  210 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 209 ] [L1 ] [:,(unk)]
POC  211 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 210 ] [L1 ] [:,(unk)]
POC  212 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 211 ] [L1 ] [:,(unk)]
POC  213 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 212 ] [L1 ] [:,(unk)]
POC  214 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 213 ] [L1 ] [:,(unk)]
POC  215 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 214 ] [L1 ] [:,(unk)]
POC  216 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 215 ] [L1 ] [:,(unk)]
POC  217 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 216 ] [L1 ] [:,(unk)]
POC  218 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 217 ] [L1 ] [:,(unk)]
POC  219 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 218 ] [L1 ] [:,(unk)]
POC  220 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 219 ] [L1 ] [:,(unk)]
POC  221 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 220 ] [L1 ] [:,(unk)]
POC  222 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 221 ] [L1 ] [:,(unk)]
POC  223 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 222 ] [L1 ] [:,(unk)]
POC  224 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 223 ] [L1 ] [:,(unk)]
POC  225 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 224 ] [L1 ] [:,(unk)]
POC  226 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 225 ] [L1 ] [:,(unk)]
POC  227 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 226 ] [L1 ] [:,(unk)]
POC  228 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 227 ] [L1 ] [:,(unk)]
POC  229 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 228 ] [L1 ] [:,(unk)]
POC  230 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 229 ] [L1 ] [:,(unk)]
POC  231 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 230 ] [L1 ] [:,(unk)]
POC  232 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 231 ] [L1 ] [:,(unk)]
POC  233 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 232 ] [L1 ] [:,(unk)]
POC  234 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 233 ] [L1 ] [:,(unk)]
POC  235 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 234 ] [L1 ] [:,(unk)]
POC  236 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 235 ] [L1 ] [:,(unk)]
POC  237 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 236 ] [L1 ] [:,(unk)]
POC  238 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 237 ] [L1 ] [:,(unk)]
POC  239 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 238 ] [L1 ] [:,(unk)]
POC  240 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 239 ] [L1 ] [:,(unk)]
POC  241 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 240 ] [L1 ] [:,(unk)]
POC  242 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 241 ] [L1 ] [:,(unk)]
POC  243 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 242 ] [L1 ] [:,(unk)]
POC  244 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 243 ] [L1 ] [:,(unk)]
POC  245 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 244 ] [L1 ] [:,(unk)]
POC  246 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 245 ] [L1 ] [:,(unk)]
POC  247 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 246 ] [L1 ] [:,(unk)]
POC  248 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 247 ] [L1 ] [:,(unk)]
POC  249 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 248 ] [L1 ] [:,(unk)]
POC  250 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 249 ] [L1 ] [:,(unk)]
POC  251 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 250 ] [L1 ] [:,(unk)]
POC  252 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 251 ] [L1 ] [:,(unk)]
POC  253 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 252 ] [L1 ] [:,(unk)]
POC  254 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 253 ] [L1 ] [:,(unk)]
POC  255 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 254 ] [L1 ] [:,(unk)]
POC  256 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 255 ] [L1 ] [:,(unk)]
POC  257 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 256 ] [L1 ] [:,(unk)]
POC  258 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 257 ] [L1 ] [:,(unk)]
POC  259 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 258 ] [L1 ] [:,(unk)]
POC  260 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 259 ] [L1 ] [:,(unk)]
POC  261 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 260 ] [L1 ] [:,(unk)]
POC  262 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 261 ] [L1 ] [:,(unk)]
POC  263 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 262 ] [L1 ] [:,(unk)]
POC  264 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 263 ] [L1 ] [:,(unk)]
POC  265 TId: 0 ( P-SLICE, QP 44 ) [DT  0.023] [L0 264 ] [L1 ] [:,(unk)]
POC  266 TId: 0 ( P-SLICE, QP 44 ) [DT  0.022] [L0 265 ] [L1 ] [:,(unk)]
POC  267 TId: 0 ( P-SLICE, QP 44 ) [DT  0.022] [L0 266 ] [L1 ] [:,(unk)]
POC  268 TId: 0 ( P-SLICE, QP 44 ) [DT  0.022] [L0 267 ] [L1 ] [:,(unk)]
POC  269 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 268 ] [L1 ] [:,(unk)]
POC  270 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 269 ] [L1 ] [:,(unk)]
POC  271 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 270 ] [L1 ] [:,(unk)]
POC  272 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 271 ] [L1 ] [:,(unk)]
POC  273 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 272 ] [L1 ] [:,(unk)]
POC  274 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 273 ] [L1 ] [:,(unk)]
POC  275 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 274 ] [L1 ] [:,(unk)]
POC  276 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 275 ] [L1 ] [:,(unk)]
POC  277 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 276 ] [L1 ] [:,(unk)]
POC  278 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 277 ] [L1 ] [:,(unk)]
POC  279 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 278 ] [L1 ] [:,(unk)]
POC  280 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 279 ] [L1 ] [:,(unk)]
POC  281 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 280 ] [L1 ] [:,(unk)]
POC  282 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 281 ] [L1 ] [:,(unk)]
POC  283 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 282 ] [L1 ] [:,(unk)]
POC  284 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 283 ] [L1 ] [:,(unk)]
POC  285 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 284 ] [L1 ] [:,(unk)]
POC  286 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 285 ] [L1 ] [:,(unk)]
POC  287 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 286 ] [L1 ] [:,(unk)]
POC  288 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 287 ] [L1 ] [:,(unk)]
POC  289 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 288 ] [L1 ] [:,(unk)]
POC  290 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 289 ] [L1 ] [:,(unk)]
POC  291 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 290 ] [L1 ] [:,(unk)]
POC  292 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 291 ] [L1 ] [:,(unk)]
POC  293 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 292 ] [L1 ] [:,(unk)]
POC  294 TId: 0 ( P-SLICE, QP 45 ) [DT  0.022] [L0 293 ] [L1 ] [:,(unk)]
POC  295 TId: 0 ( P-SLICE, QP 44 ) [DT  0.022] [L0 294 ] [L1 ] [:,(unk)]
POC  296 TId: 0 ( P-SLICE, QP 44 ) [DT  0.022] [L0 295 ] [L1 ] [:,(unk)]
POC  297 TId: 0 ( P-SLICE, QP 44 ) [DT  0.022] [L0 296 ] [L1 ] [:,(unk)]
POC  298 TId: 0 ( P-SLICE, QP 44 ) [DT  0.022] [L0 297 ] [L1 ] [:,(unk)]
POC  299 TId: 0 ( P-SLICE, QP 45 ) [DT  0.021] [L0 298 ] [L1 ] [:,(unk)]

 Total Time:       12.968 sec.

It is not good in udp streaming because there is no I frames afterward, when one frame is not well decoded, the reset cannot be decoded.

We are checking why SliceIntraRefreshInterval=30 does not take effect.

Thank for your reply DaneLLL,
I hope to see it is fixed as soon as possible

Hi Quang,
We have checked and confirmed it is as expected. Under ‘SliceIntraRefreshEnable=true SliceIntraRefreshInterval=30’ being set, you have to signal force-IDR to insert IDR frames. Please refer to the sample attached.

Install and build:

$ sudo apt-get install libgstreamer1.0-dev
$ g++ -Wall -std=c++11  test2.cpp -o test $(pkg-config --cflags --libs gstreamer-1.0)

test2.cpp (1.92 KB)

Dear DaneLLL,
Is there other way to make ‘SliceIntraRefreshEnable=true SliceIntraRefreshInterval=30’ work?
Thank.

Hi Quang,
What bitstream do you expect for ‘SliceIntraRefreshEnable=true SliceIntraRefreshInterval=30’ ? Any sample video file for our reference?

Dear DaneLL,
In my work, I expect streaming 1080p@60fps at 4Mbps with good decoder quality.
When I check Jetson TX1 with omx library, I see that setup preset-level and SliceIntraRefresh make quality at decoder side better; the other parameters do not affect to quality.
It is very kind if you can suggest me how to setup the other parameters suitably for getting good decoder quality.

Thank.
P.S. I use Zhaw HDMI to CSI converter to capture video stream

Hi Quang,
We suggest tune qp-range

qp-range            : Qunatization range for P and I frame,
                         Use string with values of Qunatization Range
                         in MinQpP-MaxQpP:MinQpI-MaxQpP:MinQpB-MaxQpB order, to set the property.
                        flags: readable, writable
                        String. Default: "-1,-1:-1,-1:-1,-1"

And HW preset level

preset-level        : HW preset level for encoder
                        flags: readable, writable, changeable only in NULL or READY state
                        Enum "GstOMXVideoEncHwPreset" Default: 0, "UltraFastPreset"
                           (0): UltraFastPreset  - UltraFastPreset for high perf
                           (1): FastPreset       - FastPreset
                           (2): MediumPreset     - MediumPreset
                           (3): SlowPreset       - SlowPreset

But you are with very strict bitrate for 1080p60, it will not give you desire bitrate by tuning qp-range.

Not sure SliceIntraRefreshEnable=true gives better video quality. We need to check this.

But in SliceIntraRefreshEnable=true, you should be able to get desired bitstream by signaling ‘force-IDR’ periodically. Any difficulty here?

Dear DaneLLL,
Do you have good example for qp-range when streaming 1080p@60fps? Other bitrate is ok now, it just for check video quality.

Thank,

Hi Quang,
The default setting is at /etc/enctune.conf.

You can try to give qp-range of P frames 10-35

qp-range=10,35:5,30:10,51

Dear DaneLLL,
Thank for your suggestion, I will check with this qp-range parameter