Gst-nvdspreprocess: Remove original frame after resize

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): GPU
• DeepStream Version: 7.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): requirements
• 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: we are using gst-nvdspreprocess plugin in my pipeline. The input to pipeline is 2K resolution video.

gst-nvdspreprocess plugin is using libnvds_custom_sequence_preprocess.so for custom tensor creation. gst-nvdspreprocess works on frame and resize to 224x224. My requirement is to discard original frame after resize before sending to downstream. Let me know how can we dump original frame?

The pipeline will not discard the original frame.

There are may ways to dump original frame. You can refer to our sample demo to learn how to save the frame.

deepstream\sources\apps\sample_apps\deepstream-image-meta-test

Thanks for your reply.
Let me correct if you understood it correctly or not. I want to free the memory allocated to original frame after resizing in preprocess plugin. Will it possible to free the memory as original frame is not required.

This processing is handled through the buffer pool, so you don’t need to care about memory usage here.

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

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