264
edits
No edit summary |
No edit summary |
||
Line 176: | Line 176: | ||
| 4000x2000 – 1000x1000 || 3.17019 | | 4000x2000 – 1000x1000 || 3.17019 | ||
|} | |} | ||
====Processing time with ptz transformations usin NVMM==== | |||
The bash script provided applies PTZ transformations to measure how they impact the processing time of the rrpanoramaptz element. The script sequentially applies a change in the pan position every 0.02 seconds, which introduces additional computational work for the processing element. This is reflected in the measured processing times, providing a realistic understanding of the element's performance under PTZ operations. | |||
<syntaxhighlight lang="bash" line> | |||
#!/bin/bash | |||
counter=0 | |||
gst-client pipeline_create p1 "videotestsrc is-live=true num-buffers=200 ! nvvidconv ! queue ! video/x-raw(memory:NVMM),width=4000,height=2000 ! rrpanoramaptz name=ptz ! video/x-raw,width=1000,height=1000 ! fakesink" | |||
gst-client pipeline_play p1 | |||
while [ $counter -lt 180 ]; do | |||
gst-client --quiet element_set p1 ptz pan ${counter} | |||
((counter++)) | |||
sleep 0.02 # pan rate of change | |||
done | |||
gst-client pipeline_stop p1 | |||
gst-client pipeline_delete p1 | |||
</syntaxhighlight> | |||
''Resulting Graph:'' | |||
[[File:16-perf.svg|thumbnail|center|640px|Element performance]] | |||
The graph shows fluctuations in processing time, which align with the moments when pan transformations are applied by the script | |||
====Framerate==== | ====Framerate==== |
edits