How to save image from multi source after decode with nvdec in deepstream-app?Or where to add probe?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Jetson Xavier NX
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

For multiple sources, if you just want to save the decoded frames, you can add tee after decoder and save the decoded frames through filesink (and image encoder if you want compressed format).

Thanks for your reply.
I have another question, Is there any examples about how to use streamdemux in deepstream-5.0 or others?

There are sample pipelines in the document. Gst-nvstreamdemux — DeepStream 5.1 Release documentation

Yes.I found and test.Except commandline ,is there c/c++ codes?

Please make sure you are familiar with gstreamer basic knowledge and coding skills before you start with deepstream. GStreamer: open source multimedia framework

ok.Thank you.