GStreamer Video Stabilizer for NVIDIA Jetson Boards/Performance/TX1/TX2: Difference between revisions

m
no edit summary
mNo edit summary
 
mNo edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{GStreamer Video Stabilizer for NVIDIA Jetson Boards/Head|previous=Performance|next=Performance/Xavier|metakeywords=TX1/TX2 pipelines performance, Xavier pipelines performance, examples, performance analysis, GstNvStabilize performance, GstNvStabilize performance analysis, CPU performance, GPU performance, TX1/TX2 performance}}
{{GStreamer Video Stabilizer for NVIDIA Jetson Boards/Head|previous=Performance|next=Performance/Xavier|}}
</noinclude>
</noinclude>


Line 14: Line 14:
===== Test Conditions =====
===== Test Conditions =====
The following measurements were taken with the board on high-performance mode enabled, which was attained by running the following commands:
The following measurements were taken with the board on high-performance mode enabled, which was attained by running the following commands:
<syntaxhighlight lang=bash>
<syntaxhighlight lang="bash">
sudo nvpmodel -m 0
sudo nvpmodel -m 0
sudo jetson_clocks
sudo jetson_clocks
Line 20: Line 20:


All the measurements bellow where made using the following minimal pipeline.
All the measurements bellow where made using the following minimal pipeline.
<syntaxhighlight lang=bash>
<syntaxhighlight lang="bash">
PATH_TO_FILE=path_to_file.rgba
PATH_TO_FILE=path_to_file.rgba
WIDTH=1920
WIDTH=1920
Line 112: Line 112:


=== Glass-to-glass latency ===  
=== Glass-to-glass latency ===  
Latency was measured as shown in the picture, and the following are the approximate results. It is important to notice that latency can be affected by the parameters selected on the pipeline, specifically the queue-size property of the gst-nvstabilize element, as further explained on the [https://developer.ridgerun.com/wiki/index.php?title=GStreamer_Video_Stabilizer_for_NVIDIA_Jetson_Boards/User_Guide User Guide]. The pipeline used was the following:
Latency was measured as shown in the picture, and the following are the approximate results. It is important to notice that latency can be affected by the parameters selected on the pipeline, specifically the queue-size property of the gst-nvstabilize element, as further explained on the [[GStreamer_Video_Stabilizer_for_NVIDIA_Jetson_Boards/User_Guide | User Guide]]. The pipeline used was the following:


<!--------
<!--------
Line 125: Line 125:
}}
}}


<syntaxhighlight lang=bash>
<syntaxhighlight lang="bash">
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=1280,height=720' ! nvvidconv ! 'video/x-raw(memory:NVMM),width=1280,height=720,format=RGBA'  ! nvvidconv ! queue max-size-buffers=1 leaky=downstream ! nvstabilize queue-size=5 ! nvvidconv ! nvoverlaysink sync=false
gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=1280,height=720' ! nvvidconv ! 'video/x-raw(memory:NVMM),width=1280,height=720,format=RGBA'  ! nvvidconv ! queue max-size-buffers=1 leaky=downstream ! nvstabilize queue-size=5 ! nvvidconv ! nvoverlaysink sync=false
</syntaxhighlight>
</syntaxhighlight>