# Dose Deepstream support adding new video source in pipeline?

**URL:** <https://forums.developer.nvidia.com/t/dose-deepstream-support-adding-new-video-source-in-pipeline/65042>\
**Category:** DeepStream SDK\
**Created:** [September 13, 2018, 2:54am UTC](https://forums.developer.nvidia.com/t/dose-deepstream-support-adding-new-video-source-in-pipeline/65042 "2018-09-13T02:54:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiruna](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Tiruna](https://forums.developer.nvidia.com/u/Tiruna)\
**Post date:** [September 13, 2018, 2:54am UTC](https://forums.developer.nvidia.com/t/dose-deepstream-support-adding-new-video-source-in-pipeline/65042/1 "2018-09-13T02:54:21Z")

</div>

Suppose we process three videos in the meantime. And now, a new video source need to be processed. To use GPU source as much as possible, we want to add the new video to the process pipeline. Is it possible in Deepstream structure?

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [September 13, 2018, 5:44am UTC](https://forums.developer.nvidia.com/t/dose-deepstream-support-adding-new-video-source-in-pipeline/65042/2 "2018-09-13T05:44:54Z")

</div>

Sure.

You can use the different deepstream pipeline for each input source.

---

<div class="post-metadata">

**Author:** ![Tiruna](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Tiruna](https://forums.developer.nvidia.com/u/Tiruna)\
**Post date:** [September 13, 2018, 7:20am UTC](https://forums.developer.nvidia.com/t/dose-deepstream-support-adding-new-video-source-in-pipeline/65042/3 "2018-09-13T07:20:31Z")

</div>

Maybe I don’t state my question clearly. What I want to do is adding the new video into the current pipeline which processes the previous three videos. As a result, the Deepstream could decode four videos in the meanwhile. And it will be much better for the inference since the time of inference will be shorter than processing them separately.

Is it possible for adding new videos or RTSP streams into the existing pipeline dynamically?

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [September 18, 2018, 6:59am UTC](https://forums.developer.nvidia.com/t/dose-deepstream-support-adding-new-video-source-in-pipeline/65042/4 "2018-09-18T06:59:37Z")

</div>

Hi,

If you want to add a source dynamically, please design your mechanism as a _“Custom Gstreamer Plugin”_.

## RTSP source is supported, please check our document for details: _DeepStream\_Release/docs/NVIDIA\_DeepStream\_SDK\_on\_Tesla\_V2.0\_User\_Guide.pdf_

[b]\> Reference Application Configuration

> Configuration Groups  
> Source Group[/b]  
> The URI can be a file, an HTTP URI, or an RTSP live source.  
> uri=rtsp://127.0.0.1/source1

* * *

Thanks.

---

<div class="post-metadata">

**Author:** ![Tiruna](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Tiruna](https://forums.developer.nvidia.com/u/Tiruna)\
**Post date:** [September 18, 2018, 9:24am UTC](https://forums.developer.nvidia.com/t/dose-deepstream-support-adding-new-video-source-in-pipeline/65042/5 "2018-09-18T09:24:04Z")

</div>

Thank you for your reply. I will have a look at it.
