<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi John<div class=""><br class=""></div><div class="">Just tested a fresh clone on a Ubuntu 16.04 box running gst 1.14.1 and worked. It looks like GstShark tracers are not being properly installed. Latency is not part of our installation, but upstream. Can you double check that you configured the project as the following:</div><div class=""><br class=""></div><div class="">./autogen.sh --libdir /usr/lib/x86_64-linux-gnu/ --prefix /usr</div><div class=""><br class=""></div><div class="">Otherwise GStreamer won’t be able to find them. Additionally, can you provide the output of the following:</div><div class=""><br class=""></div><div class="">gst-inspect-1.0 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsharktracers.so</div><div class=""><br class=""></div><div class="">Thanks!</div><div class="">Michael</div><div class=""><a href="http://www.ridgerun.com" class="">www.ridgerun.com</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">GST_TRACERS="framerate;bitrate" GST_DEBUG=GST_TRACER:7 gst-launch-1.0 videotestsrc is-live=true ! fakesink</div><div class="">0:00:00.020323481 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d89c0 (cpuusage)</div><div class="">0:00:00.020358658 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d8a80 (graphic)</div><div class="">0:00:00.020387450 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d8b40 (proctime)</div><div class="">0:00:00.020426883 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d8c00 (interlatency)</div><div class="">0:00:00.020447822 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d8cc0 (scheduletime)</div><div class="">0:00:00.020460864 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d8d80 (framerate)</div><div class="">0:00:00.020471561 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d8e40 (queuelevel)</div><div class="">0:00:00.020482140 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x5557571d8f00 (bitrate)</div><div class="">0:00:00.020531668 1559 0x555757287a40 DEBUG GST_TRACER gsttracer.c:164:gst_tracer_register:<registry0> update existing feature 0x555757311810 (buffer)</div><div class="">0:00:00.020732953 1559 0x555757287a40 TRACE GST_TRACER gsttracerrecord.c:111:gst_tracer_record_build_format: framerate.class, pad=(structure)"scope\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PAD\;", fps=(structure)"value\,\ type\=\(type\)guint\,\ description\=\(string\)\"Frames\\\ per\\\ second\"\,\ flags\=\(GstTracerValueFlags\)GST_TRACER_VALUE_FLAGS_AGGREGATED\,\ min\=\(uint\)0\,\ max\=\(uint\)4294967295\;";</div><div class="">0:00:00.020747257 1559 0x555757287a40 DEBUG GST_TRACER gsttracerrecord.c:125:gst_tracer_record_build_format: new format string: framerate, pad=(string)%s, fps=(uint)%u;</div><div class="">0:00:00.020817151 1559 0x555757287a40 TRACE GST_TRACER gsttracerrecord.c:111:gst_tracer_record_build_format: bitrate.class, pad=(structure)"scope\,\ type\=\(type\)gchararray\,\ related-to\=\(GstTracerValueScope\)GST_TRACER_VALUE_SCOPE_PAD\;", bitrate=(structure)"value\,\ type\=\(type\)guint64\,\ description\=\(string\)Bitrate\,\ flags\=\(GstTracerValueFlags\)GST_TRACER_VALUE_FLAGS_AGGREGATED\,\ min\=\(guint64\)0\,\ max\=\(guint64\)18446744073709551615\;";</div><div class="">0:00:00.020827605 1559 0x555757287a40 DEBUG GST_TRACER gsttracerrecord.c:125:gst_tracer_record_build_format: new format string: bitrate, pad=(string)%s, bitrate=(guint64)%lu;</div><div class="">Setting pipeline to PAUSED ...</div><div class="">Pipeline is live and does not need PREROLL ...</div><div class="">Setting pipeline to PLAYING ...</div><div class="">New clock: GstSystemClock</div><div class="">0:00:00.787144028 1559 0x555757287a40 TRACE GST_TRACER :0:: bitrate, pad=(string)videotestsrc0_src, bitrate=(guint64)20275200;</div><div class="">0:00:00.787207946 1559 0x555757287a40 TRACE GST_TRACER :0:: framerate, pad=(string)videotestsrc0_src, fps=(uint)22;</div><div class="">0:00:01.788378328 1559 0x555757287a40 TRACE GST_TRACER :0:: bitrate, pad=(string)videotestsrc0_src, bitrate=(guint64)27648000;</div><div class="">0:00:01.788449999 1559 0x555757287a40 TRACE GST_TRACER :0:: framerate, pad=(string)videotestsrc0_src, fps=(uint)30;</div><div class="">0:00:02.787562028 1559 0x555757287a40 TRACE GST_TRACER :0:: bitrate, pad=(string)videotestsrc0_src, bitrate=(guint64)27648000;</div><div class="">0:00:02.787620822 1559 0x555757287a40 TRACE GST_TRACER :0:: framerate, pad=(string)videotestsrc0_src, fps=(uint)30;</div><div class=""><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On May 30, 2019, at 8:30 PM, John Hanks <<a href="mailto:jhanks@vsicorp.com" class="">jhanks@vsicorp.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">In case others are having similar problems. gst-shark is not
providing the output it should.</p><p class="">Has anyone else had similar issues?<br class="">
</p><p class="">John<br class="">
</p>
<div class="moz-forward-container"><br class="">
<br class="">
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0" cellpadding="0" border="0">
<tbody class="">
<tr class="">
<th valign="BASELINE" nowrap="nowrap" align="RIGHT" class="">Subject:
</th>
<td class="">Vsicorp: Problems with GstShark - RidgeRun</td>
</tr>
<tr class="">
<th valign="BASELINE" nowrap="nowrap" align="RIGHT" class="">Date: </th>
<td class="">Wed, 29 May 2019 14:50:45 +0000 (GMT)</td>
</tr>
<tr class="">
<th valign="BASELINE" nowrap="nowrap" align="RIGHT" class="">From: </th>
<td class="">Carlos Rodriguez <a class="moz-txt-link-rfc2396E" href="mailto:carlos.rodriguez@ridgerun.com"><carlos.rodriguez@ridgerun.com></a></td>
</tr>
<tr class="">
<th valign="BASELINE" nowrap="nowrap" align="RIGHT" class="">To: </th>
<td class="">John Hanks <a class="moz-txt-link-rfc2396E" href="mailto:jhanks@vsicorp.com"><jhanks@vsicorp.com></a>, support
<a class="moz-txt-link-rfc2396E" href="mailto:support@ridgerun.com"><support@ridgerun.com></a></td>
</tr>
<tr class="">
<th valign="BASELINE" nowrap="nowrap" align="RIGHT" class="">CC: </th>
<td class="">Miguel Angel Taylor López
<a class="moz-txt-link-rfc2396E" href="mailto:miguel.taylor@ridgerun.com"><miguel.taylor@ridgerun.com></a></td>
</tr>
</tbody>
</table>
<br class="">
<br class="">
<div class="hs_reply_wrap">
<div class=""> Hi John, </div>
<br class="">
<div class=""> Thanks for your interest in our products and services.
RidgeRun is a company with over a decade of embedded Linux
experience supporting NVIDIA, Xilinx, Freescale/NXP, and Texas
Instruments SoC. RidgeRun focuses on embedded Linux and
GStreamer. Many, but not all, of our customers are doing some
sort of audio / video streaming ( <a href="https://shop.ridgerun.com/collections/all" rel="nofollow" moz-do-not-send="true" class="">https://shop.ridgerun.com/collections/all</a>).
</div>
<br class="">
<div class=""> Miguel (CC'ed) will help you with this GstShark problem.
He will provide support shortly. </div>
<br class="">
<div class=""> Regards, </div>
<div class=""> - Carlos R. </div>
<div class="">
----------------------------------------------------------------------------------------------
</div>
<div class=""> <strong class="">Ticket Name</strong>: Problems with GSTShark </div>
<br class="">
<div class=""> <strong class="">Ticket Description</strong>: </div>
<br class="">
<div class=""> I've been working with gstreamer for about a year and
wanted to use your tools to profile my working pipelines
(actually, programs) so I could debug future problems. I
followed the instructions to 'git', make and install the code
but I must have done something wrong. The only time it seems
to do anything is when I set GST_TRACERS=latency. It then
displays the latency in the running window like this: </div>
<br class="">
<div class=""> 0:00:01.739608128 4356 0xbb04a0 TRACE GST_TRACER :0::
latency, src=(string)videotestsrc0_src,
sink=(string)fakesink0_sink, time=(guint64)1558941909,
ts=(guint64)1739572905; </div>
<div class=""> 0:00:01.773075049 4356 0xbb04a0 TRACE GST_TRACER :0::
latency, src=(string)videotestsrc0_src,
sink=(string)fakesink0_sink, time=(guint64)1588456647,
ts=(guint64)1773053449; </div>
<div class=""> 0:00:01.806234476 4356 0xbb04a0 TRACE GST_TRACER :0::
latency, src=(string)videotestsrc0_src,
sink=(string)fakesink0_sink, time=(guint64)1617668782,
ts=(guint64)1806211230; </div>
<br class="">
<div class=""> This output is odd because what I read says the it should
create a new subdirectory and dump the information in a file.
Even when I set that directory (GST_SHARK_LOCATION), it still
dumps latency o the screen and and never creates a file. </div>
<br class="">
<div class=""> If I try any of the other tracers (cpuusage,framerate,
etc) it just hangs after starting the pipeline - and that is
your example pipelines from the wiki. </div>
<br class="">
<div class=""> I'm guessing I must have done something wrong with the
installation but cannot figure out what. </div>
<br class="">
<div class=""> I'm running Ubuntu 16.04.6. </div>
<br class="">
<div class=""> Any ideas what I am doing wrong? </div>
<br class="">
<div class=""> John </div>
<br class="">
<br class="">
<div class="hs_reply"> <br class="">
<div class=""> Tuesday, May 28, 2019 8:05:08 PM CST, John Hanks <span dir="ltr" class=""><<a href="mailto:jhanks@vsicorp.com" target="_blank" moz-do-not-send="true" class="">jhanks@vsicorp.com</a>></span>:
<br class="">
</div>
</div>
</div>
<img style="display:none" src="https://t.sidekickopen77.com/s1t/o/5/f18dQhb0S7kC8dDMPbW2n0x6l2B9gXrN7sKj6v5KRM2W56Dyqq63Rx9WW16gGD99b__Xy101?si=7000000000965409&pi=152f44b3-d4f2-4049-8a19-819cda64d6fd" moz-do-not-send="true" width="1" height="1" class="">
</div>
</div>
_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</div></blockquote></div><br class=""></div></body></html>