Difference between revisions of "GstRtspSink - NVidia TX2"

From RidgeRun Developer Connection
Jump to: navigation, search
m
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{GstRtspSink/Head|previous=Performance|next=NVidia_TX1_EVM|metakeywords=}}
  
{{GstRtspSink Page|
+
This wiki presents some performance measurements of a typical GstRtspSink pipeline on the NVidia TX2 running for 2:40 hours.
[[GstRtspSink - Performance|Performance]]|
+
<br>
[[GstRtspSink_-_NVidia_TX1_EVM|NVidia TX1 EVM]]|
+
<table>
 
+
<tr>
{{GStreamer debug}}
+
<td><div class="clear; float:right">__TOC__</div></td>
 
+
<td valign=top>
 +
<td>
 +
{{GStreamer debug}}  
 +
</td>
 +
<td>
 +
{{NVIDIA Preferred Partner logo}}
 +
</td>
 +
<td>
 +
{{ContactUs Button}}
 +
</td>
 +
</table>
 
<br>
 
<br>
 
+
The pipeline ran without clients, after 1h one client is connected to the stream.  
This wiki presents some performance measurements of a typical GstRtspSink pipeline on the NVidia TX2.
 
  
 
== GstRtspSink Pipeline ==
 
== GstRtspSink Pipeline ==
  
The following GstRtspSink pipeline generates video with a videotestsrc, encodes it using HW accelerated H264 encoder and streams it using GstRtspSink.
+
The following GstRtspSink pipeline generates video with a videotestsrc, encodes it using HW accelerated H264 encoder, and streams it using GstRtspSink.
  
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
Line 20: Line 30:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
<pre style="background:yellow">
+
{{Ambox
The perf element is optional and its only used to print frame rate and CPU usage. If you are interested in using it, you may find it  at https://github.com/RidgeRun/gst-perf
+
|type=notice
</pre>
+
|small=left
 
+
|issue='''The [https://github.com/RidgeRun/gst-perf perf element] is optional.  The perf element prints frame rate and CPU usage debug information.'''
 +
|style=width:unset;
 +
}}
  
 
== Framerate ==
 
== Framerate ==
Line 31: Line 43:
  
 
== CPU Load ==
 
== CPU Load ==
 +
The CPU load was measured using '''perf''' element.
 
[[File:Cpu usage.png|500px|center|thumb|CPU measured]]
 
[[File:Cpu usage.png|500px|center|thumb|CPU measured]]
The CPU load was measured using tetrastats.
+
 
 +
== RAM Usage ==
 +
The ram usage was measured using massif.
 +
[[File:Ram usage.png|500px|thumb|center|Ram measured]]
  
  
}}
+
{{GstRtspSink/Foot|previous=Performance|next=NVidia_TX1_EVM}}

Latest revision as of 22:16, 26 May 2023


Previous: Performance Index Next: NVidia_TX1_EVM




This wiki presents some performance measurements of a typical GstRtspSink pipeline on the NVidia TX2 running for 2:40 hours.

Error something wrong.jpg Problems running the pipelines shown on this page?
Please see our GStreamer Debugging guide for help.

Nvidia-preferred-partner-badge-rgb-for-screen.png

RR Contact Us.png


The pipeline ran without clients, after 1h one client is connected to the stream.

GstRtspSink Pipeline

The following GstRtspSink pipeline generates video with a videotestsrc, encodes it using HW accelerated H264 encoder, and streams it using GstRtspSink.

PORT=5000
MAPPING=/stream1
gst-launch-1.0 videotestsrc ! omxh264enc ! h264parse ! video/x-h264, mapping=${MAPPING}  ! perf print-arm-load=1 ! rtspsink service=${PORT}

Framerate

The frame rate was measured using the perf element.

Framerate measured

CPU Load

The CPU load was measured using perf element.

CPU measured

RAM Usage

The ram usage was measured using massif.

Ram measured



Previous: Performance Index Next: NVidia_TX1_EVM