Skip to content

oleavr/gst-dynspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

gst-dynspect

Quick and dirty example showing how to do dynamic inspection of GStreamer-based applications by using Frida.

Prerequisites

$ sudo easy_install frida

Usage

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

TODO

  • Provide more than just "pts vs running_time"
  • Handle applications with multiple pipelines
  • Adapt structure offsets based on architecture (currently assuming x86-64)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published