264
edits
No edit summary |
No edit summary |
||
Line 80: | Line 80: | ||
''Processing time with ptz transformations (4000x2000 - 1000x1000):'' | ''Processing time with ptz transformations (4000x2000 - 1000x1000):'' | ||
<syntaxhighlight lang="bash" line> | |||
#!/bin/bash | |||
counter=0 | |||
gst-client pipeline_create p1 "videotestsrc is-live=true num-buffers=200 ! queue ! video/x-raw,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> | |||
[[File:15-perf.svg|thumbnail|center|640px|Element performance]] | [[File:15-perf.svg|thumbnail|center|640px|Element performance]] | ||
====Processing time using NVMM==== | ====Processing time using NVMM==== |
edits