In the DeepStream 6.3 package, there’s a file named deepstream-test3 that, according to the official documentation, is designed for multi-stream processing. Inside this folder, there’s a file named deepstream_test3_app.c, which contains a function called tiler_src_pad_buffer_probe. This function includes code for displaying text output, but this part of the code is commented out. After uncommenting it and recompiling, the text still does not display.
In the deepstream-test1 folder, there is a file named deepstream_test1_app.c, which contains a function called osd_sink_pad_buffer_probe. In this case, the text successfully displays in the final video output.
I also experimented with adding data in the tile_sink_pad_buffer_probe function in other programs, and the text displayed correctly in the final video.
I would like to know if data can only be transmitted through the pipeline if it is added at the sink, and if adding data at the src does not allow it to be transmitted through the pipeline. If this is the case, could you please explain why?
In test3, the tiler_src_pad_buffer_probe is associated with the tiler’s output pad. Why is the code for displaying text commented out in this example? Since there is also an OSD element after the tiler, it should be possible to display text at the OSD’s sink pad. However, when I uncomment the text display code in test3, the text still does not appear in the final output. Could you please explain why?
I want to add some data at the beginning of the pipeline and then extract it after it has passed through some elements in the pipeline. In this case, is it better to add the data at the sink pad of an element, or can it be added at any pad?
My pipeline structure has a tiler element followed by two queue elements and an nvvidconv element before reaching the OSD element. When I add data at the output of the tiler and OSD, the data is successfully displayed in the final output. However, when I add data at the input of the tiler, it seems to be filtered out. But when I tried adding data at the input of the OSD, the data still didn’t display in the final output. Why is this happening? Since adding data at the output of the tiler results in it being displayed, it means that at least the OSD is not filtering out the data. But why is the data not being displayed when I add it at the input of the OSD?
I look forward to your response.
In the deepstream_faciallandmark_app file, lines 334 to 501 contain the input data for the OSD. In this function, I added data between lines 359 and 374, and the data was successfully displayed as ‘9’. Lines 654 to 940 contain the OSD’s sink pad, and in this function, I modified the code at line 917 to display ‘hello’ in the final output. Lines 945 to 1103 contain the tiler’s sink pad, and I added some code between lines 1084 and 1098 that also allows ‘hello’ to be displayed in the final output. The final display shows two ‘hello’ messages as expected, but the number ‘9’ is not displayed.
The pipeline connection sequence is located on line 1816. Could you please explain why adding data at the output of the nvtile element results in it being displayed, while adding data at the input of the nvosd element does not? deepstream_faciallandmark_app.txt (85.1 KB)
deepstream_test3_app.txt (20.5 KB)
In the deepstream_test3_app file, line 85 corresponds to the tiler’s src pad. Why is it that adding data at this point does not propagate further down the pipeline? When adding data at the tiler’s sink pad, the data is displayed in the final output. Could you please explain this? The original code from the official file had the display code here commented out. Was it commented out because it was found that the data could not be displayed?
I want to add metadata to a certain element in the pipeline and use it in subsequent elements. Can you tell me a useful method? If you could provide some simple examples, that would be even better. Thank you very much for your answer.
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks