GstShark - Buffer tracer: Difference between revisions

From RidgeRun Developer Wiki
(Created page with "{{GstShark Tracer |prev=Queue Level tracer |next=Results |name=Buffer |description= |pipeline= |graph= }}")
 
No edit summary
Line 3: Line 3:
|next=[[GstShark - Results|Results]]
|next=[[GstShark - Results|Results]]
|name=Buffer
|name=Buffer
|description=
|description=The Buffer tracer prints out information about each buffer that goes out of a source pad of an element.
|pipeline=
|pipeline=
|graph=
The following pipeline demonstrates the use of the buffer tracer and the results obtained.
 
<syntaxhighlight lang=bash>
GST_DEBUG="GST_TRACER:7" GST_TRACERS="buffer" gst-launch-1.0 videotestsrc ! fakesink sync=true
</syntaxhighlight>
|output=
<font size=1>
<pre>0:00:01.885628787 29682      0x2220630 TRACE            GST_TRACER :0:: buffer, pad=(string)videotestsrc0:src, pts=(string)0:00:01.900000000, dts=(string)0:00:01.900000000, duration=(string)0:00:00.033333333, offset=(guint64)57, offset_end=(guint64)58, size=(guint64)115200, flags=(string)0, refcount=(uint)1;
0:00:01.918977957 29682      0x2220630 TRACE            GST_TRACER :0:: buffer, pad=(string)videotestsrc0:src, pts=(string)0:00:01.933333333, dts=(string)0:00:01.933333333, duration=(string)0:00:00.033333333, offset=(guint64)58, offset_end=(guint64)59, size=(guint64)115200, flags=(string)0, refcount=(uint)1;</pre></font>
 
Each output log line includes several fields with information about each buffer that goes out of a source pad of an element. Data includes {{code|pts}}, {{code|dts}}, {{code|duration}}, {{code|offset}}, {{code|offset_end}}, {{code|size}}, {{code|flags}} and {{code|refcount}}.
}}
}}

Revision as of 23:50, 18 August 2017


Queue Level tracer

Home

Results

The Buffer tracer prints out information about each buffer that goes out of a source pad of an element.

Pipeline

The following pipeline demonstrates the use of the buffer tracer and the results obtained.

GST_DEBUG="GST_TRACER:7" GST_TRACERS="buffer" gst-launch-1.0 videotestsrc ! fakesink sync=true


Output

0:00:01.885628787 29682      0x2220630 TRACE             GST_TRACER :0:: buffer, pad=(string)videotestsrc0:src, pts=(string)0:00:01.900000000, dts=(string)0:00:01.900000000, duration=(string)0:00:00.033333333, offset=(guint64)57, offset_end=(guint64)58, size=(guint64)115200, flags=(string)0, refcount=(uint)1;
0:00:01.918977957 29682      0x2220630 TRACE             GST_TRACER :0:: buffer, pad=(string)videotestsrc0:src, pts=(string)0:00:01.933333333, dts=(string)0:00:01.933333333, duration=(string)0:00:00.033333333, offset=(guint64)58, offset_end=(guint64)59, size=(guint64)115200, flags=(string)0, refcount=(uint)1;

Each output log line includes several fields with information about each buffer that goes out of a source pad of an element. Data includes pts, dts, duration, offset, offset_end, size, flags and refcount.


Queue Level tracer

Home

Results