GstShark - Buffer tracer
Open-source project from Ridgerun. |
| GstShark |
|---|
| Getting Started |
| Generating trace files |
| Tracer Parameters |
| Available Tracers |
| Results |
| Visualization Tools |
| Examples |
| Contact Us |
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.