8 releases
0.4.1 | Feb 9, 2024 |
---|---|
0.4.0 | Apr 6, 2023 |
0.3.0 | Dec 2, 2022 |
0.2.0 | Dec 3, 2021 |
0.1.0 | Jun 18, 2019 |
#538 in Video
68 downloads per month
Used in gst-log-diff
25KB
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
~262K SLoC