Quick and dirty example showing how to do dynamic inspection of GStreamer-based applications by using Frida.
$ sudo easy_install frida
Open one terminal with:
$ gst-launch-1.0 videotestsrc is-live=true ! glimagesink
Then in another do:
$ python dynspect.py gst-launch-1.0
Note that on Linux you might need to relax the kernel's ptrace policy:
$ sudo sysctl kernel.yama.ptrace_scope=0
- Provide more than just "pts vs running_time"
- Handle applications with multiple pipelines
- Adapt structure offsets based on architecture (currently assuming x86-64)