<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I have upgrades gstreamer to 1.17.0.  I have done a new git and
      autogen/make/make install and still seem to have the same issues.</p>
    <p>Some output does come on the screen when looking for latency but
      not for anything else.  IF I try to have it saved to disk, it does
      not.  My code starts with:</p>
    <p>  setenv("GST_SHARK_LOCATION","/tmp/profile",TRUE);<br>
       
      setenv("GST_TRACERS","latency(flags=pipeline+elemen+reported)",TRUE);<br>
        setenv("GST_DEBUG","GST_TRACER:7" ,TRUE);<br>
      <br>
      <br>
        /* Initialize GStreamer */<br>
        gst_init (&argc, &argv);<br>
    </p>
    <p>--------<br>
    </p>
    <p>At some point during testing today, it did create a directory on
      disk but I cannot tell what command I was using at the time - I
      found the directory while I was upgrading gstreamer - and I have
      not been able to recreate it now that I am on 1.17.0.</p>
    <p>John<br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 6/6/19 19:45, John Hanks wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:cc4343e9-a70a-249f-8c4f-7eff9ecec21f@vsicorp.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Yes, this appears to be what I used in a slightly different
        order from your website:</p>
      <table class="wikitable">
        <tbody>
          <tr>
            <td>Ubuntu 64 bits</td>
            <td>--prefix /usr/ --libdir /usr/lib/x86_64-linux-gnu/</td>
          </tr>
        </tbody>
      </table>
      <p>I copied and pasted it in.<br>
      </p>
      <p>The output from gst-inspect is:</p>
      <p>Plugin Details:<br>
          Name                     sharktracers<br>
          Description              GstShark tracers<br>
          Filename                
        /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsharktracers.so<br>
          Version                  0.6.1.1<br>
          License                  LGPL<br>
          Source module            gst-shark<br>
          Source release date      2019-05-24 02:22 (UTC)<br>
          Binary package           GstShark<br>
          Origin URL               <a class="moz-txt-link-freetext"
          href="https://github.com/RidgeRun/gst-shark"
          moz-do-not-send="true">https://github.com/RidgeRun/gst-shark</a><br>
        <br>
          cpuusage (GstTracerFactory)<br>
          graphic (GstTracerFactory)<br>
          proctime (GstTracerFactory)<br>
          interlatency (GstTracerFactory)<br>
          scheduletime (GstTracerFactory)<br>
          framerate (GstTracerFactory)<br>
          queuelevel (GstTracerFactory)<br>
          bitrate (GstTracerFactory)<br>
          buffer (GstTracerFactory)<br>
        <br>
          9 features:<br>
          +-- 9 tracers<br>
      </p>
      <p>As I type this, I am in the process of upgrading from 1.15.0 to
        what looks like 1.16.0.  I thought I had already done that
        before.  Let me see if that helps.</p>
      <p>Will I need to re-install gst-shark after I do that?</p>
      <p>John<br>
      </p>
      <div class="moz-cite-prefix">On 6/5/19 18:44, Michael Gruner
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:704D4F9E-A421-4525-84DF-45A094D1A35A@ridgerun.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        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=""
            moz-do-not-send="true">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=""
                  moz-do-not-send="true">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 class="" valign="BASELINE" nowrap="nowrap"
                            align="RIGHT">Subject: </th>
                          <td class="">Vsicorp: Problems with GstShark -
                            RidgeRun</td>
                        </tr>
                        <tr class="">
                          <th class="" valign="BASELINE" nowrap="nowrap"
                            align="RIGHT">Date: </th>
                          <td class="">Wed, 29 May 2019 14:50:45 +0000
                            (GMT)</td>
                        </tr>
                        <tr class="">
                          <th class="" valign="BASELINE" nowrap="nowrap"
                            align="RIGHT">From: </th>
                          <td class="">Carlos Rodriguez <a
                              class="moz-txt-link-rfc2396E"
                              href="mailto:carlos.rodriguez@ridgerun.com"
                              moz-do-not-send="true"><carlos.rodriguez@ridgerun.com></a></td>
                        </tr>
                        <tr class="">
                          <th class="" valign="BASELINE" nowrap="nowrap"
                            align="RIGHT">To: </th>
                          <td class="">John Hanks <a
                              class="moz-txt-link-rfc2396E"
                              href="mailto:jhanks@vsicorp.com"
                              moz-do-not-send="true"><jhanks@vsicorp.com></a>,
                            support <a class="moz-txt-link-rfc2396E"
                              href="mailto:support@ridgerun.com"
                              moz-do-not-send="true"><support@ridgerun.com></a></td>
                        </tr>
                        <tr class="">
                          <th class="" valign="BASELINE" nowrap="nowrap"
                            align="RIGHT">CC: </th>
                          <td class="">Miguel Angel Taylor López <a
                              class="moz-txt-link-rfc2396E"
                              href="mailto:miguel.taylor@ridgerun.com"
                              moz-do-not-send="true"><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" class="" width="1"
                      height="1"> </div>
                </div>
                _______________________________________________<br
                  class="">
                gstreamer-devel mailing list<br class="">
                <a href="mailto:gstreamer-devel@lists.freedesktop.org"
                  class="" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a><br
                  class="">
                <a class="moz-txt-link-freetext"
                  href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
                  moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div>
            </blockquote>
          </div>
          <br class="">
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
    </blockquote>
  </body>
</html>