<div dir="ltr"><div>Hi,</div>I use a funnel element to take multiple input video sources and outputs one source. In the next element, after the funnel, I want to read stream id of each video stream.<br>I have this code:<br><div>"</div><div><i>static GstFlowReturn gst_hailofilter_transform_ip(GstBaseTransform *trans,<br>                                                   GstBuffer *buffer)<br>{<br>        GstPad *srcpad = trans->srcpad;<br>        gchar *stream_id = gst_pad_get_stream_id(srcpad);<br>        std::cout << stream_id << std::endl;</i><br></div><div>"</div><div>The function prints following for two input streams:<br></div><div>"</div><div><i>0b70cf574e1fef0b694a8a449a94732091cda1ce67bc4bf7c71c59d6c331f5b1/001<br>7960608e8835f3eeaf8fba46351367dd76199a9e133117d4aeeccb862e8da9aa/001<br>0b70cf574e1fef0b694a8a449a94732091cda1ce67bc4bf7c71c59d6c331f5b1/001<br>7960608e8835f3eeaf8fba46351367dd76199a9e133117d4aeeccb862e8da9aa/001<br>.<br>.<br>.<br>0b70cf574e1fef0b694a8a449a94732091cda1ce67bc4bf7c71c59d6c331f5b1/001<br>7960608e8835f3eeaf8fba46351367dd76199a9e133117d4aeeccb862e8da9aa/001</i><br></div><div>"</div><div><br></div><div>These "hashes" must be related with input names, because for each input name it generates the same hash every time. For example:</div><div>"</div><div>input name: "file:///tmp/input_video_1.mp4" -> generated hash: "0b70cf574e1fef0b694a8a449a94732091cda1ce67bc4bf7c71c59d6c331f5b1/001"<br>input name: "file:///tmp/input_video_2.mp4" -> generated hash: "7960608e8835f3eeaf8fba46351367dd76199a9e133117d4aeeccb862e8da9aa/001"<br></div><div>"</div><div><br></div><div>Is there any way how to "decode" these hashes to the original string (path of video file? Or is there some other way to find out stream ids (for example first input -> 0, second input -> 1)?<br></div><div>Thank you!</div><div>Tommy</div><div><br></div><div><br></div><div><br></div><div><br></div><div>OS: Ubuntu 20.04<br>Gstreamer version: 1.16.3<br></div></div>