# Deepstream Latency issue

**URL:** <https://forums.developer.nvidia.com/t/deepstream-latency-issue/161236>\
**Category:** DeepStream SDK\
**Tags:** gstreamer\
**Created:** [December 7, 2020, 5:12am UTC](https://forums.developer.nvidia.com/t/deepstream-latency-issue/161236 "2020-12-07T05:12:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterYu](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@PeterYu](https://forums.developer.nvidia.com/u/PeterYu)\
**Post date:** [December 7, 2020, 5:12am UTC](https://forums.developer.nvidia.com/t/deepstream-latency-issue/161236/1 "2020-12-07T05:12:13Z")

</div>

I am curretly running the Deepstream sample codee and RTSP related code on deepstream 5.0 on Xavier NX.

The whole process now(as i learn on sample code) is that i need to save the streaming as the data file , and feed this data to get the raw data from deeptream.

Is there a way to diretly function to Streaming? or the I/O performance and Latency will be a issue to us

---

<div class="post-metadata">

**Author:** ![Fiona.Chen](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fiona.chen/32/15508_2.png) [@Fiona.Chen](https://forums.developer.nvidia.com/u/Fiona.Chen)\
**Post date:** [December 7, 2020, 6:25am UTC](https://forums.developer.nvidia.com/t/deepstream-latency-issue/161236/3 "2020-12-07T06:25:11Z")

</div>

> [@PeterYu](#):
>
> The whole process now(as i learn on sample code) is that i need to save the streaming as the data file , and feed this data to get the raw data from deeptream.

Some samples work in this way, but others can get streaming resources directly and output RTSP stream directly. Please refer to deepstream-app. [DeepStream Reference Application - deepstream-app — DeepStream documentation](https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_ref_app_deepstream.html#)  
For the input sources, [DeepStream Reference Application - deepstream-app — DeepStream documentation](https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_ref_app_deepstream.html#source-group), “uri” can be http, rtsp, …

For the output sink [DeepStream Reference Application - deepstream-app — DeepStream documentation](https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_ref_app_deepstream.html#sink-group), “type” can be 4(Encode + RTSP streaming).

It is recommanded to get some gstreamer knowlege before start with DeepStream. [GStreamer: open source multimedia framework](https://gstreamer.freedesktop.org/)

---

<div class="post-metadata">

**Author:** ![PeterYu](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@PeterYu](https://forums.developer.nvidia.com/u/PeterYu)\
**Post date:** [December 7, 2020, 7:08am UTC](https://forums.developer.nvidia.com/t/deepstream-latency-issue/161236/4 "2020-12-07T07:08:01Z")

</div>

Thanks, Fiona, it is really helpful

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:15pm UTC](https://forums.developer.nvidia.com/t/deepstream-latency-issue/161236/6 "2021-10-12T16:15:51Z")

</div>


