Jump to content

Buffer tracer

From RidgeRun Developer Wiki

Follow us on: YouTube Twitter LinkedIn Email Share this page

Share This Page




Previous: Queue Level tracer Index Next: Results




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


Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help .

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.


Previous: Queue Level tracer Index Next: Results


Cookies help us deliver our services. By using our services, you agree to our use of cookies.