<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi dev<div class=""><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div class=""><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">Before all, this is my pipeline </span></div><div class=""><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div class=""><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">gst-launch-1.</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(219, 39, 218);" class=""><b class="">0</b></span><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class=""> </span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);" class=""><b class="">-e</b></span><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class=""> funnel </span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(56, 185, 199);" class=""><b class="">name</b></span><span style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class="">=f ! </span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(170, 171, 37);" class=""><b class="">\</b></span></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">videoscale ! videoconvert ! video/x-raw,</span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">format</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=RGB,</span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">width</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=</span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">720,height</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=</span><span style="font-variant-ligatures: no-common-ligatures; color: #db27da" class=""><b class="">480</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> ! </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class=""><b class="">\</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">tensor_converter ! tensor_filter </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">framework</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=tensorflow </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class=""><b class="">\</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">model</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=../tf_model/ssdlite_mobilenet_v2.pb </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">input</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=3:640:480:1 </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class=""><b class="">\</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">inputname</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=image_tensor </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">inputtype</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=uint8 </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">output</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=</span><span style="font-variant-ligatures: no-common-ligatures; color: #db27da" class=""><b class="">1</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">,100:1,100:1,4:100:1 </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class=""><b class="">\</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">outputname</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=num_detections,detection_classes,detection_scores,detection_boxes </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class=""><b class="">\</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">outputtype</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=float32,float32,float32,float32 ! tensor_sink rtpbin </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">name</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=rtpbin </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class=""><b class="">\</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">rtspsrc </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">location</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=<a href="rtsp://admin:19841984@" class="">rtsp://admin:19841984@</a></span><span style="font-variant-ligatures: no-common-ligatures; color: #db27da" class=""><b class="">192</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #db27da" class=""><b class="">168</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #db27da" class=""><b class="">0</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">.76:8554/profile1 </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">latency</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=</span><span style="font-variant-ligatures: no-common-ligatures; color: #db27da" class=""><b class="">0</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #aaab25" class=""><b class="">\</b></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class=""><b class="">protocols</b></span><span style="font-variant-ligatures: no-common-ligatures" class="">=tcp ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph265depay ! avdec_h265 </span>! f.sink_0</div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class="">As you can see above, now I’m making live video streaming inference pipeline with gstreamer and nnstreamer.</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class="">But there have some problem.</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class="">The problem is that I can’t connect rtph265depay and avdec_h265 to funnel sink.</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class="">So when I tried connect rtpbin source pad to funnel directly, then it is connected well.</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class="">The error log when I tried to connect avdec_h265 to funnel sink is down below.</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024641965   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #b2b2b2; background-color: #850002" class=""><b class="">    GST_ELEMENT_PADS gstutils.c:898:gst_element_get_compatible_pad_template:</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> Looking for a suitable pad template in avdec_h265-0 out of 2 templates...</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024652417   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #5620f4" class=""><b class="">            GST_CAPS gstutils.c:913:gst_element_get_compatible_pad_template:</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> compatible direction: found src pad template "src"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(86, 32, 244);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">0:00:01.024656496   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">            GST_CAPS gstutils.c:918:gst_element_get_compatible_pad_template:</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> intersecting EMPTY</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024669500   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #5620f4" class=""><b class="">            GST_CAPS gstutils.c:920:gst_element_get_compatible_pad_template:</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> ..and video/x-raw, format=(string){ I420, YUY2, RGB, BGR, Y42B, Y444, YUV9, Y41B, GRAY8, RGB8P, I420, Y42B, Y444, UYVY, NV12, NV21, ARGB, RGBA, ABGR, BGRA, GRAY16_BE, GRAY16_LE, A420, RGB16, RGB15, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, GBRA, xRGB, RGBx, xBGR, BGRx, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE }</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(86, 32, 244);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">0:00:01.024676258   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">            GST_CAPS gstutils.c:926:gst_element_get_compatible_pad_template:</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> caps are not compatible</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(178, 178, 178);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">0:00:01.024679912   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; background-color: #850002" class=""><b class="">    GST_ELEMENT_PADS gstutils.c:941:gst_element_get_compatible_pad_template:</b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> No compatible pad template found</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024685917   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class="">INFO   </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #b2b2b2; background-color: #850002" class=""><b class="">    GST_ELEMENT_PADS gstutils.c:1225:gst_element_get_compatible_pad:<avdec_h265-0></b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> Could not find a compatible pad to link to f:sink_0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024690335   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #b2b2b2; background-color: #850002" class=""><b class="">    GST_ELEMENT_PADS gstutils.c:1981:gst_element_link_pads_full:</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> no link possible from avdec_h265-0 to f:sink_0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024717142   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class="">               funnel gstfunnel.c:286:gst_funnel_release_pad:<f> releasing pad f:sink_0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024749983   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #850002; background-color: #0000a3" class=""><b class="">            GST_PADS gstpad.c:1113:gst_pad_set_active:<f:sink_0></b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> deactivating pad from push mode</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024757913   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #850002; background-color: #0000a3" class=""><b class="">            GST_PADS gstpad.c:984:pre_activate:<f:sink_0></b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> setting PAD_MODE NONE, set flushing</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(133, 0, 2);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">0:00:01.024794588   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; background-color: #0000a3" class=""><b class="">            GST_PADS gstpad.c:1047:post_activate:<f:sink_0></b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> stopped streaming</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(133, 0, 2);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">0:00:01.024816457   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; background-color: #0000a3" class=""><b class="">            GST_PADS gstpad.c:1227:activate_mode_internal:<f:sink_0></b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> deactivated in push mode</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(178, 178, 178);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">0:00:01.024823495   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class="">INFO   </span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; background-color: #850002" class=""><b class="">    GST_ELEMENT_PADS gstelement.c:784:gst_element_remove_pad:<f></b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> removing pad 'sink_0'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024831150   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #c7c7c7" class="">DEBUG  </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #850002; background-color: #0000a3" class=""><b class="">     GST_REFCOUNTING gstpad.c:707:gst_pad_dispose:<'':sink_0></b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> 0x561e8fd00ae0 dispose</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024841127   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #38b9c7" class="">INFO   </span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="text-decoration: underline ; font-variant-ligatures: no-common-ligatures" class="">             default gstutils.c:2161:gst_element_link_pads_filtered:</span><span style="font-variant-ligatures: no-common-ligatures" class=""> Could not link pads: avdec_h265-0:(null) - f:sink_0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0:00:01.024868439   432 0x561e8f2ba600 </span><span style="font-variant-ligatures: no-common-ligatures; color: #ca3323" class=""><b class="">ERROR  </b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #b2b2b2; background-color: #850002" class=""><b class="">        GST_PIPELINE grammar.y:738:gst_parse_perform_link:</b></span><span style="font-variant-ligatures: no-common-ligatures" class=""> could not link avdec_h265-0 to f</span></div></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">In Gstreamer document, funnel have sink pad that has caps type ANY. But I think log said there have no compatible caps for avdec_h265. </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class="">I lost way to go now..</div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class="">Thanks for reading.</div></body></html>