<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">Le 2014-09-15 07:56, Mayank Agarwal a
      écrit :<br>
    </div>
    <blockquote
cite="mid:CAKjpqyKFPbq4wOjUTjbM4z5_xkxC-WFvL5=cbaK1Ysiej12qVw@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

Suppose gstreamer is running on any device and a/v is playing.
How to know which all elements are used in the gstreamer pipeline
which is playing audio/video.
gst-inspect shows the no of all elements in gst registry
Is there any command that tell the no and name of elements that
are actively being used in gstreamer pipeline which is getting played
on the device.</pre>
    </blockquote>
    One of the technique is to dump the graph in the form of a dot file
    (graphiz). If you are using your own program, you need to call
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    GST_DEBUG_BIN_TO_DOT_FILE() (or _WITH_TS() version if you want the
    file to have timestamp). If you using gst-launch-1.0 this is already
    handled for you. Then to enabled the dumps, you need to set
    GST_DEBUG_DUMP_DOT_DIR= to the path where you want the files to be
    created.<br>
    <br>
    This will give you dot file that you can compile into SVG or PNG:<br>
    <br>
    dot -Tsvg my.dot > my.svg<br>
    dot -Tpng my.dot > my.png<br>
    <br>
    cheers,<br>
    Nicolas<br>
    <br>
  </body>
</html>