# Saving the Frames based on Source\_id

**URL:** <https://forums.developer.nvidia.com/t/saving-the-frames-based-on-source-id/254279>\
**Category:** DeepStream SDK\
**Created:** [May 24, 2023, 10:00am UTC](https://forums.developer.nvidia.com/t/saving-the-frames-based-on-source-id/254279 "2023-05-24T10:00:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gomathysankaran.k](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gomathysankaran.k](https://forums.developer.nvidia.com/u/gomathysankaran.k)\
**Post date:** [May 24, 2023, 10:00am UTC](https://forums.developer.nvidia.com/t/saving-the-frames-based-on-source-id/254279/1 "2023-05-24T10:00:56Z")

</div>

Please provide complete information as applicable to your setup.

• Hardware Platform (GPU)**: Tesla M60  
• Deep Stream Version: 6.0  
• TensorRT Version** :8.0  
• NVIDIA GPU Driver Version valid for GPU \*: 470.182.03  
\*\*• Issue Type (questions, new requirements, bugs) \*\*: question  
Hi Team  
I am using the ds example custom plugin for saving the image with bounding box and tested in deepstream\_opencv example works fine by adding dsexample after nvosd , now trying to implement the dsexample on deepstream\_app.c and save the images from different sink based on source\_id . Images are saving based on the source\_id but without bounding box, can you help on these how can we save the frames with bounding box based on source\_id or where I need to implement this custom dsexample plugin in the code. I had referred this link for saving it from different sink. ([Pipeline to send multiple sources to multiple sinks? - Intelligent Video Analytics / Deep Stream SDK - NVIDIA Developer Forums] ([Pipeline to send multiple sources to multiple sinks?](https://forums.developer.nvidia.com/t/pipeline-to-send-multiple-sources-to-multiple-sinks/83537))

Note: I have implemented the ds example properties in the config file and disabled the tiler

---

<div class="post-metadata">

**Author:** ![yuweiw](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/yuweiw/32/101255_2.png) [@yuweiw](https://forums.developer.nvidia.com/u/yuweiw)\
**Post date:** [May 25, 2023, 5:51am UTC](https://forums.developer.nvidia.com/t/saving-the-frames-based-on-source-id/254279/3 "2023-05-25T05:51:36Z")

</div>

**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**

You don’t need to change the deepstream\_app.c code. You can get all the batched pictures from NvBufSurface structure in your dsexample plugin code. There is a list: `surfaceList`. You can try to get the 1st image from surfaceList[0], the 2nd from surfaceList[1]…

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [June 26, 2023, 12:55am UTC](https://forums.developer.nvidia.com/t/saving-the-frames-based-on-source-id/254279/5 "2023-06-26T00:55:01Z")

</div>

Closed on June 26, 2023, 12:55am UTC

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