#gstreamer #multimedia

gst-log-parser

Crate providing a convenient API to parse GStreamer logs

3 releases

✓ Uses Rust 2018 edition

0.1.2 Aug 8, 2019
0.1.1 Jul 16, 2019
0.1.0 Jun 18, 2019

#61 in Multimedia

25 downloads per month
Used in 1 crate

MIT/Apache

19KB
473 lines

gst-log-parser Build Status

Simple Rust library to parse GStreamer logs.

See the examples demonstrating how to use it.

Quick start

  • Install Rust if needed
  • cargo build --release
  • Parsing tools can be executed using cargo run --release --example and are also available in target/release/examples/

Tools

examples contains a few log parsers. They can be used as examples demonstrating how to use this crate but also should be useful when debugging specific issues.

flow

This is a buffer flow analyzer consuming logs generated with GST_DEBUG="GST_TRACER:7" GST_TRACERS=stats. It can be used to:

  • detect decreasing pts/dts
  • detect gap (long period of time without buffers being produced by a pad)
  • plot the pts/dts of produced buffers over time

Dependencies

~4.5MB
~120K SLoC