7 unstable releases (3 breaking)
0.4.0 | Apr 6, 2023 |
---|---|
0.3.0 | Dec 2, 2022 |
0.2.0 | Dec 3, 2021 |
0.1.3 | Jun 9, 2020 |
0.1.0 | Jun 18, 2019 |
#59 in #gstreamer
64 downloads per month
Used in gst-log-diff
23KB
470 lines
gst-log-parser 
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 intarget/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
~13MB
~280K SLoC