fmttracing
This tracer uses the tracing_subscriber::fmt subscriber to format
tracing events. This provides human-readable output on stdout.
Example:
$ RUST_LOG=debug GST_TRACERS='fmttracing(log-level=4)' gst-launch-1.0 videotestsrc num-buffers=10 ! fakesink
Parameters
log-level
GStreamer log level to integrate (same format as GST_DEBUG).
format
Output format: full (default), compact, pretty, or json.
with-time
Whether to include timestamps in the output (default: true).
with-target
Whether to include the target in the output (default: true).
with-ansi
Whether to include ANSI color codes in the output (default: true).
Span lifecycle is always logged: a line is printed when a span opens (with its field values) and another when it closes (with its duration), so custom spans emitted via gst_trace_span_begin/gst_trace_span_end are visible.
Named constants
Fmt-tracer-format
Members
full (0) – Full: Complete event information
compact (1) – Compact: Single-line output
pretty (2) – Pretty: Visual indentation
json (3) – JSON: Machine-readable output
GstFmtTracer
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstTracer ╰──GstRsTracingTracer ╰──GstFmtTracer
Properties
format
“format” Fmt-tracer-format *
Output format
Flags : Read / Write / Construct
Default value : full (0)
with-ansi
“with-ansi” gboolean
Include ANSI color codes
Flags : Read / Write / Construct
Default value : true
with-target
“with-target” gboolean
Include the target
Flags : Read / Write / Construct
Default value : true
with-time
“with-time” gboolean
Include timestamps
Flags : Read / Write / Construct
Default value : true
The results of the search are