How to implement screenshot in Deepstream?

I want to realize an automatic screenshot function in deepstream. Can you only modify the configuration file to achieve the related function?

No. But you can try to add some code by refering the deepstream_image_meta_test.c code pgie_src_pad_buffer_probe to save the picture when you want to do screenshot.

Can you provide more details,please?I’m not very good at C++.

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.

First, you need to know some basic knowledge about Gstreamer.
Then you need to know some basic knowledge of DeepStream.
The API I attached is the process to save picture to jpeg format.


Also, you can refer our python code:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.