Function gstreamer::debug_bin_to_dot_file
source · [−]pub fn debug_bin_to_dot_file(
bin: &impl IsA<Bin>,
details: DebugGraphDetails,
file_name: impl AsRef<Path>
)
Expand description
To aid debugging applications one can use this method to write out the whole network of gstreamer elements that form the pipeline into a dot file. This file can be processed with graphviz to get an image.
⚠️ The following code is in shell ⚠️
dot -Tpng -oimage.png graph_lowlevel.dot
bin
the top-level pipeline that should be analyzed
details
type of DebugGraphDetails
to use
file_name
output base filename (e.g. “myplayer”)