How to crop the image and save as next to do I can’t distinguish source id, when surface->surfaceList, The program crashed， what shoule I do
which language are you using? C++ or python?
I use C++.
Source-id is in NvDsFrameMeta. MetaData in the DeepStream SDK — DeepStream 5.1 Release documentation
The image crop sample is in /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-image-meta-test. C/C++ Sample Apps Source Details — DeepStream 5.1 Release documentation
Now I do it in deepstream-app, According to someone’s reply, sometimes you can tell which stream is, but sometimes it’s chaotic, So I don’t know how to deal with it now . What I’m curious about is why we don’t publish the sample code directly for the things that many people need. I just want to refer to dsexmaple. I can’t understand the developers’ ideas
At present, I have a new problem. According to the code in the figure above, I can’t accurately distinguish which video stream the image is. Can you help me analyze the reason，I do it in deepstream-app.c
What is the pipeline?
I don’t understand what you mean
What is connected to the src pad and sink pad of “tiler_tee”? What is connected to appsink sink pad?
Do you have basic knowledge and programming skills for gstreamer? Do you know what is a pipeline?
From the piece of code, I can not figure out what is the input and output of the modules, so how can we know what is wrong?
deepstream_app.cpp (62.7 KB)
According to the code you upload here, the appsink is after nvmultistreamtiler, so there is only one stream. source_id is of no use. Please refer to Gst-nvmultistreamtiler — DeepStream 5.1 Release documentation for the functions of nvmultistreamtiler.
thank you, I’ve solved it