#multimedia #gstreamer #tools

app gst-log-diff

Command-line utility to compare GStreamer log files

3 releases

✓ Uses Rust 2018 edition

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

#70 in Multimedia

Download history 51/week @ 2019-09-18 12/week @ 2019-09-25 9/week @ 2019-10-02 12/week @ 2019-10-16 47/week @ 2019-10-23 6/week @ 2019-10-30 5/week @ 2019-11-06 4/week @ 2019-11-13 5/week @ 2019-11-20 10/week @ 2019-11-27 3/week @ 2019-12-04 47/week @ 2019-12-11 2/week @ 2019-12-18 3/week @ 2019-12-25

52 downloads per month

MIT license

6KB
72 lines

gst-log-diff

Usage:

gst-log-diff 0.1.0
Philippe Normand <philn@igalia.com>
Print the difference between two GStreamer log files

USAGE:
  gst-log-diff [OPTIONS] <input1> <input2>

FLAGS:
  -h, --help       Prints help information
  -V, --version    Prints version information

OPTIONS:
  -c, --category <category>    Filter on given category. A regular expression can be provided

ARGS:
  <input1>    Input file1
  <input2>    Input file2

Example output:

$ cargo run --release -- -c "webkit" ~/WebKit/gst-good.log ~/WebKit/gst-bad.log
00:00:00.376249666 => -Message state-changed received from element wavparse0
00:00:00.351766965 => +Source element set-up for source
00:00:00.426176007 => -Cached duration: {-1/1 = NaN}
00:00:00.429461918 => +Cached duration: {0/1 = Infinity}
00:00:00.427558570 => -Message state-changed received from element aconv
00:00:00.429752700 => +Cached duration: {0/1 = Infinity}
00:00:00.427590129 => -Message state-changed received from element aqueue
00:00:00.429770139 => +Cached duration: {0/1 = Infinity}
00:00:00.427616005 => -Message state-changed received from element scaletempo0
00:00:00.429915889 => +Cached duration: {0/1 = Infinity}
00:00:00.427641245 => -Message state-changed received from element filter-convert
00:00:00.430046067 => +Cached duration: {0/1 = Infinity}
00:00:00.427666181 => -Message state-changed received from element abin
00:00:00.430063950 => +Cached duration: {0/1 = Infinity}

Dependencies

~8MB
~174K SLoC