Difference between revisions of "GstRtspSink - NVidia TX2"
Line 8: | Line 8: | ||
<br> | <br> | ||
− | This wiki presents some performance measurements of a typical GstRtspSink pipeline on the NVidia | + | This wiki presents some performance measurements of a typical GstRtspSink pipeline on the NVidia TX2. |
== GstRtspSink Pipeline == | == GstRtspSink Pipeline == | ||
− | The following GstRtspSink pipeline | + | 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> | ||
PORT=5000 | PORT=5000 | ||
MAPPING=/stream1 | MAPPING=/stream1 | ||
− | + | gst-launch-1.0 videotestsrc ! omxh264enc ! h264parse ! video/x-h264, mapping=${MAPPING} ! perf print-arm-load=1 ! rtspsink service=${PORT} | |
− | gst-launch-1.0 | ||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 31: | Line 28: | ||
The frame rate was measured using the '''perf''' element. | The frame rate was measured using the '''perf''' element. | ||
− | + | [[File:Fps.png|500px|thumb|center|Framerate measured]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== CPU Load == | == CPU Load == |
Revision as of 11:21, 3 March 2020
← |
⌂ Home |
→ |
Problems running the pipelines shown on this page? |
This wiki presents some performance measurements of a typical GstRtspSink pipeline on the NVidia TX2.
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}
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
Framerate
The frame rate was measured using the perf element.
CPU Load
The CPU load was measured using tetrastats.
RAM 1016/3994MB (lfb 475x4MB) cpu [40%,12%,14%,25%]@307 GR3D 0%@76 EDP limit 0 RAM 1016/3994MB (lfb 475x4MB) cpu [37%,18%,12%,32%]@307 GR3D 0%@76 EDP limit 0 RAM 1016/3994MB (lfb 475x4MB) cpu [38%,19%,22%,26%]@204 GR3D 0%@76 EDP limit 0 RAM 1016/3994MB (lfb 475x4MB) cpu [34%,35%,18%,10%]@307 GR3D 0%@76 EDP limit 0 RAM 1016/3994MB (lfb 475x4MB) cpu [33%,34%,18%,29%]@204 GR3D 0%@76 EDP limit 0 RAM 1016/3994MB (lfb 475x4MB) cpu [19%,27%,23%,38%]@307 GR3D 0%@76 EDP limit 0 RAM 1016/3994MB (lfb 475x4MB) cpu [32%,30%,13%,32%]@204 GR3D 0%@76 EDP limit 0
← |
⌂ Home |
→ |